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

context.xml in war appears to require a docBase





------- Additional Comments From [EMAIL PROTECTED]  2004-05-26 17:03 -------
Tomcat not only can, but does deduce the docBase. Anything that I deploy with 
the manager app has a docBase in the Catalina/localhost/blah.xml file. If I 
drop a war into the webapps directory that doesn't have a context.xml file set 
it a docBase automatically set for it too.

If docBase is not optional then the bug is that the manager app lets me deploy 
a war file without the docBase set. This should fail and does not.

I'm not sure how this make sense though. When I deploy using the manager app is 
the docBase used to determine where to upload the war file to on the server? If 
not how would one deal with a docBase that doesn't match the location of where 
Tomcat decides to put the upload.

Putting a relative path in there doesn't make sense to me either. If I put 
foo.war for the docBase in foo.war I can't just rename the war file and deploy 
it to another context - which would have been possible if I had not put a 
context.xml file in the war file.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to