tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Angelo Chen <angelochen...@yahoo.com.hk>
Subject tomcat 6 and docBase problem
Date Mon, 07 Jul 2008 02:26:53 GMT

Hi,

I try to use the virtual hosting of Tomcat 6, it's working, but always has
this Document base complain in the log, any idea how to fix this?

here is server.xml

<Host name="abc.com"  appBase="abcapps"
          unpackWARs="true" autoDeploy="true"
          xmlValidation="false" xmlNamespaceAware="false">
</Host>

then I created a link:
 ln -s /home/abc /usr/local/apache-tomcat-6.0.16/abcapps

here is the warning from the log:

java.lang.IllegalArgumentException: Document base
/usr/local/apache-tomcat-6.0.16/webapps/abc does not exist or is not a
readable directory at
org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:141)


-- 
View this message in context: http://www.nabble.com/tomcat-6-and-docBase-problem-tp18309063p18309063.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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