Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

DeployTask (Ant) not working on Tomcat 5

843836Aug 20 2004 — edited Sep 10 2004
Hello

I've got a very strange behaviour of Tomcat. I put my war with the Ant task deploy to the server. I can see it arriving at the server, the WAR gets unpacked and in the next second it just disappears ...

I do not belive in magic, does anybody know why this is happening?

This is my task:
	<target name="deploy">
		<taskdef name="deploy" classname="org.apache.catalina.ant.DeployTask" />
		<deploy url="${tomcat.url}"
		        username="${username}"
		        password="${password}"
		        path="/${app.name}"
		        war="file:${deploy.home}/${app.name}.war"
		/>
	</target>
Greatful for any hints and help.

Regards
Tarik
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 8 2004
Added on Aug 20 2004
3 comments
199 views