Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 57383 invoked by uid 500); 9 May 2001 19:10:12 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: tomcat-dev@jakarta.apache.org Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 57336 invoked from network); 9 May 2001 19:10:08 -0000 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C0D8BB.AD0F33B4" Subject: RE: FW: Any known issues with Tomcat 3.2.1 and class loading ? X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0 Date: Wed, 9 May 2001 15:10:14 -0400 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: FW: Any known issues with Tomcat 3.2.1 and class loading ? Thread-Index: AcDYuK09TZpYjKyTRsGCFcCNHAEZjgAAiNjQ From: "Hawkins, Keith (Keith)" To: X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N This is a multi-part message in MIME format. ------_=_NextPart_001_01C0D8BB.AD0F33B4 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable No, they are not .zip files. They are .jar files. Specifically jndi.jar, ldap.jar and providerutil.jar, which are provided by Sun for accessing LDAP databases via JNDI. I was able to get the Tomcat to load these classes but only by editing the wrapper.class_path property in the wrapper.properties config file. But I was under the impression that simply putting the Sun jar files in the WEB-INF/lib directory along with my servlet.jar file would be sufficient and eliminate the need to edit wrapper.properties. Am I off base here? Is there some limitation to having more than one jar file in WEB-INF/lib? -Keith -----Original Message----- From: Kellie Miller [mailto:Kellie.Miller@boeing.com] Sent: Wednesday, May 09, 2001 2:15 PM To: tomcat-dev@jakarta.apache.org Subject: Re: FW: Any known issues with Tomcat 3.2.1 and class loading ? I have had some success with renaming .zip files .jar (your mileage may vary). cheers, Kellie >-----Original Message----- >From: Wildeboer, Tonnis [mailto:twildebo@Covad.COM] >Sent: Wednesday, May 09, 2001 12:05 PM >To: 'tomcat-dev@jakarta.apache.org' >Subject: RE: Any known issues with Tomcat 3.2.1 and class loading ? > >If they are .zip files you'll have to add them to the CLASSPATH yourself. > >--Tonnis >-----Original Message----- >From: Hawkins, Keith (Keith) [mailto:kphawkins@avaya.com] >Sent: Wednesday, May 09, 2001 8:24 AM >To: tomcat-dev@jakarta.apache.org >Subject: Any known issues with Tomcat 3.2.1 and class loading ? > > >Dear Developers: > >Are there any known issues with class loading under Tomcat 3.2.1? > >My situation is that classes in jar files that reside in the WEB-INF/lib=20 >directory for my servlet fail to load when accessed under Tomcat. Yet the=20 >classes load fine when accessed via test programs that use the very same=20 >jar files and call the same servlet methods. > >Seems like Tomcat is not working as advertised with respect to=20 >automatically adding jar files from /WEB-INF/lib to the classpath. > >Can anyone confirm whether this is a known issue? > >Thanks, >Keith Kellie Miller, Advanced Computing Technologist Boeing PhantomWorks, Math & Computing Technology, Huntsville Center Email: Kellie.Miller@boeing.com Phone: 256-461-2604 Fax: 256-461-3239 Post: PO Box 240002, MC JW-75, Huntsville, AL 35824-6402 ------_=_NextPart_001_01C0D8BB.AD0F33B4 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: FW: Any known issues with Tomcat 3.2.1 and class loading = ?

No, they are not .zip files.  They are .jar = files.  Specifically
jndi.jar, ldap.jar and providerutil.jar, which are = provided by
Sun for accessing LDAP databases via = JNDI.    I was able to
get the Tomcat to load these classes but only by = editing the
wrapper.class_path property in the wrapper.properties = config file.
But I was under the impression that simply putting = the Sun jar
files in the WEB-INF/lib directory along with my = servlet.jar file
would be sufficient and eliminate the need to edit = wrapper.properties.

Am I off base here?  Is there some limitation to = having more than one
jar file in WEB-INF/lib?

-Keith



-----Original Message-----
From: Kellie Miller [mailto:Kellie.Miller@boeing.com<= /A>]
Sent: Wednesday, May 09, 2001 2:15 PM
To: tomcat-dev@jakarta.apache.org
Subject: Re: FW: Any known issues with Tomcat 3.2.1 = and class loading ?


I have had some success with renaming .zip files .jar = (your mileage may vary).

cheers,
Kellie
>-----Original Message-----
>From: Wildeboer, Tonnis [
mailto:twildebo@Covad.COM]
>Sent: Wednesday, May 09, 2001 12:05 PM
>To: 'tomcat-dev@jakarta.apache.org'
>Subject: RE: Any known issues with Tomcat 3.2.1 = and class loading ?
>
>If they are .zip files you'll have to add them to = the CLASSPATH yourself.
>
>--Tonnis
>-----Original Message-----
>From: Hawkins, Keith (Keith) [mailto:kphawkins@avaya.com]
>Sent: Wednesday, May 09, 2001 8:24 AM
>To: tomcat-dev@jakarta.apache.org
>Subject: Any known issues with Tomcat 3.2.1 and = class loading ?
>
>
>Dear Developers:
>
>Are there any known issues with class loading = under Tomcat 3.2.1?
>
>My situation is that classes in jar files that = reside in the WEB-INF/lib
>directory for my servlet fail to load when = accessed under Tomcat.  Yet the
>classes load fine when accessed via test programs = that use the very same
>jar files and call the same servlet = methods.
>
>Seems like Tomcat is not working as advertised = with respect to
>automatically adding jar files from  = <servletdir>/WEB-INF/lib to the classpath.
>
>Can anyone confirm whether this is a known = issue?
>
>Thanks,
>Keith

Kellie Miller, Advanced Computing Technologist
Boeing PhantomWorks, Math & Computing Technology, = Huntsville Center
Email: Kellie.Miller@boeing.com Phone: 256-461-2604 = Fax: 256-461-3239
Post: PO Box 240002, MC JW-75, Huntsville, AL = 35824-6402

------_=_NextPart_001_01C0D8BB.AD0F33B4--