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=36847>.
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=36847

           Summary: ZipException when using "tag" in deploy ant task
           Product: Tomcat 5
           Version: 5.5.9
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: major
          Priority: P3
         Component: Webapps:Manager
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


Exactly similar to bug 34654, I have an identical ZipException when using the
tag attribute while deploying remotely using the ant <deploy> task. In bug
34654, comment 2, Yoav had mentioned something to the effect that he couldn't
reproduce it and neither could the OP. I don't think the OP in bug 34654 ever
mentioned that he couldn't reproduce it. I don't know why the OP never disputed
that assumption.

I can easily reproduce it by having a <deploy> ant task with a tag attribute
such as:

<deploy url="http://${host}:8080/manager";
        username="${tomcat.username}"
        password="${tomcat.password}"
        path="/${app.name}"
        update="true"
        tag="${tag.war}"
        war="file:${gen.dir}/war/${webapp.war}"/>

If I take out the tag attribute, the remote deploy works fine.

This is with tomcat 5.5.9, sun-jdk-1.5.0.03 on a Gentoo Linux machine.

What the OP of bug 34654 was referring to in bug 34654, comment 1 was the fact
that if you look inside the remote hosts' work/Catalina/localhost/manager
directory, you will find a fully intact war file with the properly named
directory (as per the tag). And indeed, the war file in that directory is
complete and does not have any defects and/or corruptions.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to