You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ben Stover <bx...@yahoo.co.uk> on 2008/04/19 13:42:02 UTC

Activate immediately changes in server.xml and tomcat-users.xml? How to refresh?

Assume Tomcat is currently running.
Now I change some entries in the server.xml or tomcat-users.xml
As far as I can see these entries are not immediately active.

How can I tell Tomcat to refresh his config information (=re-read the config files)?

Is there a way without full shutdown + restart?

Ben







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


RE: Activate immediately changes in server.xml and tomcat-users.xml? How to refresh?

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Ben Stover [mailto:bxstover@yahoo.co.uk] 
> Subject: Activate immediately changes in server.xml and 
> tomcat-users.xml? How to refresh?
> 
> How can I tell Tomcat to refresh his config information 
> (=re-read the config files)?

The only straightforward way is via restart, unfortunately, at least in
Tomcat 6.  Tomcat 5.5 and older had the admin app which could be used to
make run-time config changes, but (as I understand) it had several
internal deficiencies and was never updated for version 6.

Theoretically, it should be possible to make config changes via JMX in
Tomcat 6, but I don't know if anyone's done it yet.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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