tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BAO RuiXian <ruixian....@pp.inet.fi>
Subject Re: Tomcat 5.0.16 startup console error
Date Sun, 01 Feb 2004 15:55:59 GMT


Avinash Sridhar wrote:

>[snip...]
>/********************* Start of Error message **************/
>SEVERE: Cannot find message associated with key standardContext.resourcesStart
>java.lang.IllegalArgumentException: Document base E:\sampleapp does not exist or
>is not a readable directory 
>
>
>/*********************End of Error message *******************/
>
>The directory structure is as follows............
>
>/TOMCAT_HOME/webapps/sampleapp
>/TOMCAT_HOME/webapps/sampleapp/WEB-INF
>/TOMCAT_HOME/webapps/sampleapp/WEB-INF/classes
>/TOMCAT_HOME/webapps/sampleapp/WEB-INF/lib
>/TOMCAT_HOME/webapps/sampleapp/WEB-INF/sourcefiles
>/TOMCAT_HOME/webapps/sampleapp/WEB-INF/web.xml
>
>[snip...]
>Now I have modified the server.xml file in the TOMCAT_HOME/conf/server.xml................like
this,just a line
>
>/******************************* server.xml ***********************************/
>
><Context path="/sampleapp" docBase="e:\sampleapp" debug="0" reloadable="true">
></Context>
>
>/*****************************server.xml************************************/
>  
>
I don't understand why you want to have the docBase as "e:\sampleapp" 
while your directory structure is like /TOMCAT_HOME/webapps/sampleapp? 
Please try set docBase as "sampleapp".

Best

Bao

>Kindly help me out.
>
>Any help would be appreciated
>
>Thanks 
>AS
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message