• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 483
  • Last Modified:

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/server.xml
At null

Catalina.start: java.lang.NullPointerException
java.lang.NullPointerException
        at java.util.Hashtable.get(Hashtable.java:336)
        at org.apache.catalina.util.xml.XmlMapper.resolveEntity(XmlMapper.java:441)
        at org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalEntity(DefaultEntityHandler.java:750)
        at org.apache.xerces.readers.DefaultEntityHandler.startReadingFromEntity(DefaultEntityHandler.java:658)
        at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1264)
        at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
        at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
        at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:290)
        at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:228)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:725)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
        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:585)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java: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
0
Robert Silver
Asked:
Robert Silver
  • 3
1 Solution
 
mrfixit22Commented:
http://raibledesigns.com/tomcat/boot-howto.html   Take a look at this and see if that helps .
0
 
Robert SilverAuthor Commented:
No it does not help
0
 
Robert SilverAuthor Commented:
I got better answeres on StackOverflow
0
 
Robert SilverAuthor Commented:
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.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now