tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 6341] New: - tomcat dies on startup
Date Sat, 09 Feb 2002 10:16:24 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6341>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6341

tomcat dies on startup

           Summary: tomcat dies on startup
           Product: Tomcat 3
           Version: 3.3 Final
          Platform: Macintosh
        OS/Version: MacOS 9
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Config
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: m.redington@ucl.ac.uk
                CC: m.redington@ucl.ac.uk


Tomcat (3.3a.1, but also a similar problem with 3.2.4) dies on startup on Mac Classic OS (version
9.1). With the exceptions listed below. This is a major pain, as tomcat is the only decent
free webserver for this platform.

The cause of the java.io.IOException: OSErr: -50 at java.io.File.getCanonicalPath is probably
the following lines from org/apache/tomcat/util/IntrospectionUtils.java

                  File f1=new File ( f, "..");

The ".." path is probably not valid on Classic Mac OS. tomcat 3.2.1 runs ok, so this (or a
similar) bug probably got introduced somewhere in 3.2.[234]


Jdk11Compat: Installing jar protocol handler
java.io.IOException: OSErr: -50
        at java.io.File.getCanonicalPath(File.java)
        at org.apache.tomcat.util.IntrospectionUtils.guessInstall(Compiled Code)
        at org.apache.tomcat.util.IntrospectionUtils.guessInstall(Unknown Source)
        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: Default commonCL
ERROR reading /iMac/Applications (Mac OS 9)/jakarta-
tomcat-3.3a.1/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)

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message