Hey Neil, I believe you can also send a url string to the manager application which will cause the webapp to reload: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/manager-howto.html
jc On Fri, 25 Mar 2005 11:52:05 -0500, Neil Upfalow <[EMAIL PROTECTED]> wrote: > I thought Reloadable set to true will only work for JSPs? Will that > allow classes to be reloaded as well ? > What would trigger that? > I'm trying to produce an inhouse solution to keep a large number of > hosted linux server's tomcat web apps on the same code base. > I figured I had to find a way to programmatically make tomcat restart > the web app. No idea how yet, other than writing to web.xml to modify it > or looking into tomcat API . > > Any ideas? > > Sincerely, > Neil Upfalow > > > -----Original Message----- > From: Steve Lianoglou [mailto:[EMAIL PROTECTED] > Sent: Friday, March 25, 2005 11:43 AM > To: Tomcat Users List > Subject: Re: Tomcat rookie needs help updating project > > > However when I make a change to my project either by recompiling some > > of my Java source code or by modifying some of JSP and/or HTML files, > > how do I get Tomcat to "recognize" these changes ? If I run the > > command "ant reload" from the DOS command line, when I rerun my > > application I do not see my changes. What do I need to do to install > > project changes ? > > If you set reloadable="true" in your web-app context (see my previous > post), tomcat should also recognize any changes to the WEB-INF folder > and reload the webapp context automatically w/o taking down the whole > server. > > Or, if you don't set reloadable="true" .. just click "reload" for the > webapp in the tomcat manager app. > > hope that helps, > > -steve > > --------------------------------------------------------------------- > 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] > > -- ||||||||||||||||||||||||||||||||||||||||||||| Jon Cline Chief Product Evangelist Enthusiast, Inc www.enthusiastinc.com [EMAIL PROTECTED] 626.256.3505 ||||||||||||||||||||||||||||||||||||||||||||| *Need help? Email [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
