> From: Sesha Shayan Nandyal [mailto:[EMAIL PROTECTED] 
> Subject: Deploying in Tomcat 5
> 
>    I created an app.xml in the
> $CATALINA_HOME/conf/Catalina/localhost/ sub-directory,
> with the following settings:
> <Context path="" docBase="/app/docs" debug="0"
> crossContext="true"
>          privileged="true" antiResourceLocking="false"
> antiJARLocking="false">

Is this 5.0.x or 5.5.x?  If 5.5, you're ignoring this statement in the
docs about the path attribute:

"The value of this field must not be set except when statically defining
a Context in server.xml, as it will be infered [sic] from the filenames
used for either the .xml context file or the docBase."

If you want your app to be the default and you don't want to put it in
webapps/ROOT, you must delete the existing webapps/ROOT directory, and
put your app's <Context> tag in the file ROOT.xml in
conf/Catalina/localhost.

See:
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html

 - 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