You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Elankath, Tarun (Cognizant)" <ET...@blr.cognizant.com> on 2003/05/21 11:38:10 UTC

RE: server.xml reload - context xml's in webapps directory

As an addendum to this thread, I would like to know whether context xml's put in  TOMCAT_HOME/webapps (the appBase directory) are automatically reloaded when changed.

Would they require a re-start of the server or would a simply re-start of their associated web application suffice ?

Thanks,
Tarun

-----Original Message-----
From: mde [mailto:forward@mail.thesmithconnection.net]
Sent: Wednesday, May 21, 2003 6:50 AM
To: Tomcat Users List
Subject: RE: server.xml reload


Cool. So if I want server.xml to be re-read on the fly, I've got to make the
changes via the admin interface. I guess that's not too odious.

thanks, Tim.

-M

-----Original Message-----
From: Tim Funk [mailto:funkman@joedog.org]
Sent: Tuesday, May 20, 2003 9:01 PM
To: Tomcat Users List
Subject: Re: server.xml reload


Look at the admin app which comes with 4.1.24.

-Tim

mde wrote:
> Tim,
>   I'm completely unfamiliar with JMX: to take advantage of this ability to
> make changes on the fly, do I have to code something? Or is there a
> management interface? I am working on 4.1.24, although I just upgraded
today
> from 4.0.6.
>
> Thanks.
>
> -M
>
> -----Original Message-----
> From: Tim Funk [mailto:funkman@joedog.org]
> Sent: Tuesday, May 20, 2003 8:56 PM
> To: Tomcat Users List
> Subject: Re: server.xml reload
>
>
> Yes that is the case.
>
> In the case of webapps. They can be started and stopped on the fly.
>
> 4.1.24 and 5 do have JMX exposing most operations so changes can be made
on
> the fly to the tomcat server which were unable to  be done in the past.
>
> -Tim
>
> mde wrote:
>
>>All,
>>  The lists seem to indicate that server.xml changes, if made manually,
>>cannot be picked up on the fly....thus, the only way to get tomcat to
>>reflect changes made to server.xml is to stop/start tomcat.
>>  My question is: is this the case? Or is there a way to get tomcat to
>>reload server.xml? Specifically, I'm making manual changes to
>>context-specific database configurations (jndi). If I stop/start the
>
> webapp,
>
>>do these changes get picked up? Or just changes in the web.xml and the
>
> app's
>
>>classes?
>>
>>Thanks.
>>
>>-M
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org