tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: dynamic class loading problem in 4.1.24
Date Thu, 15 May 2003 12:55:59 GMT

How about putting them both in WEB-INF/lib?  And maybe dropping your
JarClassLoader approach and letting the container handle classloading
for you?

Yoav Shapira
Millennium ChemInformatics

>-----Original Message-----
>From: Matt Koss []
>Sent: Thursday, May 15, 2003 7:49 AM
>Subject: dynamic class loading problem in 4.1.24
>I am trying to upgrade from tomcat 4.0.6 to 4.1.24
>Suddenly I experience problem with a classloader behaviour.
>My web application uses a library A.jar and in runtime loads class from
>file plugin.jar.
>With 4.0.x I put the file A.jar into common/lib directory and
>worked ok. Servlet class from A.jar was loaded at the beginning and
>plugin.jar was dynamically loaded.
>With 4.1.24 the classes from A.jar are not visible when loading
>( I
>am using JarClassLoader class) and I have to put A.jar into the central
>"jre/lib/ext" directory.
>This is somehow not acceptable, but I would really like to stick with
>Any advice ?
>Matt Koss
>Knowledge Media Institute
>Open University
>tel: +44 1908 659399
>To unsubscribe, e-mail:
>For additional commands, e-mail:

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message