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

It is generated by the Ant WAR task, so yes it is, and I verified it as 
well. context.xml is in META-INF.

> 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

Yes I understand that. Listing resources in a WAR seems perfectly 
reasonable, but listing the actual WAR seems a bit strange.

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

It is a dns name. I just didnt write it.

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

it is in META-INF. Ok, so I tried to remove the docBase. Made no difference 
whatsoever.

Henrik


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