|
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 >
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.