> From: Mihamina Rakotomandimby (R12y)
> [mailto:miham...@lab.vectoris.fr]
> Subject: Re: tomcat only query localhost database
>
> /etc/tomcat6/Catalina/localhost/webappName.xml
> <?xml version="1.0" encoding="UTF-8"?>
> <Context path="/norpassWeb"
>                  reloadable="true"
>                  docBase="norpassWeb" >

Note that the path attribute is not allowed in a <Context> element placed in 
META-INF/context.xml or in Catalina/[host]/[appName].xml; at best you will get 
double deployment, at worst your webapp won't function at all.  The name of the 
.xml file is used as the path.

Also, for webapps deployed under the <Host> appBase directory, which this 
appears to be, the docBase attribute is not allowed.

 - 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: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to