You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Bradley M. Handy" <br...@williamstonfmc.org> on 2003/06/06 18:51:13 UTC

Can't get Tomcat to start as a service in Windows 2000

I posted this message once, but I sent it from the wrong address.  Sorry if 
it gets posted twice.



I need to have Tomcat set a property on startup, so I went to reconfigure 
the service and I get the following exception:

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(Catalina.java:280)
	at org.apache.catalina.startup.CatalinaService.load(CatalinaService.java:183)
	at org.apache.catalina.startup.CatalinaService.load(CatalinaService.java:258)
	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:324)
	at 
org.apache.catalina.startup.BootstrapService.init(BootstrapService.java:231)
	at 
org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:297)
Caused by: java.lang.NullPointerException
	at org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:543)
	... 12 more

I'm using the following configuration when I run "tomcat.exe":

tomcat.exe
-install "Apache Tomcat 4.1"
"C:\Java\J2SE\v1.4.1_03\jre\bin\client\jvm.dll"
-Djava.class.path=D:\Servers\Tomcat\v4.1.24\bin\bootstrap.jar
-Djava.endorsed.dirs=D:\Servers\Tomcat\v4.1.24\bin;D:\Servers\Tomcat\v4.1.24\common\lib
-Dcatalina.home=D:\Servers\Tomcat\v4.1.24
-Djava.naming.ldap.version=3
-start org.apache.catalina.startup.BootstrapService -params -config 
conf/server.xml -debug start
-stop org.apache.catalina.startup.BootstrapService -params stop
-out D:\Servers\Tomcat\v4.1.24\logs\stdout.log
-err D:\Servers\Tomcat\v4.1.24\logs\stderr.log
-current D:\Servers\Tomcat\v4.1.24\

Does anyone see anything wrong with the way I'm configuring the service?

Brad Handy 


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