Q: How do I restart just the Axis webapp using an Ant task?

A: For Tomcat, use the following:

<property name="catalina.home" value="C:\tomcat41"/>
<taskdef name="reload" classname="org.apache.catalina.ant.ReloadTask">
<classpath> 
  <pathelement location="${catalina.home}/server/lib/catalina-ant.jar"/> 
 </classpath> 
</taskdef>
<target name="reload">
   <reload url="http://localhost:8080/manager" username="admin" password='''''' path="/axis"/>
</target> 

FrontPage/Axis/Reload (last edited 2009-09-20 22:49:09 by localhost)