David,

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:

server.xml
 <Host name="localhost"
appBase="/path/to/public_html"deployOnStartup="true"
       unpackWARs="false" autoDeploy="true"
       xmlValidation="false" xmlNamespaceAware="false">

public_html.xml:
<Context path="" debug="0" swallowOutput="true">
</Context>

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
directory

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

Thanks,
Rizalino

---------------------------------------------------------------------
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