Hi,

 

Using Tomcat 5.5 I wish to provide my own appBase to a relative or fully
formed path e.g:

 

       <Host name="localhost" appBase="C:/mypath/mysite"

       unpackWARs="true" autoDeploy="true"

       xmlValidation="false" xmlNamespaceAware="false">

 

or

 

       <Host name="localhost" appBase="../../mysite"

       unpackWARs="true" autoDeploy="true"

       xmlValidation="false" xmlNamespaceAware="false">

 

(assuming mysite is two folders above CATALINA_HOME)

 

Neither work and an HTTP 400 is returned. 

 

This stops the show also in server.xml:

 

<Context path="/" docBase="../../site" privileged="false"
antiResourceLocking="false" antiJARLocking="false"/>

 

How do I point the root of the said release of Tomcat at, preferably, a
folder relative to CATALINA_HOME?

 

Thanks

 

Paul.

 

 

Reply via email to