tomcat-users mailing list archives

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

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:

http://forum.java.sun.com/thread.jspa?threadID=5121172

Hope this helps!

-randy
 
Randy Bumgardner
Software Engineer
1400 Marina Way South
Richmond, CA 94804
+1 510.621.5010 direct
+1 510.402.8750 cell
randy.bumgardner@inovis.com
www.inovis.com

-----Original Message-----
From: Tony Fountain [mailto:tfountain@benefitconcepts.com] 
Sent: Thursday, July 05, 2007 1:14 PM
To: users@tomcat.apache.org
Subject: Error starting Tomcat 5.5 as a Windows service

Hi,
 
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
initialized
	[2007-07-05 15:53:54] [info] Running Service...
	[2007-07-05 15:53:54] [1098 prunsrv.c] [debug] Inside
ServiceMain...
	[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
5.5\common\endorsed
	[2007-07-05 15:53:54] [400  javajni.c] [debug] Jvm Option[3]
-Djava.io.tmpdir=C:\Program Files\Apache Software Foundation\Tomcat
5.5\temp
	[2007-07-05 15:53:54] [400  javajni.c] [debug] Jvm Option[4]
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
	[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\logging.properties
	[2007-07-05 15:53:54] [400  javajni.c] [debug] Jvm Option[6]
-Djava.class.path=C:\Program Files\Apache Software Foundation\Tomcat
5.5\bin\bootstrap.jar
	[2007-07-05 15:53:54] [400  javajni.c] [debug] Jvm Option[7]
vfprintf
	[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
appreciated.
 
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.
 
Thanks,
Tony

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message