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 35035] New: - ant deploy with context subdirectories
Date Tue, 24 May 2005 05:46:39 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=35035>.
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=35035

           Summary: ant deploy with context subdirectories
           Product: Tomcat 5
           Version: 5.5.9
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: gernot.pfingstl@stmk.gv.at


It isn't possible to deploy a war with deploy ant task to a context path with
subdirectories (e.g. /a/b).
The only way, I have found, is to put the war manually to the server and use the
config attribute to add a context.xml like "a#b.xml".
But to use "path" and "war" attributes (optionally with a META-INF/context.xml
in the war) does not work.
Also:
Using a#b.war and path="/a/b" causes java.io.FileNotFoundException: webapps/a/b.war
Using a#b.war and path="/a#b" you get Deployed application at context path /a#b
but app does not use context.xml (no jndi resources were found)
Using without "path", you get "Must specify 'path' attribute"

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