tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
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.

Mark


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


Mime
View raw message