> From: news [mailto:[EMAIL PROTECTED] On Behalf Of hv @ 
> Fashion Content
> Subject: Missing application web.xml
> 
> Why does Tomcat say that there is no web.xml when it is in 
> the war file when I unzip it???

Is it inside WEB-INF (which must be in caps)?

> And how come the default behaviour is to show the contents of 
> the hosts app base ???

Probably because the default servlet is being invoked, since your
webapps are appaently not being deployed.  The default Tomcat config is
oriented towards development and testing, not production, so it displays
directory listings.  Set the listings param of the default servlet in
conf/web.xml to false if you want to change this.

> partial server.xml:
> <Host name=".." appBase="fc_webapps" unpackWARs="true" 
> deployOnStartup="true" autoDeploy="false" xmlValidation="true">

That host name looks very suspect; the value is supposed to be a DNS
name.  I can't think of anything good happening with a value of "..".

> context.xml:
> <Context docBase="ROOT" reloadable="true"></Context>

Where is this context.xml file located?  The docBase attribute must not
be used unless the <Context> tag is inside server.xml or
conf/Catalina/<host_name>/<app_name>.xml; the only time a file named
context.xml is valid is inside the META-INF directory of a webapp.

 - 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