Which ant task do you use to deploy/undeploy wars? What is the url in task?



-----Original Message-----
From: Andy Kriger [mailto:[EMAIL PROTECTED] 
Sent: January 18, 2005 5:01 PM
To: tomcat-user@jakarta.apache.org
Subject: undeploy/deploy problem


I am running Tomcat 5.5.x on Solaris 9.x with Java 1.4.x

I use an Ant script to deploy my WAR file to Tomcat - it builds a WAR,
undeploys the existing webapp, and deploys the WAR. Usually this works fine.
However, often enough to big a major annoyance, it doesn't work
- the webapp undeploys (according to the Ant output) but the WAR cannot
deploy because the directories have not been deleted. Sometimes, I can fix
this by manually deleteing the webapps/webapp,
conf/Catalina/localhost/webapp.xml and work/Catalina/localhost/webapp
directories, sometimes I cannot (if I refresh the manager list, sometimes
the webapp disappears, sometimes not). When that doesn't work, I have to
restart Tomcat.

Does anyone have any ideas what might be going on here and how I might track
down the problem?

thx
andy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


!DSPAM:41ed871b131671657397070!

Reply via email to