This is fixed in 2.1, haven’t tried 2.0.2.

 

Regards

 

JB

 


From: Jean-Baptiste [mailto:Jean-Baptiste.Laplace@montrealboutique.com]
Sent: March 31, 2008 9:59 PM
To: 'user@geronimo.apache.org'
Subject: Classloader issue

 

Hello,

 

I have decided to <upgrade> from a good old plain Web Container (Tomcat) to Geronimo and I’m having issues with the way the classloader for my WebApp loads the classes…

Under Tomcat the classloader would look for classes in this order (resource: http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html)

Now with Geronimo 2.0.1 (the version I use, have not tried another version) and Tomcat (6.0) it seems that this order is NOT respected. The classes defined in my *.jar in under WEB-INF/lib always takes precedence over the ones in WEB-INF/classes

 

I have created a simple WAR file with one jar under WEB-INF/lib that contains a class. I then defined the same class under WEB-INF/classes and I can see that it is always the class defined into the jar that is used at run time.

 

Is this a normal behavior for Tomcat under Geronimo? Am I doing something wrong ?

 

Regards,

 

Jean-Baptiste


No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.1/1350 - Release Date: 30/03/2008 12:32 PM


No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.2/1353 - Release Date: 31/03/2008 6:21 PM