tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yair Zohar <y...@ard.huji.ac.il>
Subject Re: Reloading shared classes
Date Thu, 01 Mar 2007 13:53:04 GMT
You are right,
I've just wanted to avoid multiple copies of the same classes. They are 
not really shared.
If the classes are shared, all the web applications should be restarted, 
because the change affect all of them.
Yair.

Peter Crowther wrote:
>> From: Yair Zohar [mailto:yair@ard.huji.ac.il] 
>> My web applications are using some shared class. I put them under 
>> $CATALINA_HOME/shared/classes.
>> The problem: When I make changes in the shared classes, 
>> restarting a web 
>> application by tomcat's manager is not enough for the changes to be 
>> reloaded. Only the tomcat server shutdown + start cause the 
>> changes to 
>> be reloaded.
>> How do I configure the web application or tomcat to reload the shared 
>> classes when restarting the web application?
>>     
>
> You can't.  To reload those classes, you'd have to reload the contents
> of the shared classloader - which you can't do without restarting all
> the other webapps.  Any other approach removes the need for the *shared*
> classes.
>
> Do the classes genuinely need to be shared between the webapps, or are
> you doing this to save space?
>
> 		- Peter
>
> ---------------------------------------------------------------------
> 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
>
>
>
>   

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