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:[EMAIL PROTECTED]
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: [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]