Thanks for all the help. I tried the server-minimal.xml file a second
time and it worked. I'm not sure what was happening. I also
installed JavaWebServicesDeveloperPack and some other stuff that might
have been causing an issue.
It was very bizarre because at one point, I had the minimal
I am an experienced Tomcat user who is all of a sudden having trouble
running Tomcat on my home machine. I am running Tomcat 5.0.28 and I
get a Null Pointer when trying to start Tomcat.
I have JAVA_HOME and CATALINA_HOME configured.
The very first line in the output says Can't load server.xml
Hi,
You seem to have added quite a few lines into your
catalina.sh. The stock script ends at line 287 for
me. Can you tell us what modifications you have made?
Funny that I can not find how the server.xml is
loaded by the DigesterFactory.java nor by
Bootstrap.java when I browsed their
Sean Schofield wrote:
I am an experienced Tomcat user who is all of a sudden having trouble
running Tomcat on my home machine. I am running Tomcat 5.0.28 and I
get a Null Pointer when trying to start Tomcat.
I have JAVA_HOME and CATALINA_HOME configured.
The very first line in the output says
I looked in the wrong source codes. I should have
looked at Catalina.java. Here is the link:
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/Catalina.java?rev=1.35view=log
Anyhow, the await() call is at line 578 but thats
after the
If you look at the 5.0.28 src distro, you can see that line 519 of
Catalina.java includes a reference to the server object. Most likely the
npe is happening because the server initialization is failing.
The first error (Can't load server.xml) looks like it is generated by
the load method when