Check out your context setting. Set the reloadable attribute to true.

http://tomcat.apache.org/tomcat-5.0-doc/config/context.html
"Set to true if you want Catalina to monitor classes in /WEB-INF/classes/ and 
/WEB-INF/lib for
changes, and automatically reload the web application if a change is detected. 
This feature is
very useful during application development, but it requires significant runtime 
overhead and is
not recommended for use on deployed production applications. That's why the 
default setting for
this attribute is false. You can use the Manager web application, however, to 
trigger reloads of
deployed applications on demand."

Just don't be too quick. You usually need about 5 seconds between saves for it 
catch the file
change. If you are too quick, it won't pick it up.

--- Mon Cab <[EMAIL PROTECTED]> 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.  
> 
> 
> 
>  
> 
> 
> 
>               
> __________________________________ 
> Yahoo! FareChase: Search multiple travel sites in one click.
> http://farechase.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 



                
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to