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 31590] - Problem deploying a WAR with a META-INF/context.xml file
Date Fri, 08 Oct 2004 07:12:02 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=31590>.
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=31590

Problem deploying a WAR with a META-INF/context.xml file

remm@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From remm@apache.org  2004-10-08 07:12 -------
Ok, it's simple. To avoid having duplicate information about the same thing, the
path value is aquired from the .war name (= the deployment name). So other
places where a "path" attribute would have been specified are now ignored (I was
considering printing out a message of some sort). Similarly, the docBase
attribute is only used if referring to a docBase outside of the host's appBase
(which is "webapps" here), so you also don't need it.

The exception where the "path" attribute is used is when you define the Context
in server.xml. In this case, however, the docBase should not be in the host
appBase unless it matches the path name (otherwise -> double deployment).

So, sorry, it's INVALID since I did it on purpose.

Note: In 5.0.x, I think the path manipulation you did might have led to your
webapp being deployed twice (you might want to check with the manager or
something like it).

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