tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Stephens" <danma...@gmail.com>
Subject Re: Error starting Tomcat 5.5 as a Windows service
Date Thu, 05 Jul 2007 20:31:37 GMT
Make sure you have CATALINA_HOME pointed to your tomcat instance. make sure
your java home is correct.. It sounds like it can't find the java home..

You did boot after the install right? If you added that environment variable
to the system section, you'll need to boot to pick it up or open a new cmd
prompt to re-read the environment.

On 7/5/07, Tony Fountain <tfountain@benefitconcepts.com> 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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message