tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Classloaders
Date Tue, 26 May 2009 21:29:59 GMT
> From: Jon Pearson [mailto:Jon.Pearson@sixnet.com]
> Subject: RE: Classloaders
> 
> This is confounding because an ancestor classloader of my
> URLClassLoader that made the classes in my plugin JAR 
> available should have access to org.postgresql.Driver.
> In fact, one of them *must* because when the classes in
> my plugin JAR are placed into WEB-INF/classes in their raw
> .class state (not packaged into a jar), everything works.

Is there any possibility that the class of interest is in two places?  When you put the jar
into WEB-INF/lib, do you remove it from WEB-INF/classes?

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus
for use only by the intended recipient. If you received this in error, please contact the
sender and delete the e-mail and its attachments from all computers.


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


Mime
View raw message