Robert Silver
asked on
Problem getting Solaris Tomcat server 4.05 to work with JDK 1.5
Hello I have had no trouble getting Tomcat 6.0 running , however this Sun Sparc Solaris 10
server based Tomcat 4.05 fails to start. after essentially copying all the default xml conf files
I could find from a Tomcat 4.05 release I tried to launch only to get the following error:
# ./catalina.sh run
Using CATALINA_BASE: /usr/apache/tomcat
Using CATALINA_HOME: /usr/apache/tomcat
Using CATALINA_TMPDIR: /usr/apache/tomcat/temp
Using JAVA_HOME: /usr/jdk/jdk1.5.0_07
ERROR reading /usr/apache/tomcat/conf/se rver.xml
At null
Catalina.start: java.lang.NullPointerExcep tion
java.lang.NullPointerExcep tion
at java.util.Hashtable.get(Ha shtable.ja va:336)
at org.apache.catalina.util.x ml.XmlMapp er.resolve Entity(Xml Mapper.jav a:441)
at org.apache.xerces.readers. DefaultEnt ityHandler .startRead ingFromExt ernalEntit y(DefaultE ntityHandl er.java:75 0)
at org.apache.xerces.readers. DefaultEnt ityHandler .startRead ingFromEnt ity(Defaul tEntityHan dler.java: 658)
at org.apache.xerces.framewor k.XMLDocum entScanner $ContentDi spatcher.d ispatch(XM LDocumentS canner.jav a:1264)
at org.apache.xerces.framewor k.XMLDocum entScanner .parseSome (XMLDocume ntScanner. java:381)
at org.apache.xerces.framewor k.XMLParse r.parse(XM LParser.ja va:1081)
at org.xml.sax.helpers.XMLRea derAdapter .parse(XML ReaderAdap ter.java:2 23)
at javax.xml.parsers.SAXParse r.parse(SA XParser.ja va:345)
at javax.xml.parsers.SAXParse r.parse(SA XParser.ja va:290)
at org.apache.catalina.util.x ml.XmlMapp er.readXml (XmlMapper .java:228)
at org.apache.catalina.startu p.Catalina .start(Cat alina.java :725)
at org.apache.catalina.startu p.Catalina .execute(C atalina.ja va:681)
at org.apache.catalina.startu p.Catalina .process(C atalina.ja va:179)
at sun.reflect.NativeMethodAc cessorImpl .invoke0(N ative Method)
at sun.reflect.NativeMethodAc cessorImpl .invoke(Na tiveMethod AccessorIm pl.java:39 )
at sun.reflect.DelegatingMeth odAccessor Impl.invok e(Delegati ngMethodAc cessorImpl .java:25)
at java.lang.reflect.Method.i nvoke(Meth od.java:58 5)
at org.apache.catalina.startu p.Bootstra p.main(Boo tstrap.jav a:243)
#
Now it occurs to me maybe the version of Java is not compatible or one of my environment variables is wrong:
There should be a way to increase the debug level in the server.xml file but I can not seem to
find a server.xml file that applies this in version 4.05 for Solaris
Frankly if anyone knows of a good place to obtain a pkgadd package that is more up todate
I would really appreciate the information
server based Tomcat 4.05 fails to start. after essentially copying all the default xml conf files
I could find from a Tomcat 4.05 release I tried to launch only to get the following error:
# ./catalina.sh run
Using CATALINA_BASE: /usr/apache/tomcat
Using CATALINA_HOME: /usr/apache/tomcat
Using CATALINA_TMPDIR: /usr/apache/tomcat/temp
Using JAVA_HOME: /usr/jdk/jdk1.5.0_07
ERROR reading /usr/apache/tomcat/conf/se
At null
Catalina.start: java.lang.NullPointerExcep
java.lang.NullPointerExcep
at java.util.Hashtable.get(Ha
at org.apache.catalina.util.x
at org.apache.xerces.readers.
at org.apache.xerces.readers.
at org.apache.xerces.framewor
at org.apache.xerces.framewor
at org.apache.xerces.framewor
at org.xml.sax.helpers.XMLRea
at javax.xml.parsers.SAXParse
at javax.xml.parsers.SAXParse
at org.apache.catalina.util.x
at org.apache.catalina.startu
at org.apache.catalina.startu
at org.apache.catalina.startu
at sun.reflect.NativeMethodAc
at sun.reflect.NativeMethodAc
at sun.reflect.DelegatingMeth
at java.lang.reflect.Method.i
at org.apache.catalina.startu
#
Now it occurs to me maybe the version of Java is not compatible or one of my environment variables is wrong:
There should be a way to increase the debug level in the server.xml file but I can not seem to
find a server.xml file that applies this in version 4.05 for Solaris
Frankly if anyone knows of a good place to obtain a pkgadd package that is more up todate
I would really appreciate the information
http://raibledesigns.com/tomcat/boot-howto.html Take a look at this and see if that helps .
ASKER
No it does not help
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Experts Exchange is losing its edge. It must improve.
Here are some tips for you:
Do a dead link check across all accepted answers and re-answer them
Update all old information with links to possible upgrades and source software sites e.g microsoft. MSDN etc...
Also take a good look at the questions not being answered. pay for the answers. I mean I pay $10/month and I get better service on StackOverflow
You guys can do much better than this. I posted a question about an old platform. There should have either been an archived answer covering this or else too many important questions were never answered.
Here are some tips for you:
Do a dead link check across all accepted answers and re-answer them
Update all old information with links to possible upgrades and source software sites e.g microsoft. MSDN etc...
Also take a good look at the questions not being answered. pay for the answers. I mean I pay $10/month and I get better service on StackOverflow
You guys can do much better than this. I posted a question about an old platform. There should have either been an archived answer covering this or else too many important questions were never answered.