Solved

Problem getting Solaris Tomcat server 4.05 to work with JDK 1.5

Posted on 2011-09-23
4
476 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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

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 …
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
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 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.:

705 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