Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: How to replace jar which was already loaded?

David Delbecq

2007-07-10

Replies:

http://tomcat.apache.org/tomcat-5.5-doc/config/context.html

--
reloadable  

Set to true if you want Catalina to monitor classes in /WEB-INF/classes/
and /WEB-INF/lib for changes, and automatically reload the web
application if a change is detected. This feature is very useful during
application development, but it requires significant runtime overhead
and is not recommended for use on deployed production applications.
That's why the default setting for this attribute is false. You can use
the Manager web application, however, to trigger reloads of deployed
applications on demand.
--
So all you have to do is ensure timestamps are updated in
WEB-INF/lib/worker.jar


En l'instant pr?cis du 10/07/07 02:18, santa T s'exprimait en ces termes:
> Hi
> I have a "worker.jar" in my webapp. User could upload a new "worker.jar"
> replacing it. And I don't want to restart the tomcat.
> How can I implement this?
>
> Thanks.
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.