> From: Jon Pearson [mailto:jon.pear...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to