tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jaishankar Jayaram <...@interactiveink.com>
Subject Re: xml parsing error in tomcat3.3.a/jdk1.1.8
Date Tue, 22 Jan 2002 20:35:11 GMT
when starting w/ org.apache.tomcat.startup.EmbededTomcat -start

Jdk11Compat: Installing jar protocol handler
EmbededTomcat: Default commonCL
ERROR reading /Jai/Desktop Folder/jakarta-tomcat-3.3a/conf/server.xml
At Line 13 /Server/ContextManager/LoaderInterceptor11/
useApplicationLoader=true

java.lang.NullPointerException
    at org.apache.tomcat.util.xml.ObjectCreate.start(Compiled Code)
    at org.apache.tomcat.util.xml.XmlMapper.matchStart(Compiled Code)
    at org.apache.tomcat.util.xml.XmlMapper.startElement(Compiled Code)
    at org.xml.sax.helpers.XMLReaderAdapter.startElement(Compiled Code)
    at org.apache.crimson.parser.Parser2.maybeElement(Compiled Code)
    at org.apache.crimson.parser.Parser2.content(Compiled Code)
    at org.apache.crimson.parser.Parser2.maybeElement(Compiled Code)
    at org.apache.crimson.parser.Parser2.content(Compiled Code)
    at org.apache.crimson.parser.Parser2.maybeElement(Compiled Code)
    at org.apache.crimson.parser.Parser2.parseInternal(Compiled Code)
    at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
    at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
    at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
    at org.apache.tomcat.util.xml.XmlMapper.readXml(Unknown Source)
    at 
org.apache.tomcat.modules.config.ServerXmlReader.loadConfigFile(Unknown
Source)
    at 
org.apache.tomcat.modules.config.ServerXmlReader.addInterceptor(Compiled
Code)
    at org.apache.tomcat.core.ContextManager.addInterceptor(Compiled Code)
    at org.apache.tomcat.startup.EmbededTomcat.initContextManager(Compiled
Code)
    at org.apache.tomcat.startup.EmbededTomcat.execute1(Unknown Source)
    at org.apache.tomcat.startup.EmbededTomcat$1.run(Unknown Source)
    at org.apache.tomcat.util.compat.Jdk11Compat.doPrivileged(Unknown
Source)
    at org.apache.tomcat.startup.EmbededTomcat.execute(Unknown Source)
    at org.apache.tomcat.startup.Tomcat.startTomcat(Unknown Source)
    at org.apache.tomcat.startup.Tomcat.execute(Unknown Source)
    at org.apache.tomcat.startup.Tomcat.main(Unknown Source)
    at 
com.apple.mrj.JManager.JMStaticMethodDispatcher.run(JMAWTContextImpl.java)
    at java.lang.Thread.run(Thread.java)
EmbededTomcat: exception initializing ContextManager
org.apache.tomcat.core.TomcatException: Root cause - null
    at 
org.apache.tomcat.modules.config.ServerXmlReader.loadConfigFile(Unknown
Source)
    at 
org.apache.tomcat.modules.config.ServerXmlReader.addInterceptor(Compiled
Code)
    at org.apache.tomcat.core.ContextManager.addInterceptor(Compiled Code)
    at org.apache.tomcat.startup.EmbededTomcat.initContextManager(Compiled
Code)
    at org.apache.tomcat.startup.EmbededTomcat.execute1(Unknown Source)
    at org.apache.tomcat.startup.EmbededTomcat$1.run(Unknown Source)
    at org.apache.tomcat.util.compat.Jdk11Compat.doPrivileged(Unknown
Source)
    at org.apache.tomcat.startup.EmbededTomcat.execute(Unknown Source)
    at org.apache.tomcat.startup.Tomcat.startTomcat(Unknown Source)
    at org.apache.tomcat.startup.Tomcat.execute(Unknown Source)
    at org.apache.tomcat.startup.Tomcat.main(Unknown Source)
    at 
com.apple.mrj.JManager.JMStaticMethodDispatcher.run(JMAWTContextImpl.java)
    at java.lang.Thread.run(Thread.java)
org.apache.tomcat.core.TomcatException: Root cause -
EmbededTomcat.initContextManager
    at org.apache.tomcat.startup.Tomcat.startTomcat(Unknown Source)
    at org.apache.tomcat.startup.Tomcat.execute(Unknown Source)
    at org.apache.tomcat.startup.Tomcat.main(Unknown Source)
    at 
com.apple.mrj.JManager.JMStaticMethodDispatcher.run(JMAWTContextImpl.java)
    at java.lang.Thread.run(Thread.java)



AND WHEN STARTING WITH
org.apache.tomcat.startup.EmbededTomcat -estart


