You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by manjunath <ha...@yahoo.com> on 2003/06/19 08:11:00 UTC
Updating environmental/application variable
Hi..
Sub: Updating environmental/application variable without restarting servlet engine
i want to change my webapp environment data/variable (like session time out or maxInactiveInterval ) dynamically, means without restarting the web server i want to update the envirinment settings and servlet init parameter in web.xml. Is there any way to dynamically edit web.xml without restarting servlet engine.
Or is ther any other best way to achieve this other than using web.xml, like setting
some application scope variable for perticular webapp ?
thanks in advance
-MVB
---------------------------------
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
Re: Updating environmental/application variable
Posted by Tim Funk <fu...@joedog.org>.
You can edit web.xml. Then stop and start the webapp via the manager application.
For server.xml based values - this can be done via the admin app. (In tomcat5
- this can also be "easily" done with jmx)
-Tim
manjunath wrote:
> Hi..
>
> Sub: Updating environmental/application variable without restarting servlet engine
>
> i want to change my webapp environment data/variable (like session time out or maxInactiveInterval ) dynamically, means without restarting the web server i want to update the envirinment settings and servlet init parameter in web.xml. Is there any way to dynamically edit web.xml without restarting servlet engine.
>
> Or is ther any other best way to achieve this other than using web.xml, like setting
> some application scope variable for perticular webapp ?
>
> thanks in advance
>
> -MVB
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org