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 34057] New: - Deploy of war to context path like "/foo/bar" fails (but "/foo" works).
Date Thu, 17 Mar 2005 15:07:55 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=34057>.
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=34057

           Summary: Deploy of war to context path like "/foo/bar" fails (but
                    "/foo" works).
           Product: Tomcat 5
           Version: 5.5.7
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Webapps:Manager
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: hanafey@dna.es.dupont.com


>From the manager app:

Context Path (optional): /foo/bar
WAR or Directory URL: /tmp/bunk.war

fails with --
INFO: HTMLManager: install: Installing web application at '/foo/bar' from
'/tmp/bunk.war'
java.io.FileNotFoundException: /bus/deploy/productA.55/webapps/foo/bar.war (No
such file or directory)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
        at
org.apache.catalina.manager.ManagerServlet.copyInternal(ManagerServlet.java:1540)
        at org.apache.catalina.manager.ManagerServlet.copy(ManagerServlet.java:1505)
        at
org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:806)


This error is fixed by a "mkdir WEBAPPS_BASE/foo" before the deploy, but this
still does not end up deploying the app. The war file is placed in
"WEBAPPS_BASE/foo/bar.war", but it is not expanded, and it is not deployed. It
also is not deployed if tomcat is restarted.

The deploy only works if a single level path is specified. The same behaviour
happens with 5.5.8.

-- 
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