tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos Martins" <carlos.mart...@audaxys.com>
Subject please help -SEVERE: Parse error in application web.xml - webapp does not start after cpanel upgrade
Date Mon, 17 Jan 2005 13:00:34 GMT
After upgrading cpanel on the server, tomcat throws the error message
attached. I swear I did not change a thing in my web.xml file. Never the
less tomcat says I now have an error in the </servlet> tag.

I forward the error and the contects of my web.xml. please help, if you
can.

Sincerely yours
Carlos

This is the error:
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)
Jan 17, 2005 12:01:28 PM org.apache.catalina.startup.ContextConfig
applicationConfig
SEVERE: Occurred at line 25 column 15
Jan 17, 2005 12:01:28 PM org.apache.catalina.startup.ContextConfig start
SEVERE: Marking this application unavailable due to previous error(s)
Jan 17, 2005 12:01:28 PM org.apache.catalina.core.StandardContext start
SEVERE: Error getConfigured
Jan 17, 2005 12:01:28 PM org.apache.catalina.core.StandardContext start
SEVERE: Context startup failed due to previous errors
Jan 17, 2005 12:01:28 PM org.apache.catalina.logger.LoggerBase stop
INFO: unregistering logger
Catalina:type=Logger,path=/boordem,host=web.ordemeconomistas.pt
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)
Jan 17, 2005 12:01:28 PM org.apache.catalina.startup.ContextConfig
applicationConfig
SEVERE: Occurred at line 24 column 15
Jan 17, 2005 12:01:28 PM org.apache.catalina.startup.ContextConfig start
SEVERE: Marking this application unavailable due to previous error(s)
Jan 17, 2005 12:01:28 PM org.apache.catalina.core.StandardContext start
SEVERE: Error getConfigured
Jan 17, 2005 12:01:28 PM org.apache.catalina.core.StandardContext start
SEVERE: Context startup failed due to previous errors
Jan 17, 2005 12:01:28 PM org.apache.catalina.logger.LoggerBase stop
INFO: unregistering logger
Catalina:type=Logger,path=/,host=web.ordemeconomistas.pt
Jan 17, 2005 12:01:28 PM org.apache.catalina.core.StandardHost
getDeployer
INFO: Create Host deployer for direct deployment ( non-jmx ) 
Jan 17, 2005 12:01:28 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Jan 17, 2005 12:01:28 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/81
config=/usr/local/jakarta/tomcat/conf/jk2.properties
Jan 17, 2005 12:01:28 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 757 ms


This is the 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