You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Paul Singleton <pa...@jbgb.com> on 2007/02/13 17:26:26 UTC
(mis)interpretation of /webapps2/ in Context.docBase
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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org