tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33959] New: - UndeployTask does not work
Date Fri, 11 Mar 2005 10:52:13 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33959>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33959

           Summary: UndeployTask does not work
           Product: Tomcat 5
           Version: 5.5.7
          Platform: HP
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: P2
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: oabidian@hotmail.com


The catalina-ant Undeploy task does not seem to work properly. If you deploy a 
web app., and then you try to undeploy and redeploy again, even though the 
undeploy succeeds (sais it undeployed) but the deploy fails because the web 
app is still found deployed at the path. If you do a "list" in between 
undeploy and deploy (before and after undeploy) you will see that the web app 
is still there efter undeploy. 
Here is the ant script to reproduce it:
	<target name="test">
		<undeploy 
			url="${url}" 
			path="${context.path}"
		  	username="${username}" 
			password="${password}" 
		/> 
		<deploy url="${url}"
			username="${username}"
			password="${password}"
			path="${context.path}"
			war="file:${war.file}"/>		/> 

	</target>
Pre-conditions for the test: deploy first the web app, and provide valid 
values for the ant variables (url,username, password, context.path, war.file)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message