tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: org.xml.sax.SAXParseException
Date Tue, 30 Dec 2003 08:03:37 GMT
TC 3.3.1a uses Crimson as its default xml parser (unless you change things,
and with a minor cavat if using a 1.4.x JVM :).  TC 4.1.x & 5.0.x use xerces
as the default xml parser.  You should check $CATALINA_HOME/common/endorsed
to see which version of xerces is installed, and upgrade it if necessary.
Since TC 3.3.1a works, it is unlikely that you have a stray xml parser in
$JAVA_HOME/jre/lib/ext, but it never hurts to check :).

<Bkraabel@aol.com> wrote in message news:a8.26a0b495.2d21a6a4@aol.com...
I did get tomcat 5.0.14 'out of the box'.  I originally tried 5.0.16, but
had
the same problem, and my instructor suggested trying 5.0.14.  I also tried
4.2.something, with the same problem.  I did get version 3.1.1a of tomcat to
work, however.  My instructor thinks I have some xml parser on my computer
that
is being invoked in place of the appropriate xml parser, but I don't know
where
to even begin to look for such a thing.
any other suggestions?
thanks, Brett

Dans un e-mail daté du 12/29/2003 3:46:05 PM W. Europe Standard Time,
Yoav.Shapira@mpi.com a écrit :


> Howdy,
> You get this out of the box, or have you modified manager.xml in any
> way?
>
> Anyways, don't bother with 5.0.14 (even though it should be fine), use
> 5.0.16 which is stable.
>
> Yoav Shapira
> Millennium ChemInformatics
>
>
> >-----Original Message-----
> >From: Bkraabel@aol.com [mailto:Bkraabel@aol.com]
> >Sent: Sunday, December 28, 2003 2:09 PM
> >To: tomcat-user@jakarta.apache.org
> >Subject: org.xml.sax.SAXParseException
> >
> > 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(Unkn
> own
> >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(Un
> know
> >n Source)
> >>     at
> >>
> >org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkn
> own
> >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.j
> ava:
> >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(LifecycleS
> uppo
> >rt.java:166)
> >>  at
> >>
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4116
> )
> >>  at
> >>
> >org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.j
> ava:
> >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(StandardHostDepl
> oyer
> >.java:831)
> >>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >>     at
> >>
> >sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
> va:3
> >9)
> >>  at
> >>
> >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
> rImp
> >l.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$FragmentContentDi
> spat
> >cher.dispatch(Unknown Source)
> >>     at
> >>
> >org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkn
> own
> >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(StandardHostDeplo
> yer.
> >java:511)
> >>  at
> org.apache.catalina.core.StandardHost.install(StandardHost.java:890)
> >>     at
> >>
> >org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.jav
> a:52
> >3)
> >>  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:3
> 93)
> >>  at
> >>
> >org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleS
> uppo
> >rt.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.ja
> va:3
> >9)
> >>  at
> >>
> >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
> rImp
> >l.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!
> >>
>


Brett Kraabel
http://us.geocities.com/brettkraabel




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