Andreas, If your need is to restart a webapp, you can use ant to access the following URL (assuming you run the command on the same server than tomcat) :
here is the target in the build.xml file <target name="reload"> <get src ="http://{tomcatserver}:{port}/manager/html/stop?path/{webappname}" dest ="/dev/null" usetimestamp="true" username="{your user name}" password ="{your admin password}" ignoreerrors="true" /> <get src ="http://{tomcatserver}:{port}/manager/html/start?path/{webappname}" dest ="/dev/null" usetimestamp="true" username="{your user name}" password ="{your admin password}" ignoreerrors="true" /> </target> then run the script with : > ant reload That's the way we do that. Cyril ZEKSER Andreas Andersson Pour : Tomcat Users List <tomcat-user@jakarta.apache.org> <[EMAIL PROTECTED] cc : tart.se> Objet : start/stop-script from source dist 31/03/2005 13:27 Veuillez répondre à "Tomcat Users List" Is there a start/stop-script in the source distribution thats suitable to run from /etc/init.d on linux? Or is there a way to make one automatically? -- Andreas Andersson IT Dept. Travelstart Nordic [EMAIL PROTECTED] http://www.travelstart.se --------------------------------------------------------------------- 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]