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

[EMAIL PROTECTED] changed:

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



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

Reply via email to