In Tomcat 5.5.9 (JDK 1.6.0, WinXP) I have a 'webapps2'
folder alongside the default 'webapps', and server.xml
has

  <Host name="localhost" appBase="webapps" ...>
    <Context path="/myapp" docBase="../webapps2/myapp" ... />

which works as intended, but originally I used an absolute
path e.g.

  <Host name="localhost" appBase="webapps" ...>
<Context path="/myapp" docBase="C:/shared/apps/jakarta-tomcat-5.5.9/webapps2/myapp" ... />

and got this at Tomcat startup:

 SEVERE: Error starting static Resources
 java.lang.IllegalArgumentException: Document base
 C:\shared\apps\jakarta-tomcat-5.5.9\webapps\2\CardiffCarshareWelsh2c
 does not exist or is not a readable directory

where /webapps2/ was being interpreted as /webapps/2/ ?!?!

Paul Singleton


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