Hello,
I am trying to Hot Deploy a webapp to Tomcat using ant and the tomcat manager tasks.
<target name="install" description="Install application in Tomcat" depends="deploywar">
<install url="${tomcat.manager.url}"
username="${tomcat.username}"
password="${tomcat.password}"
path="/"
war="file://${build.dir}/${warname}"/>
</target>
The error I am getting is:
"Cannot Access document base directory ./build/webapp.war" I have tried copying the WAR manually and deploying (Using install) via the manager app and it works fine. I have also tried copying the WAR to the webapp folder and referencing it from there rather than the war in the build directory and it still don't work
Any help would be greatly appreciated
TIA
CT
I am trying to Hot Deploy a webapp to Tomcat using ant and the tomcat manager tasks.
<target name="install" description="Install application in Tomcat" depends="deploywar">
<install url="${tomcat.manager.url}"
username="${tomcat.username}"
password="${tomcat.password}"
path="/"
war="file://${build.dir}/${warname}"/>
</target>
The error I am getting is:
"Cannot Access document base directory ./build/webapp.war" I have tried copying the WAR manually and deploying (Using install) via the manager app and it works fine. I have also tried copying the WAR to the webapp folder and referencing it from there rather than the war in the build directory and it still don't work
Any help would be greatly appreciated
TIA
CT