tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: what is causing this error on tomcat startup
Date Sat, 24 May 2003 04:10:39 GMT
It looks pretty clear to me ;-).  You've got some element out of order
somewhere around line 48 of one of your context's web.xml file.  The logging
could be better, but there is usually enough info to figure out which
context is the problem.  The exception has helpfully printed out the order
that elements must occur for you below.

"Glenn Vismanos Prialde" <gprialde@yahoo.com> wrote in message
news:20030524035428.33250.qmail@web40907.mail.yahoo.com...
> Starting service Tomcat-Standalone
> Apache Tomcat/4.1.24
> May 24, 2003 11:50:46 AM
> org.apache.commons.digester.Digester error
> SEVERE: Parse Error at line 48 column 11: The content
> of element type "web-app"
> must match
> "(icon?,display-name?,description?,distributable?,context-param*,filt
>
er*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime
-map
>
ping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*
,sec
>
urity-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local
-ref
> *)".
> org.xml.sax.SAXParseException: The content of element
> type "web-app" must match
>
"(icon?,display-name?,description?,distributable?,context-param*,filter*,fil
ter-
>
mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,w
elco
>
me-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-c
onst
> raint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)".
>         at
> org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Un
> known Source)
>         at
> org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown
> Source)
>         at
> org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
> Source)
>         at
> org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
> Source)
>         at
> org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown
> S
> ource)
>         at
> org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown
> Source)
>
>         at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(
> Unknown Source)
>         at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
> Dispatcher.dispatch(Unknown Source)
>         at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
> known Source)
>         at
> org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
> Source)
>         at
> org.apache.xerces.parsers.DTDConfiguration.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:1543)
>         at
> org.apache.catalina.startup.ContextConfig.applicationConfig(ContextCo
> nfig.java:282)
>         at
> org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:63
> 9)
>         at
> org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi
> g.java:243)
>         at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
> eSupport.java:166)
>         at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:3
> 567)
>         at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
> .java:821)
>         at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:80
> 7)
>         at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
>
>         at
> org.apache.catalina.core.StandardHostDeployer.install(StandardHostDep
> loyer.java:307)
>         at
> org.apache.catalina.core.StandardHost.install(StandardHost.java:772)
>         at
> org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
> ava:559)
>         at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:401
> )
>         at
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)
>         at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
> :358)
>         at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
> eSupport.java:166)
>         at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
>
>         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:4
> 97)
>         at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:219
> 0)
>         at
> org.apache.catalina.startup.Catalina.start(Catalina.java:512)
>         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(DelegatingMethodAcces
> sorImpl.java:25)
>         at
> java.lang.reflect.Method.invoke(Method.java:324)
>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com




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