tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Singleton <p...@jbgb.com>
Subject (mis)interpretation of /webapps2/ in Context.docBase
Date Tue, 13 Feb 2007 16:26:26 GMT
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


Mime
View raw message