tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keshava Murthy" <kes...@bigtec.org>
Subject Parse error in application web.xml
Date Thu, 02 Jan 2003 12:44:17 GMT
Hi,

I installed Tomcat 4.1.18 and when I try to start the servlet engine I am getting the following
error -

003-01-02 17:44:36 ContextConfig[/admin]: Occurred at line 1 column 3
2003-01-02 17:44:36 ContextConfig[/admin] Parse error in application web.xml
org.xml.sax.SAXParseException: The markup declarations contained or pointed to by the document
type declaration must be well-formed.
 at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1189)
 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:3567)
 at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
 at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:529)
 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.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:228)
 at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:260)
 at org.apache.commons.digester.Digester.endElement(Digester.java:1036)
 at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:585)
 at org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBinder.java:647)
 at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1008)
 at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1469)
 at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:329)
 at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)
 at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)
 at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
 at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)
 at org.apache.commons.digester.Digester.parse(Digester.java:1514)
 at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:335)
 at org.apache.catalina.core.StandardHost.install(StandardHost.java:803)
 at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:452)
 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:409)
 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:879)
 at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:368)
 at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.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:497)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
 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(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

2003-01-02 17:44:36 ContextConfig[/admin]: Occurred at line 1 column 3
2003-01-02 17:44:36 ContextConfig[/admin]: Marking this application unavailable due to previous
error(s)
2003-01-02 17:44:36 StandardManager[/admin]: Seeding random number generator class java.security.SecureRandom
2003-01-02 17:44:36 StandardManager[/admin]: Seeding of random number generator has been completed
2003-01-02 17:44:36 StandardContext[/admin]: Context startup failed due to previous errors

Attached document contains the web.xml file from conf folder.
Could some one tell me how to solve this problem?

regards,

Keshav

Mime
View raw message