Isn't it possible to simply make the class loader reload all the jars in its
classpath?

It is possible to replace the main webapp class loader at runtime?
 

-----Original Message-----
From: Vasilis Katsoulis [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 23, 2006 5:24 PM
To: Tomcat Users List
Subject: Re: Refreshing tomcat webapp class loader

If you are replacing jars, you should trigger a reload of the whole web-app.
You can easily do this by redeploying its war file containing the new 
jars,  or do a unix "touch" of its context file, or reload it from the 
manager.

vasilis


asaf.lahav wrote:
> Is it possible to refresh a webapp class loader?
>
> I have a process in which jars may be replaced or added to a webapp class
> path.
>
> How can I cause the tomcat to be aware of those changes?
>
>  
>
> Thanks in advance,
>
> Asaf
>
>
>   

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


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

Reply via email to