You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Laurie Harper <la...@holoweb.net> on 2005/11/13 02:32:19 UTC
Re: Runtime debugging - and Painfull Tomcat restarts
Mon Cab wrote:
> Is there any way to avoid having to restart Tomcat
> every time a class is recompiled in a webapp. I am
> debugging a webapp at the moment, and everytime I
> recompile my Action class I am having to wait 1 minute
> for Tomcat to restart.
You can tell Tomcat to make the context reloadable. It'll automatically
redeploy your application whenever it sees a class get updated. That
should be faster than shutting down and restarting the entire container.
See the Tomcat documentation [1] for details -- specifically, the
'reloadable' attribute of the context configuration.
L.
[1] http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org