tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Passey <kpas...@kdpsoftware.co.uk>
Subject RE: tomcat 4.1.12 just stopped working, help !
Date Tue, 07 Jan 2003 10:03:06 GMT
Or use cooktop if you don't have XML Spy

Cheers

Kevin

-----Original Message-----
From: Holger Brozio [mailto:Holger.Brozio@online.de]
Sent: 07 January 2003 09:14
To: Tomcat Users List
Subject: Re: tomcat 4.1.12 just stopped working, help !


Whats about using a tool like XML Spy. With this one you can check, if the
web.xml files are well formed and valid.
Valid means, that they match the rules defined in the web-app_2_3.dtd, which
seems to be the problem in that case.

HTH

Holger
----- Original Message -----
From: "Peng Tuck Kwok" <pengtuck@makmal.net>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Tuesday, January 07, 2003 9:53 AM
Subject: 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),ini
t-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),ini
t-param*,load-on-startup?,run-as?,security-role-ref*)".
> >         at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHand
lerWrapper.java:232)
> >         at
org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:17
3)
> >         at
org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:36
2)
> >         at
org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:29
6)
> >         at
org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.
java:1953)
> >         at
org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:8
78)
> >         at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleEndElement(XMLDo
cumentFragmentScannerImpl.java:1144)
> >         at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocu
mentFragmentScannerImpl.java:987)
> >         at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.dispatch(XMLDocumentFragmentScannerImpl.java:1445)
> >         at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocume
ntFragmentScannerImpl.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:116
9)
> >         at
org.apache.commons.digester.Digester.parse(Digester.java:1495)
> >         at
org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.ja
va: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(LifecycleSuppor
t.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),ini
t-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),ini
t-param*,load-on-startup?,run-as?,security-role-ref*)".
> >         at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHand
lerWrapper.java:232)
> >         at
org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:17
3)
> >         at
org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:36
2)
> >         at
org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:29
6)
> >         at
org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.
java:1953)
> >         at
org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:8
78)
> >         at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleEndElement(XMLDo
cumentFragmentScannerImpl.java:1144)
> >         at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocu
mentFragmentScannerImpl.java:987)
> >         at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.dispatch(XMLDocumentFragmentScannerImpl.java:1445)
> >         at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocume
ntFragmentScannerImpl.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:116
9)
> >         at
org.apache.commons.digester.Digester.parse(Digester.java:1495)
> >         at
org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.ja
va: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(LifecycleSuppor
t.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),ini
t-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),ini
t-param*,load-on-startup?,run-as?,security-role-ref*)".
> >         at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHand
lerWrapper.java:232)
> >         at
org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:17
3)
> >         at
org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:36
2)
> >         at
org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:29
6)
> >         at
org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.
java:1953)
> >         at
org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:8
78)
> >         at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleEndElement(XMLDo
cumentFragmentScannerImpl.java:1144)
> >         at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocu
mentFragmentScannerImpl.java:987)
> >         at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.dispatch(XMLDocumentFragmentScannerImpl.java:1445)
> >         at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocume
ntFragmentScannerImpl.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:116
9)
> >         at
org.apache.commons.digester.Digester.parse(Digester.java:1495)
> >         at
org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.ja
va: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(LifecycleSuppor
t.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),ini
t-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),ini
t-param*,load-on-startup?,run-as?,security-role-ref*)".
> >         at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHand
lerWrapper.java:232)
> >         at
org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:17
3)
> >         at
org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:36
2)
> >         at
org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:29
6)
> >         at
org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.
java:1953)
> >         at
org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:8
78)
> >         at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleEndElement(XMLDo
cumentFragmentScannerImpl.java:1144)
> >         at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocu
mentFragmentScannerImpl.java:987)
> >         at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.dispatch(XMLDocumentFragmentScannerImpl.java:1445)
> >         at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocume
ntFragmentScannerImpl.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:116
9)
> >         at
org.apache.commons.digester.Digester.parse(Digester.java:1495)
> >         at
org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.ja
va: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(LifecycleSuppor
t.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>

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