|
Double click on your test server in the servers view, and I think its the environment tab (sorry, doing this from memory!), where you can add jars to the classpath. The way to check it has worked is to look at the log when the webserver starts, which should show all the classes on the websphere classpath. cheers Colin.W On 18/05/06, Ewout N Boter <ewout.boter@xxxxxxxxxx> wrote:
Colin, How do I add jt400.jar to the classpath of the server? (I use WDSCi as my development tool.) Ewout ---------------------------------------------------------------------- message: 1 date: Wed, 17 May 2006 15:09:02 +0200 from: "Colin Williams" <colinwilliams007@xxxxxxxxx> subject: Re: [WEB400] Fw: Error "package com.ibm.as400.access does not exist" Ewout, what you have done there is included jt400.jar with your application, which works, but you may not want to redeploy that for ever application you run. The other option is to add it to the classpath of the server, so its available for all your applications, without needing to be included On 17/05/06, Ewout N Boter <ewout.boter@xxxxxxxxxx> wrote: > > It seems I have found the answer to my own question... > > Initially, in the 'definition' for jt400.jar, I had selected the jt400.jar > in a subsubsubdirectory of the WDSC installation directory. Now, when I > was comparing the Properties of my current project with the Properties of > a Webfacing project, I noticed that it contained a copy of jt400.jar in a > subdirectory of the WebContent directory. Having noticed this, I copied > jt400.jar to the same subdirectory of my current project, and I changed > the 'definition' for jt400.jar in 'JARs and class folders on the build > path'. I then tried to run Messages.jsp on the server, and this time the > page GetMessages.jsp was displayed correctly, with the text 'Connection > established'. > > Sorry for the inconvenience. > > Ewout > -- This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/web400 or email: WEB400-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/web400.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.