Excellent! Glad to hear it worked out. On 7/6/07, Tony Fountain <[EMAIL PROTECTED]> wrote:
Daniel, Thanks for the suggestion. That did the trick. The Tomcat application is now running as a windows service and everything is working. Odd situation though since I always thought that environment variables were recognized immediately (except for previously opened command windows). Lesson learned :). Thanks, Tony Fountain Benefit Concepts, Inc. (419) 244-9936 x9010 -----Original Message----- From: Daniel Stephens [mailto:[EMAIL PROTECTED] Sent: Thursday, July 05, 2007 4:32 PM To: Tomcat Users List Subject: Re: Error starting Tomcat 5.5 as a Windows service 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 <[EMAIL PROTECTED]> 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 > ________________________________________________________________________ This Email has been scanned for all viruses by PAETEC Email Scanning Services, utilizing MessageLabs proprietary SkyScan infrastructure. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.paetec.com. ________________________________________________________________________ --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]