Hi Yoav and Chuck,

Thanks for your help. I have taken out the Logger element and I still get the same error. Let me explain better what I'm trying to do and maybe you can suggest the correct configuration.

Our portal is deployed to Tomcat as well as a context fragment, gridsphere.xml to the $CATALINA_HOME/conf/Catalina/localhost/ directory. The context now looks like:

<Context path="/gridsphere" docBase="gridsphere" debug="0" reloadable="false" crossContext="true"/>

   If they access http://localhost:8080/gridsphere it all works fine.

However, what instructions can I give our users if they wish to change the URL to be something like

http://localhost:8080/portal

I don't want them to have to rename the actual deployed web application WAR file or directory. Thats what I thought the path and docBase were used for.

   Thanks very much, Jason


Caldarale, Charles R wrote:

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]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to