tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johnny Kewl" <j...@kewlstuff.co.za>
Subject Re: deployment problem with multiple JAR FILE containg same utility classes
Date Wed, 30 Apr 2008 08:49:45 GMT

---------------------------------------------------------------------------
HARBOR: http://coolharbor.100free.com/index.htm
The most powerful application server on earth.
The only real POJO Application Server.
Making the Java dream come true.
---------------------------------------------------------------------------
----- Original Message ----- 
From: "Philippe Couas" <pcouas@infodev.fr>
To: <tomcat-user@jakarta.apache.org>
Sent: Wednesday, April 30, 2008 9:42 AM
Subject: deployment problem with multiple JAR FILE containg same utility 
classes


> Hi,
>
>
> 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 ?

Hi philippe,
When I read this question, I cant help feeling there is a conceptual issue 
somewhere.
It is possible to pack servlets into libs and use them in TC, and the 
web.xml in the main project will govern all the servlets?
Its possible to make TC reload libs, but its better to use late binding, ie 
once TC has loaded libs and is running, replacing the jar
will not change the TC's existing lib, which is actually just the way java 
itself works?

I think you'd be better off describing to the guys, "why" you doing what you 
doing... and then let the gurus tell you how they would do it.
There are many ways in TC, but some ways are just not right ;)

Soon as you say deploy Jars... not Wars, that raises issues, if you mean 
wars and you just need one to start before the other
that is also possible from the XML setting... please explain more?


> Regards
> Philippe
>
>
>
> 


---------------------------------------------------------------------
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