Jdk11Compat: Installing jar protocol handler
EmbededTomcat: Using default embedded config
EmbededTomcat: Default commonCL
2002-01-22 15:32:43 - PathSetter: home=/Jai/Desktop
Folder/servlet/jakarta-tomcat-3.3a/
2002-01-22 15:32:45 - AutoWebApp: Auto-Adding DEFAULT:/admin
2002-01-22 15:32:45 - AutoWebApp: Auto-Adding DEFAULT:/examples
2002-01-22 15:32:46 - AutoWebApp: Auto-Adding DEFAULT:/
2002-01-22 15:32:46 - ContextManager: Tomcat configured and in stable state
2002-01-22 15:32:46 - ContextManager: Adding  DEFAULT:/admin
2002-01-22 15:32:46 - ContextManager: Adding  DEFAULT:/examples
2002-01-22 15:32:47 - ContextManager: Adding  DEFAULT:/ROOT
2002-01-22 15:32:47 - Ctx(/admin) : Validating web.xml
ERROR reading /Jai/Desktop
Folder/servlet/jakarta-tomcat-3.3a/webapps/admin//WEB-INF/web.xml
At java.lang.NullPointerException

2002-01-22 15:32:48 - WebXmlReader: ERROR initializing /Jai/Desktop
Folder/servlet/jakarta-tomcat-3.3a/webapps/admin//WEB-INF/web.xml -
java.lang.NullPointerException
    at org.apache.tomcat.util.xml.XmlMapper.resolveEntity(Unknown Source)
    at 
org.apache.crimson.parser.ExternalEntity.getInputSource(ExternalEntity.java:
89)
    at org.apache.crimson.parser.Parser2.pushReader(Parser2.java:3133)
    at org.apache.crimson.parser.Parser2.externalParameterEntity(Compiled
Code)
    at org.apache.crimson.parser.Parser2.maybeDoctypeDecl(Compiled Code)
    at org.apache.crimson.parser.Parser2.parseInternal(Compiled Code)
    at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
    at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
    at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
    at org.apache.tomcat.util.xml.XmlMapper.readXml(Unknown Source)
    at org.apache.tomcat.facade.WebXmlReader.processWebXmlFile(Unknown
Source)
    at org.apache.tomcat.facade.WebXmlReader.contextInit(Compiled Code)
    at org.apache.tomcat.core.Context.init(Compiled Code)
    at org.apache.tomcat.core.ContextManager.init(Compiled Code)
    at org.apache.tomcat.startup.EmbededTomcat.initContextManager(Compiled
Code)
    at org.apache.tomcat.startup.EmbededTomcat.execute1(Unknown Source)
    at org.apache.tomcat.startup.EmbededTomcat$1.run(Unknown Source)
    at org.apache.tomcat.util.compat.Jdk11Compat.doPrivileged(Unknown
Source)
    at org.apache.tomcat.startup.EmbededTomcat.execute(Unknown Source)
    at org.apache.tomcat.startup.EmbededTomcat.main(Unknown Source)
    at 
com.apple.mrj.JManager.JMStaticMethodDispatcher.run(JMAWTContextImpl.java)
    at java.lang.Thread.run(Thread.java)

2002-01-22 15:32:49 - Ctx(/examples) : Validating web.xml
ERROR reading /Jai/Desktop
Folder/servlet/jakarta-tomcat-3.3a/webapps/examples//WEB-INF/web.xml
At java.lang.NullPointerException

2002-01-22 15:32:50 - WebXmlReader: ERROR initializing /Jai/Desktop
Folder/servlet/jakarta-tomcat-3.3a/webapps/examples//WEB-INF/web.xml -
java.lang.NullPointerException
    at org.apache.tomcat.util.xml.XmlMapper.resolveEntity(Unknown Source)
    at 
org.apache.crimson.parser.ExternalEntity.getInputSource(ExternalEntity.java:
89)
    at org.apache.crimson.parser.Parser2.pushReader(Parser2.java:3133)
    at org.apache.crimson.parser.Parser2.externalParameterEntity(Compiled
Code)
    at org.apache.crimson.parser.Parser2.maybeDoctypeDecl(Compiled Code)
    at org.apache.crimson.parser.Parser2.parseInternal(Compiled Code)
    at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
    at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
    at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
    at org.apache.tomcat.util.xml.XmlMapper.readXml(Unknown Source)
    at org.apache.tomcat.facade.WebXmlReader.processWebXmlFile(Unknown
Source)
    at org.apache.tomcat.facade.WebXmlReader.contextInit(Compiled Code)
    at org.apache.tomcat.core.Context.init(Compiled Code)
    at org.apache.tomcat.core.ContextManager.init(Compiled Code)
    at org.apache.tomcat.startup.EmbededTomcat.initContextManager(Compiled
Code)
    at org.apache.tomcat.startup.EmbededTomcat.execute1(Unknown Source)
    at org.apache.tomcat.startup.EmbededTomcat$1.run(Unknown Source)
    at org.apache.tomcat.util.compat.Jdk11Compat.doPrivileged(Unknown
Source)
    at org.apache.tomcat.startup.EmbededTomcat.execute(Unknown Source)
    at org.apache.tomcat.startup.EmbededTomcat.main(Unknown Source)
    at 
