Solved

Problem getting Solaris Tomcat server 4.05 to work with JDK 1.5

Posted on 2011-09-23
4
473 Views
Last Modified: 2013-12-28
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
Comment
Question by:Robert Silver
  • 3
4 Comments
 
LVL 5

Expert Comment

by:mrfixit22
ID: 36594053
http://raibledesigns.com/tomcat/boot-howto.html   Take a look at this and see if that helps .
0
 
LVL 2

Author Comment

by:Robert Silver
ID: 36942204
No it does not help
0
 
LVL 2

Accepted Solution

by:
Robert Silver earned 0 total points
ID: 36976015
I got better answeres on StackOverflow
0
 
LVL 2

Author Closing Comment

by:Robert Silver
ID: 37013596
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question