You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Selvaraj N <se...@india.hp.com> on 2003/03/28 17:16:03 UTC

Please help : Urgent : Tomcat 4.1.18 start problem

Hi,

I am trying to use the following command on unix to start Tomcat 4.1.18
server. But, when I use the same command to start Tomcat 4.0.3, it
starts fine.

/opt/java/bin/java
-Djava.endorsed.dirs="/opt/tomcat/bin:/opt/tomcat/common/lib" -classpath
"/opt/java/jre/lib/rt.jar:/opt/java/lib/tools.jar:/opt/tomcat/bin/bootst
rap
.jar" -Dcatalina.base="/opt/tomcat" -Dcatalina.home="/opt/tomcat"
-Djava.io.tmpdir="/opt/tomcat/temp"
org.apache.catalina.startup.Bootstrap -config
"/opt/tomcat/conf/server.xml" start


The following was the error message :

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:345)
        at
org.apache.catalina.startup.Catalina.createStartDigester(Catalina.java:2
80)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:441)
        at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
        at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
        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(Bootstrap.java:203)
Caused by: java.lang.NullPointerException
        at
org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:543)
        ... 12 more


As I mentioned, Tomcat 4.0.3 server starts wit out any problem. Please
help me out to solve this problem as this is very critical for us.

Thanks in  advance,
Selva


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