tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Randy Bumgardner" <>
Subject RE: Error starting Tomcat 5.5 as a Windows service
Date Thu, 05 Jul 2007 22:05:56 GMT

We had the same issue recently. Copying msvcr71.dll into the
$CATALINA_HOME/bin directory fixed the issue... Here's a thread with
more background:

Hope this helps!

Randy Bumgardner
Software Engineer
1400 Marina Way South
Richmond, CA 94804
+1 510.621.5010 direct
+1 510.402.8750 cell

-----Original Message-----
From: Tony Fountain [] 
Sent: Thursday, July 05, 2007 1:14 PM
Subject: Error starting Tomcat 5.5 as a Windows service

I am attempting to install Tomcat 5.5.23 as a Windows service on a
Windows 2003 Server box.  The steps I went through are as follows

*	Installed the JDK 1.5 Update 12
*	Manually added the environment variable JAVA_HOME to C:\Program
Files\Java\jdk1.5.0_12 (as a system variable, not user level)
*	Ran the windows installer package and selected the full install
option.  At this point I expected to be able to test the service can
start and serve requests using examples installed with the installation
but I am unable to.  Anytime I try to start the Windows service the
following error is logged:

	[2007-07-05 15:53:54] [1276 prunsrv.c] [debug] Procrun log
	[2007-07-05 15:53:54] [info] Running Service...
	[2007-07-05 15:53:54] [1098 prunsrv.c] [debug] Inside
	[2007-07-05 15:53:54] [info] Starting service...
	[2007-07-05 15:53:54] [400  javajni.c] [debug] Jvm Option[0]
-Dcatalina.home=C:\Program Files\Apache Software Foundation\Tomcat 5.5
	[2007-07-05 15:53:54] [400  javajni.c] [debug] Jvm Option[1]
-Dcatalina.base=C:\Program Files\Apache Software Foundation\Tomcat 5.5
	[2007-07-05 15:53:54] [400  javajni.c] [debug] Jvm Option[2]
-Djava.endorsed.dirs=C:\Program Files\Apache Software Foundation\Tomcat
	[2007-07-05 15:53:54] [400  javajni.c] [debug] Jvm Option[3]\Program Files\Apache Software Foundation\Tomcat
	[2007-07-05 15:53:54] [400  javajni.c] [debug] Jvm Option[4]
	[2007-07-05 15:53:54] [400  javajni.c] [debug] Jvm Option[5]
-Djava.util.logging.config.file=C:\Program Files\Apache Software
Foundation\Tomcat 5.5\conf\
	[2007-07-05 15:53:54] [400  javajni.c] [debug] Jvm Option[6]
-Djava.class.path=C:\Program Files\Apache Software Foundation\Tomcat
	[2007-07-05 15:53:54] [400  javajni.c] [debug] Jvm Option[7]
	[2007-07-05 15:53:54] [info] Error occurred during
initialization of VM
	[2007-07-05 15:53:54] [info] java/lang/NoClassDefFoundError
	[2007-07-05 15:53:54] [info] : java/lang/Object

I'm assuming it's a class path issue but being new to the world of Java,
I'm not sure what could be missing out of a basic installation.  I have
performed some Google searches and even searched through some of the
archives but was unable to find anything specific to this situation.
Any pointers or a push in the right direction would be greatly
FYI - Even at the Windows command prompt, if I type java -version I
receive this error:

	Error occurred during initialization of VM
	java/lang/NoClassDefFoundError: java/lang/Object

Same error, different cause so I'm not completely sure if this is even
related to the Tomcat installation, rather possibly some odd situation
that was encountered when the JDK was installed.

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message