tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dima Gutzeit" <>
Subject Re: Tomcat 5.0.16 startup console error
Date Sun, 01 Feb 2004 15:59:59 GMT
Change the following in the server.xml :

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

As I see from you configurations, the docbase of you application is the
webapps directory of Tomcat and not at e:\ ...

----- Original Message ----- 
From: "Avinash Sridhar" <>
To: <>
Sent: Sunday, February 01, 2004 5:24 PM
Subject: Tomcat 5.0.16 startup console error

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


Kindly help me out.

Any help would be appreciated


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message