My apologies - worked as advertised!

The only thing I noticed is that it restarts the webapp right away - and all of 
the webapps that depend on the class.

Is there way to make the webapp restart only when a page is requested and only 
the webapp that's being used?



Thanks again!




--- On Tue, 5/19/09, Dola Woolfe <dolac...@yahoo.com> wrote:

> From: Dola Woolfe <dolac...@yahoo.com>
> Subject: Re: How to hot swap classes?
> To: "Tomcat Users List" <users@tomcat.apache.org>
> Date: Tuesday, May 19, 2009, 12:51 PM
> 
> 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 <anuragka...@gmail.com>
> wrote:
> 
> > From: Anurag Kapur <anuragka...@gmail.com>
> > Subject: Re: How to hot swap classes?
> > To: "Tomcat Users List" <users@tomcat.apache.org>
> > Cc: "Tom Cat" <tomcat-u...@jakarta.apache.org>
> > 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 <dolac...@yahoo.com>
> > 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: users-unsubscr...@tomcat.apache.org
> > > For additional commands, e-mail: users-h...@tomcat.apache.org
> > >
> > >
> > 
> 
> 
>       
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to