> From: Roel De Nijs [mailto:[EMAIL PROTECTED] 
> Subject: Betr.: RE: From Tomcat 5.0.28 to 5.5.20
> 
> OK, i did read it --> conclusion: you don't have to set it. 

Not that you don't have to set it, you MUST NOT set it.

> so i adjusted my web-app.xml by deleting the path-attribute, 
> resulting in:
>  
> <?xml version='1.0' encoding='utf-8'?>
> <!-- Tomcat AquaGis4Web Context -->
> <Context displayName="AquaGis4Web" docBase="AquaGis4Web" 
> debug="2" reloadable="true" crossContext="true">
>  <ResourceLink name="jdbc/db" global="jdbc/db" 
> type="java.lang.String" />
> </Context>
>  
> but still getting the "A docBase C:\Program Files\Apache 
> Software Foundation\Tomcat AG4W\webapps\AquaGis4Web inside 
> the host appBase has been specified, and will be ignored" - message

Where is the AquaGis4Web application deployed?  Since it appears to be
under Tomcat's normal webapps directory, you would normally put the
<Context> element in webapps/[appName]/META-INF/context.xml, rather than
conf/[engine]/[host]/[appname].xml.  Since you're choosing to place it
in the latter location but have the app deployed under webapps, the
docBase attribute is redundant and should be removed.

 - 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 start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to