tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos Martins" <carlos.mart...@audaxys.com>
Subject RE: web.xml parsing error SEVERE
Date Mon, 17 Jan 2005 15:43:00 GMT
One more thing you might want to consider: The web app was working fine until the server admin
did an upgrade on the cpanel app.... that's what started this all...



-----Original Message-----
From: Allistair Crossley [mailto:Allistair.Crossley@QAS.com] 
Sent: segunda-feira, 17 de Janeiro de 2005 15:38
To: Tomcat Users List
Subject: RE: web.xml parsing error SEVERE

personally it looks ok to me ;) probably a character out of place. i would try this ..

1) run it through an XML validator
2) gradually remove elements and see when the error goes away. start with the servlet mappings
and servlets and continue ...

A.

> -----Original Message-----
> From: Carlos Martins [mailto:carlos.martins@audaxys.com]
> Sent: 17 January 2005 15:31
> To: tomcat-user@jakarta.apache.org
> Subject: web.xml parsing error SEVERE
> 
> 
> 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(WebappC
> lassLoader
> .java:1340)
> 	at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappC
> lassLoader
> .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.scanEndE
> lement(Unk
> nown Source)
> 	at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$Fragment
> ContentDis
> patcher.dispatch(Unknown Source)
> 	at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocu
> ment(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(Co
> ntextConfi
> g.java:263)
> 	at
> org.apache.catalina.startup.ContextConfig.start(ContextConfig.
> java:624)
> 	at
> org.apache.catalina.startup.ContextConfig.lifecycleEvent(Conte
> xtConfig.j
> ava:216)
> 	at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(L
> ifecycleSu
> 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.j
> ava:2313)
> 	at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
> orImpl.jav
> a:39)
> 	at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> odAccessor
> 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(Digest
> er.java:25
> 40)
> 	at
> org.apache.commons.digester.Digester.createSAXException(Digest
> er.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.scanEndE
> lement(Unk
> nown Source)
> 	at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$Fragment
> ContentDis
> patcher.dispatch(Unknown Source)
> 	at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocu
> ment(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(Co
> ntextConfi
> g.java:263)
> 	at
> org.apache.catalina.startup.ContextConfig.start(ContextConfig.
> java:624)
> 	at
> org.apache.catalina.startup.ContextConfig.lifecycleEvent(Conte
> xtConfig.j
> ava:216)
> 	at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(L
> ifecycleSu
> 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.j
> ava:2313)
> 	at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
> orImpl.jav
> a:39)
> 	at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> odAccessor
> 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.
> 


<FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE> 
-------------------------------------------------------
QAS Ltd.
Developers of QuickAddress Software
<a href="http://www.qas.com">www.qas.com</a>
Registered in England: No 2582055
Registered in Australia: No 082 851 474
-------------------------------------------------------
</FONT>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org



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


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message