tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Koss <m.k...@open.ac.uk>
Subject Re: dynamic class loading problem in 4.1.24
Date Thu, 15 May 2003 14:00:50 GMT

Hello,

dropping JarClassLoader is not a best option at the moment.

Maybe I could pass the instance of Tomcat classloader as a parent to my 
JarClassLoader ?

Matt

On Thursday 15 May 2003 1:55 pm, you wrote:
> Howdy,
> 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 [mailto:m.koss@open.ac.uk]
>
> >Sent: Thursday, May 15, 2003 7:49 AM
> >To: tomcat-user@jakarta.apache.org
> >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
>
> the
>
> >file plugin.jar.
> >With 4.0.x I put the file A.jar into common/lib directory and
>
> everything
>
> >worked ok. Servlet class from A.jar was loaded at the beginning and
>
> then
>
> >plugin.jar was dynamically loaded.
> >
> >With 4.1.24 the classes from A.jar are not visible when loading
>
> plugin.jar
>
> >( 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
> >4.1.24.
> >
> >Any advice ?
> >
> >Thanks
> >
> >Matt
> >
> >--
> >Matt Koss
> >Knowledge Media Institute
> >Open University
> >tel: +44 1908 659399
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
> 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.

-- 
Matt Koss
Knowledge Media Institute
Open University
tel: +44 1908 659399



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message