com.apple.mrj.JManager.JMStaticMethodDispatcher.run(JMAWTContextImpl.java)
    at java.lang.Thread.run(Thread.java)

2002-01-22 15:32:50 - Ctx() : Validating web.xml
ERROR reading /Jai/Desktop
Folder/servlet/jakarta-tomcat-3.3a/webapps/ROOT//WEB-INF/web.xml
At java.lang.NullPointerException

2002-01-22 15:32:51 - WebXmlReader: ERROR initializing /Jai/Desktop
Folder/servlet/jakarta-tomcat-3.3a/webapps/ROOT//WEB-INF/web.xml -
java.lang.NullPointerException
    at org.apache.tomcat.util.xml.XmlMapper.resolveEntity(Unknown Source)
    at 
org.apache.crimson.parser.ExternalEntity.getInputSource(ExternalEntity.java:
89)
    at org.apache.crimson.parser.Parser2.pushReader(Parser2.java:3133)
    at org.apache.crimson.parser.Parser2.externalParameterEntity(Compiled
Code)
    at org.apache.crimson.parser.Parser2.maybeDoctypeDecl(Compiled Code)
    at org.apache.crimson.parser.Parser2.parseInternal(Compiled Code)
    at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
    at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
    at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
    at org.apache.tomcat.util.xml.XmlMapper.readXml(Unknown Source)
    at org.apache.tomcat.facade.WebXmlReader.processWebXmlFile(Unknown
Source)
    at org.apache.tomcat.facade.WebXmlReader.contextInit(Compiled Code)
    at org.apache.tomcat.core.Context.init(Compiled Code)
    at org.apache.tomcat.core.ContextManager.init(Compiled Code)
    at org.apache.tomcat.startup.EmbededTomcat.initContextManager(Compiled
Code)
    at org.apache.tomcat.startup.EmbededTomcat.execute1(Unknown Source)
    at org.apache.tomcat.startup.EmbededTomcat$1.run(Unknown Source)
    at org.apache.tomcat.util.compat.Jdk11Compat.doPrivileged(Unknown
Source)
    at org.apache.tomcat.startup.EmbededTomcat.execute(Unknown Source)
    at org.apache.tomcat.startup.EmbededTomcat.main(Unknown Source)
    at 
com.apple.mrj.JManager.JMStaticMethodDispatcher.run(JMAWTContextImpl.java)
    at java.lang.Thread.run(Thread.java)

EmbededTomcat: Init time 14442
2002-01-22 15:32:51 - Http10Interceptor: Starting on 8080
2002-01-22 15:32:52 - Ajp12Interceptor: Starting on 8007
EmbededTomcat: Startup time 1353




> From: Larry Isaacs <Larry.Isaacs@sas.com>
> Reply-To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
> Date: Tue, 22 Jan 2002 15:26:48 -0500
> To: 'Tomcat Users List' <tomcat-user@jakarta.apache.org>
> Subject: RE: xml parsing error in tomcat3.3.a/jdk1.1.8
> 
> The stack trace and log would be helpful.  I would need
> to address this issue in Tomcat 3.3.1 before it releases.
> 
> Cheers,
> Larry
> 
>> -----Original Message-----
>> From: Jaishankar Jayaram [mailto:jai@interactiveink.com]
>> Sent: Tuesday, January 22, 2002 3:22 PM
>> To: Tomcat Users List
>> Subject: xml parsing error in tomcat3.3.a/jdk1.1.8
>> 
>> 
>> I searched the archives, but couldn't determine if this is
>> a known issue.
>> When starting tomcat, I kept getting an error saying there
>> was an error
>> parsing the server.xml. I am using the default files, as
>> downloaded, and
>> have not added any web apps either. Finally, I tried starting with the
>> estart switch, and tomcat did start, but it threw an XML
>> parsing error for
>> all the web apps' web.xml files (even the built in examples
>> and admin ones).
>> However the example servlets all worked properly.
>> 
>> I can post the log error message w/ the stack trace if
>> need be, but first
>> wanted to check if this is a known issue.
>> 
>> I am using the jdk1.1.8 compatible mrj2.2.5 and mrjsdk 2.2
>> on mac os 9.1
>> and have been successfully running tomcat 3.2.x (1 through 4).
>> 
>> Jai
>> 
>> 
>> --
>> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
>> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
>> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
>> 
> 
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> 


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message