tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Daniel.T.Hellstr...@telia.se>
Subject SV: tomcat 4.1.12 just stopped working, help !
Date Tue, 07 Jan 2003 08:59:41 GMT
Hehe, not that I know of ;))
Well there is a web.xml in .../conf/ and additional web.xml in every catalog in ".../webapps/"
so is there any good way of finding out in which the error occurs ?




-----Ursprungligt meddelande-----
Från: Peng Tuck Kwok [mailto:pengtuck@makmal.net]
Skickat: den 7 januari 2003 09:54
Till: Tomcat Users List
Ämne: Re: tomcat 4.1.12 just stopped working, help !


Hmm, it looks like an error in the web.xml of a certain app. Did you by 
any chance change the web.xml of any of your web applications ?

Daniel.T.Hellstrand@telia.se wrote:
> Hi all
> Some time during christmas Tomcat 4.1.12 stopped working for me, I don´t know why, thought
anyone here might have a clue.
> This is what I know:
> If I start tomcat with ".../bin/startup.sh" and then run a portscan I can see:
> 8009/tcp   open        ajp13
> 8080/tcp   open        http-proxy
> So evidently something happens ;)
> 
> But if I try to access http://my.ip:8080/index.wml (or just http://my.ip:8080) I don´t
get any answer at all, it seems totally dead.
> 
> If I then stop Tomcat (.../bin/shutdown.sh) and run a portscan the services on ports
8009 and 8080 are gone.
> 
> But if I directly run ".../bin/catalina.sh run" I get this: (if someone can get any clue
from this)
> 
> [root@star bin]# ./catalina.sh run
> Using CATALINA_BASE:   /etc/jakarta-tomcat-4.1.12
> Using CATALINA_HOME:   /etc/jakarta-tomcat-4.1.12
> Using CATALINA_TMPDIR: /etc/jakarta-tomcat-4.1.12/temp
> Using JAVA_HOME:       /usr/java/j2sdk1.4.1
> Jan 7, 2003 9:40:58 AM org.apache.commons.modeler.Registry loadRegistry
> INFO: Loading registry information
> Jan 7, 2003 9:40:58 AM org.apache.commons.modeler.Registry getRegistry
> INFO: Creating new Registry instance
> Jan 7, 2003 9:41:03 AM org.apache.commons.modeler.Registry getServer
> INFO: Creating MBeanServer
> 
> Starting service Tomcat-Standalone
> Apache Tomcat/4.1.12
> Jan 7, 2003 9:47:29 AM org.apache.commons.digester.Digester error
> SEVERE: Parse Error at line 114 column 15: The content of element type "servlet" must
match "(icon?,servlet-name,display-name?,description?,(servlet-class|jsp-file),init-param*,load-on-startup?,run-as?,security-role-ref*)".
> org.xml.sax.SAXParseException: The content of element type "servlet" must match "(icon?,servlet-name,display-name?,description?,(servlet-class|jsp-file),init-param*,load-on-startup?,run-as?,security-role-ref*)".
>         at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:232)
>         at org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:173)
>         at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:362)
>         at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:296)
>         at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.java:1953)
>         at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:878)
>         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleEndElement(XMLDocumentFragmentScannerImpl.java:1144)
>         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:987)
>         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1445)
>         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:333)
>         at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:524)
>         at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:580)
>         at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
>         at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1169)
>         at org.apache.commons.digester.Digester.parse(Digester.java:1495)
>         at org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.java:282)
>         at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:639)
>         at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:243)
>         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
>         at org.apache.catalina.core.StandardContext.start(StandardContext.java:3493)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
>         at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
>         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
>         at org.apache.catalina.core.StandardService.start(StandardService.java:497)
>         at org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
>         at org.apache.catalina.startup.Catalina.start(Catalina.java:510)
>         at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
>         at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> Jan 7, 2003 9:47:29 AM org.apache.commons.digester.Digester error
> SEVERE: Parse Error at line 120 column 15: The content of element type "servlet" must
match "(icon?,servlet-name,display-name?,description?,(servlet-class|jsp-file),init-param*,load-on-startup?,run-as?,security-role-ref*)".
> org.xml.sax.SAXParseException: The content of element type "servlet" must match "(icon?,servlet-name,display-name?,description?,(servlet-class|jsp-file),init-param*,load-on-startup?,run-as?,security-role-ref*)".
>         at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:232)
>         at org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:173)
>         at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:362)
>         at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:296)
>         at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.java:1953)
>         at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:878)
>         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleEndElement(XMLDocumentFragmentScannerImpl.java:1144)
>         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:987)
>         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1445)
>         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:333)
>         at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:524)
>         at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:580)
>         at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
>         at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1169)
>         at org.apache.commons.digester.Digester.parse(Digester.java:1495)
>         at org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.java:282)
>         at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:639)
>         at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:243)
>         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
>         at org.apache.catalina.core.StandardContext.start(StandardContext.java:3493)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
>         at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
>         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
>         at org.apache.catalina.core.StandardService.start(StandardService.java:497)
>         at org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
>         at org.apache.catalina.startup.Catalina.start(Catalina.java:510)
>         at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
>         at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> Jan 7, 2003 9:47:29 AM org.apache.commons.digester.Digester error
> SEVERE: Parse Error at line 126 column 15: The content of element type "servlet" must
match "(icon?,servlet-name,display-name?,description?,(servlet-class|jsp-file),init-param*,load-on-startup?,run-as?,security-role-ref*)".
> org.xml.sax.SAXParseException: The content of element type "servlet" must match "(icon?,servlet-name,display-name?,description?,(servlet-class|jsp-file),init-param*,load-on-startup?,run-as?,security-role-ref*)".
>         at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:232)
>         at org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:173)
>         at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:362)
>         at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:296)
>         at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.java:1953)
>         at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:878)
>         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleEndElement(XMLDocumentFragmentScannerImpl.java:1144)
>         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:987)
>         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1445)
>         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:333)
>         at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:524)
>         at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:580)
>         at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
>         at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1169)
>         at org.apache.commons.digester.Digester.parse(Digester.java:1495)
>         at org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.java:282)
>         at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:639)
>         at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:243)
>         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
>         at org.apache.catalina.core.StandardContext.start(StandardContext.java:3493)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
>         at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
>         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
>         at org.apache.catalina.core.StandardService.start(StandardService.java:497)
>         at org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
>         at org.apache.catalina.startup.Catalina.start(Catalina.java:510)
>         at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
>         at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> Jan 7, 2003 9:47:29 AM org.apache.commons.digester.Digester error
> SEVERE: Parse Error at line 132 column 15: The content of element type "servlet" must
match "(icon?,servlet-name,display-name?,description?,(servlet-class|jsp-file),init-param*,load-on-startup?,run-as?,security-role-ref*)".
> org.xml.sax.SAXParseException: The content of element type "servlet" must match "(icon?,servlet-name,display-name?,description?,(servlet-class|jsp-file),init-param*,load-on-startup?,run-as?,security-role-ref*)".
>         at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:232)
>         at org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:173)
>         at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:362)
>         at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:296)
>         at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.java:1953)
>         at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:878)
>         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleEndElement(XMLDocumentFragmentScannerImpl.java:1144)
>         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:987)
>         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1445)
>         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:333)
>         at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:524)
>         at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:580)
>         at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
>         at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1169)
>         at org.apache.commons.digester.Digester.parse(Digester.java:1495)
>         at org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.java:282)
>         at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:639)
>         at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:243)
>         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
>         at org.apache.catalina.core.StandardContext.start(StandardContext.java:3493)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
>         at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
>         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
>         at org.apache.catalina.core.StandardService.start(StandardService.java:497)
>         at org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
>         at org.apache.catalina.startup.Catalina.start(Catalina.java:510)
>         at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
>         at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> 
> Jan 7, 2003 9:47:53 AM org.apache.coyote.http11.Http11Protocol start
> INFO: Starting Coyote HTTP/1.1 on port 8080
> Jan 7, 2003 9:47:53 AM org.apache.jk.common.ChannelSocket init
> INFO: JK2: ajp13 listening on tcp port 8009
> Jan 7, 2003 9:47:53 AM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=6/263  config=/etc/jakarta-tomcat-4.1.12/conf/jk2.properties
> 
> --
> To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
> 
> 



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


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


Mime
View raw message