tomcat-users mailing list archives

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

hi,

Thanks for the response, i did not set 'allowLinking', but the app still
runs ok, the only problem is the error in  Error starting static Resources.
I updated context.xml to be like this :

<?xml version="1.0" encoding="UTF-8"?>
<Context path="/"  allowLinking="true">
</Context>

the error still there, forgive my ignorance, what's the use of Document base
really? Thanks,

Angelo



Caldarale, Charles R wrote:
> 
>> From: Angelo Chen [mailto:angelochen960@yahoo.com.hk]
>> Subject: tomcat 6 and docBase problem
>>
>> 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)
> 
> Look at the allowLinking attribute:
> http://tomcat.apache.org/tomcat-6.0-doc/config/context.html
> 
>  - Chuck
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
> 
> ---------------------------------------------------------------------
> 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
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/tomcat-6-and-docBase-problem-tp18309063p18310835.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