You mean like this <Context reloadable="true">
in tomcat/conf/context.xml Seems to have had no effect. --- On Tue, 5/19/09, Anurag Kapur <[email protected]> wrote: > From: Anurag Kapur <[email protected]> > Subject: Re: How to hot swap classes? > To: "Tomcat Users List" <[email protected]> > Cc: "Tom Cat" <[email protected]> > Date: Tuesday, May 19, 2009, 12:36 PM > Refer : http://tomcat.apache.org/tomcat-5.5-doc/config/context.html > > reloadable > > 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<http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html>web > application, however, to trigger reloads of deployed > applications on > demand. > Regards > Anurag > > ------------------------------------------------------------------ > Anurag Kapur > Associate - Technology, > Sapient Corporation. > > +44 (0) 7514 996 586 > > http://www.linkedin.com/in/anuragkapur > ------------------------------------------------------------------ > Sent from London, Eng, United Kingdom > > On Tue, May 19, 2009 at 5:28 PM, Dola Woolfe <[email protected]> > wrote: > > > > > Hi, > > > > When developing a web application I change my classes > all the time and > > therefore need to restart tomcat every time. Is there > a way to avoid > > restarting tomcat? Could it hot swap the new class > in? > > > > (It does somehow hot swap recompiled .jsp's doesn't > it?) > > > > Many thanks in advance, > > > > Dola > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
