tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: tomcat only query localhost database
Date Tue, 03 Feb 2009 14:16:25 GMT
> From: Mihamina Rakotomandimby (R12y)
> [mailto:mihamina@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message