tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Avinash Sridhar" <>
Subject Tomcat 5.0.16 startup console error
Date Sun, 01 Feb 2004 15:24:50 GMT
I am trying to get a simple servlet running using tomcat 5.0.16.I had posted the problem previously,but
I dont know why it was ignored,plz dont ignore this too.
Here is the problem I am facing.......

While I startup tomcat,I get the following error,

/********************* 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............


The content of web.xml is as follows.....................

/**********************Start of web.xml ***********************/

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"

<display-name>Servlet 2.4 Examples</display-name>
<description> Servlet 2.4 Examples </description>

<!-- Servlet mapping start --> 
<!-- Define servlets. i.e. bind a servlet name to a class -->


<!-- bind a servlet name to a URL (pattern) -->

<!-- Servlet mapping end -->


/********************************* End of web.xml *****************************/

Now I have modified the server.xml file in the TOMCAT_HOME/conf/
this,just a line

/******************************* server.xml ***********************************/

<Context path="/sampleapp" docBase="e:\sampleapp" debug="0" reloadable="true">


Kindly help me out.

Any help would be appreciated


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message