> From: Rob Hills [mailto:[EMAIL PROTECTED] 
> Subject: Missing application web.xml, using defaults only - 
> is this a Tomcat bug?
> 
> I finally worked out that if you have a context.xml with the 
> following contents:
>       <?xml version="1.0" encoding="UTF-8"?>
>       <Context reloadable="true" docbase="ROOT">
>           <!-- gratuitous comment -->
>       </Context>
> or
>       <?xml version="1.0" encoding="UTF-8"?>
>       <Context reloadable="true" docbase="ROOT">
>       </Context>
> Tomcat will fail to deploy the web application and will 
> display the "missing application web.xml" message in the 
> stderr log file.

Not sure if this is relevant, but the attribute is docBase, not docbase.
However, using docBase inside a <Context> element that itself is in
META-INF/context.xml inside a .war file has always been puzzling to me.
As I understand it, docBase tells Tomcat where to find the webapp to
deploy; however, it must have already found the .war file, otherwise it
couldn't have gotten to the context.xml...  So what's the point of
docBase in this case?

Have you tried taking it out?  And, do you have autoDeploy enabled?
(Just suggesting more things to tinker with - no real answers here.)

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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

Reply via email to