tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Smith <d...@cornell.edu>
Subject Re: Error starting Tomcat 5.5 as a Windows service
Date Thu, 05 Jul 2007 21:19:09 GMT
java.lang.Object is the core ancestor of all java classes.  Given it's 
pretty much available by default regardless of classpath or anything 
else I suspect your JVM install is messed up in some manner.  Try 
reinstalling your JVM and start tomcat again.

--David

Tony Fountain wrote:
> 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