tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos Martins" <carlos.mart...@audaxys.com>
Subject web.xml parsing error SEVERE
Date Mon, 17 Jan 2005 15:31:21 GMT
Dear subscribers,

I am having a strange problem starting tomcat.
Catalina.out says I have an error at the closing tag </servlet>

Any clue on what the problem might be?

Your comments will be most appreciated.

Sincerely yours
Carlos

The error reads as follows:
Jan 17, 2005 12:01:28 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 949 ms Jan 17, 2005 12:01:28 PM
org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jan 17, 2005 12:01:28 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.0.28 Jan 17, 2005
12:01:28 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Jan 17, 2005 12:01:28 PM org.apache.catalina.startup.ContextConfig
defaultConfig
INFO: No default web.xml
Jan 17, 2005 12:01:28 PM org.apache.commons.digester.Digester endElement
SEVERE: End event threw exception
java.lang.ClassNotFoundException: org.apache.catalina.Container
	at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader
.java:1340)
	at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader
.java:1189)
	at
org.apache.commons.digester.SetNextRule.end(SetNextRule.java:243)
	at org.apache.commons.digester.Rule.end(Rule.java:276)
	at
org.apache.commons.digester.Digester.endElement(Digester.java:1058)
	at
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
	at
org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope(Unknown
Source)
	at
org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown
Source)
	at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown
Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unk
nown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis
patcher.dispatch(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno
wn Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
	at
org.apache.commons.digester.Digester.parse(Digester.java:1548)
	at
org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfi
g.java:263)
	at
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:624)
	at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.j
ava:216)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.java:119)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4290
)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
	at
org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
	at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
	at
org.apache.catalina.core.StandardService.start(StandardService.java:480)
	at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
	at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
Jan 17, 2005 12:01:28 PM org.apache.catalina.startup.ContextConfig
applicationConfig
SEVERE: Parse error in application web.xml
java.lang.ClassNotFoundException: org.apache.catalina.Container
	at
org.apache.commons.digester.Digester.createSAXException(Digester.java:25
40)
	at
org.apache.commons.digester.Digester.createSAXException(Digester.java:25
66)
	at
org.apache.commons.digester.Digester.endElement(Digester.java:1061)
	at
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
	at
org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope(Unknown
Source)
	at
org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown
Source)
	at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown
Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unk
nown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis
patcher.dispatch(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno
wn Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
	at
org.apache.commons.digester.Digester.parse(Digester.java:1548)
	at
org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfi
g.java:263)
	at
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:624)
	at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.j
ava:216)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.java:119)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4290
)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
	at
org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
	at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
	at
org.apache.catalina.core.StandardService.start(StandardService.java:480)
	at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
	at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)



And this is the contents of my web.xml file:

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

<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">

<web-app>

    <display-name>Ordem dos Economistas :: Editorial</display-name>
    <description>
	This is a simple web application with a source code organization
	based on the recommendations of the Application Developer's
Guide.
    </description>


    <!-- Define busDriver events listeners -->
    <listener>
        <listener-class>bus.SessionListener</listener-class>
    </listener>


    <servlet>
        <servlet-name>busDriver</servlet-name>
        <servlet-class>bus.busDriver</servlet-class>
    </servlet>

    <servlet-mapping>
        <servlet-name>busDriver</servlet-name>
        <url-pattern>/busDriver</url-pattern>
    </servlet-mapping>
    
    <session-config>
      <session-timeout>30</session-timeout>    <!-- 30 minutes -->
    </session-config>


<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
</welcome-file-list>
<error-page>
<error-code>404</error-code>
<location>/404.html</location>
</error-page>


</web-app>



----------
Esta mensagem e quaisquer anexos são confidenciais, podendo conter
informação sujeita a sigilo profissional ou qualquer outro dever de
confidencialidade ou de segredo. Caso não seja o destinatário deste e-mail,
não deverá usar, copiar ou revelar o seu conteúdo, solicitando-se que
contacte o emissor com a brevidade possível e apague esta mensagem.
Obrigado pela colaboração.
----------
The information transmitted is intended for the person or entity to
which it is addressed only and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from any
computer.
Thank you for your cooperation.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message