tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rizalino DeVilleres" <>
Subject RE: Is there a way to remap/replace webapps/ROOT?
Date Mon, 16 Oct 2006 18:37:06 GMT

Thanks for the quick response.

I've tried your recommendation, and it does remap the webapps/ROOT to
whatever the name of the xml file is.

However, if I rename it public_html.xml, it looks for
"/path/to/public_html/public_html" instead of just /path/to/public_html.

Here is a snippet of the server.xml and public_html.xml file:

 <Host name="localhost"
       unpackWARs="false" autoDeploy="true"
       xmlValidation="false" xmlNamespaceAware="false">

<Context path="" debug="0" swallowOutput="true">

I tried to change the appBase to just "/path/to/" and restart tomcat, it
looks at the desired path but I have to relocate all the files from
public_html to the folder /path/to.

Here are the errors from the webapps.log;
2006-10-16 14:33:27:072 - {ERROR} core.StandardContext;  Error starting
static Resources
java.lang.IllegalArgumentException: Document base
/path/to/public_html/public_html does not exist or is not a readable

This setup is still working with Tomcat/4.1.18. I've been trying to get
it working for at least a few weeks and just started using this mailling
list as the last resort, so I apologize if this is not an acceptable
setup on Tomcat 5.5


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message