You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Joseph Shraibman <jk...@selectacast.net> on 2005/02/11 07:17:30 UTC

tomcat 5.5.7 won't start because of NPE

Using the out of box config files and webapps:

java version "1.5.0_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08)
Java HotSpot(TM) Client VM (build 1.5.0_01-b08, mixed mode, sharing)

This appears on catalina.out:

Feb 11, 2005 12:35:51 AM org.apache.catalina.startup.Catalina load
WARNING: Can't load server.xml
Feb 11, 2005 12:35:51 AM org.apache.catalina.startup.Catalina load
WARNING: Can't load server.xml
Feb 11, 2005 12:35:51 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 0 ms
java.lang.reflect.InvocationTargetException
         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.start(Bootstrap.java:271)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
Caused by: java.lang.NullPointerException
         at org.apache.catalina.startup.Catalina.await(Catalina.java:600)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:560)
         ... 6 more

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: tomcat 5.5.7 won't start because of NPE

Posted by Joseph Shraibman <jk...@selectacast.net>.
Yup, that was it.  I could have sworn I chwoned all the files but I 
guess I didn't.  Thanks.

Parsons Technical Services wrote:
> The real problem is the lines above it. Either the server.xml is hosed, 
> missing, corrupted or Tomcat doesn't have rights to it.
> 
> What OS are you running on?
> 
> Doug

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: tomcat 5.5.7 won't start because of NPE

Posted by Parsons Technical Services <pa...@earthlink.net>.
The real problem is the lines above it. Either the server.xml is hosed, 
missing, corrupted or Tomcat doesn't have rights to it.

What OS are you running on?

Doug


----- Original Message ----- 
From: "Joseph Shraibman" <jk...@selectacast.net>
To: <to...@jakarta.apache.org>
Sent: Friday, February 11, 2005 1:17 AM
Subject: tomcat 5.5.7 won't start because of NPE


> Using the out of box config files and webapps:
>
> java version "1.5.0_01"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08)
> Java HotSpot(TM) Client VM (build 1.5.0_01-b08, mixed mode, sharing)
>
> This appears on catalina.out:
>
> Feb 11, 2005 12:35:51 AM org.apache.catalina.startup.Catalina load
> WARNING: Can't load server.xml
> Feb 11, 2005 12:35:51 AM org.apache.catalina.startup.Catalina load
> WARNING: Can't load server.xml
> Feb 11, 2005 12:35:51 AM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 0 ms
> java.lang.reflect.InvocationTargetException
>         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.start(Bootstrap.java:271)
>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
> Caused by: java.lang.NullPointerException
>         at org.apache.catalina.startup.Catalina.await(Catalina.java:600)
>         at org.apache.catalina.startup.Catalina.start(Catalina.java:560)
>         ... 6 more
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org