tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bkraa...@aol.com
Subject org.xml.sax.SAXParseException
Date Sun, 28 Dec 2003 14:08:47 GMT
 I'm having trouble getting tomcat 5.0.14 running on win ME.  I have not set
 my classpath.  I have set CATALINA_HOME (C:\jakarta-tomcat-5.0.14)  and
 CATALINA_BASE and JAVA_HOME.  I get the following error:

>
>
> INFO: Processing Context configuration file URL
> file:C:\jakarta-tomcat-5.0.14\conf\Catalina\localhost\manager.xml
> Dec 26, 2003 6:56:35 PM org.apache.commons.digester.Digester fatalError
> SEVERE: Parse Fatal Error at line 1 column 3: The markup declarations
> contained or pointed to by the document type declaration must be 
well-formed.
> org.xml.sax.SAXParseException: The markup declarations contained or pointed
> to by the document type declaration must be well-formed.
>     at
> org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown 
Source)
>     at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(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.XMLScanner.reportFatalError(Unknown Source)
>  at org.apache.xerces.impl.XMLDTDScannerImpl.scanDecls(Unknown Source)
>     at 
org.apache.xerces.impl.XMLDTDScannerImpl.scanDTDExternalSubset(Unknown
> Source)
>     at
> 
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
>     at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
>     at org.apache.xerces.parsers.XML11Configuration.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:1548)
>     at
> 
org.apache.catalina.startup.ContextConfig.defaultConfig(ContextConfig.java:612)
>  at
> org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:744)
>  at
> 
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:257)
>  at
> 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
>  at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4116)
>  at
> 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
>  at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:850)
>  at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
>  at
> 
org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:831)
>  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:252)
>  at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)
>  at org.apache.commons.digester.Rule.end(Rule.java:276)
>     at org.apache.commons.digester.Digester.endElement(Digester.java:1058)
>     at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown 
Source)
>     at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndEl
ement(Unknown Source)
>     at
> 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
>     at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
>     at org.apache.xerces.parsers.XML11Configuration.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:1567)
>     at
> 
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:511)
>  at org.apache.catalina.core.StandardHost.install(StandardHost.java:890)
>     at
> 
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:523)
>  at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:468)
>  at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1002)
>     at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:393)
>  at
> 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
>  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
>  at org.apache.catalina.core.StandardHost.start(StandardHost.java:816)
>     at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1125)
>  at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:518)
>  at
> org.apache.catalina.core.StandardService.start(StandardService.java:519)
>  at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:2343)
>  at org.apache.catalina.startup.Catalina.start(Catalina.java:580)
>     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.start(Bootstrap.java:297)
>     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:397)
>
> here's the content of
> C:\jakarta-tomcat-5.0.14\conf\Catalina\localhost\manager.xml
>
> <!--
>
>     Context configuration file for the Tomcat Manager Web App
>
>     $Id: manager.xml,v 1.1.1.1 2002/07/18 16:48:14 remm Exp $
>
> -->
> <Context path="/manager" docBase="../server/webapps/manager" debug="0"
> privileged="true">
>     <!-- Link to the user database we will get roles from -->
>     <ResourceLink name="users" global="UserDatabase"
> type="org.apache.catalina.UserDatabase"/>
> </Context>
>
>
> Can anyone help me with this problem?
>
> thanks!
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message