tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bodycombe, Andrew" <>
Subject RE: Please help Console Problem in tomcat 5.0.16
Date Mon, 02 Feb 2004 16:14:12 GMT
This indicates your server.xml is invalid.

-----Original Message-----
From: Avinash Sridhar [] 
Sent: 02 February 2004 16:07
Subject: Please help Console Problem in tomcat 5.0.16

have my own directory as "sampleapp" which has the necessary structure and
the .class file is put into the following directory structure.

All in the %TOMCAT% home directory.

My question is in %TOMCAT%/conf/server.xml file how is the <Context>
</Context> tag written.
I have written it like this........

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

The directory structure of sampleapp is as follows......
The classes directory has the structure like this..

classes/package1/structure/HelloServlet class file.

My Web.xml file looks like this 

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

/************************* web.xml ******************************/

/******************* Console error *********************/
Feb 2, 2004 8:33:19 AM org.apache.commons.digester.Digester fatalError
SEVERE: Parse Fatal Error at line 3 column 6: The processing instruction
matching "[xX][mM][lL]" is not allowed.
/******************* Console error *********************/

Let me know if any changes are to be made.

Help greatly apreciated.


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

View raw message