tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Wallace" <wal...@tpg.com.au>
Subject appBase
Date Sun, 03 Feb 2008 05:57:22 GMT
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.

 

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message