You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Alexander Langer <al...@al-arenal.de> on 2003/04/23 13:19:47 UTC

java error on startup

I just installed tomcat 4.1.24 (RPM) on my linux box (sun jdk/sdk
1.4.1_02) but it doesn't start. I just get this in the log:

org.apache.commons.logging.LogConfigurationException:
java.lang.NullPointerException
        at
org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:558)
        at
org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:355)
        at
org.apache.commons.logging.LogFactory.getLog(LogFactory.java:409)
        at
org.apache.commons.digester.Digester.<init>(Digester.java:352)
        at
org.apache.catalina.startup.Catalina.createStartDigester(Unknown Source)
        at org.apache.catalina.startup.Catalina.start(Unknown Source)
        at org.apache.catalina.startup.Catalina.execute(Unknown Source)
        at org.apache.catalina.startup.Catalina.process(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.catalina.startup.Bootstrap.main(Unknown Source)
Caused by: java.lang.NullPointerException
        at
org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:543)
        ... 12 more

Tomcat 4.0.4 ran just fine on the same box. Any suggestions?



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


Re: java error on startup

Posted by Tim Funk <fu...@joedog.org>.
Check that you don;t have conflicting commons-logging jars  (or other jars) 
in your webapp and common/lib

-Tim

Alexander Langer wrote:
> I just installed tomcat 4.1.24 (RPM) on my linux box (sun jdk/sdk
> 1.4.1_02) but it doesn't start. I just get this in the log:
> 
> org.apache.commons.logging.LogConfigurationException:
> java.lang.NullPointerException
>         at
> org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:558)
>         at
> org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:355)
>         at
> org.apache.commons.logging.LogFactory.getLog(LogFactory.java:409)
>         at
> org.apache.commons.digester.Digester.<init>(Digester.java:352)
>         at
> org.apache.catalina.startup.Catalina.createStartDigester(Unknown Source)
>         at org.apache.catalina.startup.Catalina.start(Unknown Source)
>         at org.apache.catalina.startup.Catalina.execute(Unknown Source)
>         at org.apache.catalina.startup.Catalina.process(Unknown Source)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at org.apache.catalina.startup.Bootstrap.main(Unknown Source)
> Caused by: java.lang.NullPointerException
>         at
> org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:543)
>         ... 12 more
> 
> Tomcat 4.0.4 ran just fine on the same box. Any suggestions?
> 
> 
> 
> ---------------------------------------------------------------------
> 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