> From: Jason Novotny [mailto:[EMAIL PROTECTED] 
> Subject: TC 5.5.12 WARNING: A docBase XXX inside the host 
> appBase has been specified, and will be ignored
> 
>     Using Tomcat 5.5.12 and my servlet context fragment:
> 
> <Context path="/portal" docBase="gridsphere" debug="0" 
> reloadable="false" crossContext="true">
>         <Logger className="org.apache.catalina.logger.FileLogger" 
> prefix="localhost_gridsphere_log." suffix=".txt" timestamp="true"/>
> </Context>

Please read the doc on the <Context> element, especially with regards to
the path and docBase attributes:
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html

Things have changed since 5.0.  In summary, you can not use a path
attribute unless your <Context> tag is in server.xml, and this is
strongly discouraged.  The preferred location for <Context> is in
META-INF/context.xml within your webapp; alternatively, it can be placed
in conf/Catalina/<host_name>/<app_name>.xml (where <host_name> is
usually localhost).  The docBase attribute should only be used if the
webapp is not in Tomcat's webapps directory.

 - 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