It's complaining about a xml file, which does not tally with the dtd file it references. Did you by any chance change any web.xml files
in your webapps ? If so can we have a look ?



Steve Burrus wrote:


Hi Kwok, here is the entirety of the error msg. with Tomcat in DOS:

"Jun 2, 2003 9:44:28 PM org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
Jun 2, 2003 9:44:28 PM org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
Jun 2, 2003 9:44:29 PM org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
Jun 2, 2003 9:44:32 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.24
Jun 2, 2003 9:44:49 PM org.apache.commons.digester.Digester error
SEVERE: Parse Error at line 312 column 11: The content of element type
"web-app"
must match
"(icon?,display-name?,description?,distributable?,context-param*,fil
ter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-ma

pping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,se

curity-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-re

f*)".
org.xml.sax.SAXParseException: The content of element type "web-app" must
match
"(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-

mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welco

me-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-const

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)
Jun 2, 2003 9:44:50 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Jun 2, 2003 9:44:51 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Jun 2, 2003 9:44:51 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=20/801
config=C:\jakarta-tomcat-4.1.24\bin\..\conf\j
k2.properties"

And notice in particular this section of the error please "SEVERE: Parse
Error at line 312 column 11: The content of element type "web-app"
must match
"(icon?,display-name?,description?,distributable?,context-param*,fil
ter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-ma

pping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,se

curity-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-re

f*)".

What could be wrong anyway?
************************************************************************************************************************

Kwok Peng Tuck wrote:



Any other stuff get printed besides that ?

Steve Burrus wrote:



Hello all, I need help with not using the Tomcat server, but with
actually getting it set up correctly. Every single time that I try to
run it, it seems to be going good for a while, but then I always get a
"Fatal Parse Error", and it indicates a problem in the
"org.apache.commons.digester" file with the <web-app> tag. Anyone have
any ideas as to what could be wrong?





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to