?
Solved

Problem getting Solaris Tomcat server 4.05 to work with JDK 1.5

Posted on 2011-09-23
4
Medium Priority
?
478 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month11 days, 17 hours left to enroll

752 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