tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <>
Subject Re: deployment problem with multiple JAR FILE containg same utility classes
Date Wed, 30 Apr 2008 08:42:33 GMT
Philippe Couas wrote:
> I use many Jar files containing servlets project. Some of theses Jar using
> same utility classe.
> If i modify my utillity class and adding method, this new method is not
> showing by tomcat if i don't locate it into fist alphabetic JAR File .
> Could i force tomcat to use only Jar file containg my Main servlet class ?

You can't. You are asking for all sorts of class loader pain. Separate out 
your utility classes into a separate jar so you only ever have one 
definition of a class visible to a class loader.


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message