Jamie- yes there is a way if you register SimpletonAgent in the registry as a Managed Bean http://java.sun.com/developer/technicalArticles/J2SE/jmx.html
perhaps if you have a simple test webapp we could suggest a test harness? Martin- ----- Original Message ----- From: "jamieb" <[EMAIL PROTECTED]> To: <users@tomcat.apache.org> Sent: Saturday, March 15, 2008 2:21 AM Subject: API call to reload Tomcat web application > > Hi there > > I am busy implementing an auto update facility for a Tomcat web application. > As part of the auto update process, the auto update code needs to unpack the > changed class files and reload the Tomcat web application. > > I am aware that you can configure Tomcat to automatically reload the web > application when class files are changed. I've decided against the use of > this functionality for fear of unscheduled service disruption. > > My question: Is recommended way for a web application to apply an update to > itself and restart itself? Is there an API call to reload the current Tomcat > web application from within that application? > > Much appreciate > > Jamie > > > -- > View this message in context: http://www.nabble.com/API-call-to-reload-Tomcat-web-application-tp16065357p1 6065357.html > Sent from the Tomcat - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]