Hi,
i got the follow exception when using this code.
<taskdef name="install" classname="
org.apache.catalina.ant.InstallTask" >
<classpath refid="catalina-ant-classpath"/>
</taskdef>
<taskdef name="remove" classname="
org.apache.catalina.ant.RemoveTask">
<classpath refid="catalina-ant-classpath"/>
</taskdef>
<target name="install" description="Install application in Tomcat">
<install url="${tomcat.manager.url}"
username="${tomcat.manager.username}"
password="${tomcat.manager.password}"
path="/${warname}"
war="${basedir}\${dist}\${warname}.war"/>
</target>
<target name="remove" description="Remove application in Tomcat">
<remove url="${tomcat.manager.url}" taskname="remove"
username="${tomcat.manager.username}"
password="${tomcat.manager.password}"
path="/${warname}"/>
</target>
every thing is running fine in above code.
when i am removing the application using remove target it runs fine but
when again when i need to install back to server it throwing exception.
FAIL - Encountered exception
javax.management.RuntimeOperationsException:
Exception invoking method check
plz give me solution.
--
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)