tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barry Kimelman" <>
Subject Re: Can't start Tomcat5 service on Windows Vista Home Premium
Date Sat, 12 Sep 2009 15:37:58 GMT
Thanks to all who replied to my message. I was able to get Tomcat 6 up and 
running by starting it from the command line and for now that is good 
enough.  I will eventually work on getting it running as a service, but for 
now the fact that it is running is satisfactory.

----- Original Message ----- 
From: "Barry Kimelman" <>
To: <>
Sent: Sunday, September 06, 2009 3:27 PM
Subject: Can't start Tomcat5 service on Windows Vista Home Premium

> My PC is running the 64 bit version of Windows Visa Home Premium.
> I am trying to get Tomcat 5.5.28 up and running. In years past I have been 
> able to get older versions of Tomcat up and running on various versions of 
> Windows. But now I am getting an error which I have not previously 
> encountered.
> The problem: at the end of the installation process the installation 
> wizard asks me if I want to start  Tomcat. I select "yes" and click OK to 
> continue. I receive and error message that simply states:
> Windows could not start the Apache Tomcat on Local Computer. For more 
> information,
> review the System Event Log. If this is a non-Microsoft service, contact 
> the service
> vendor, and refer to service-specific error code 0.
> I restarted windows and tghen tried to start Tomcat. I received the same 
> error message.
> I used Google to search for people with similar problems and followed the 
> advice but I was not successful. I tried the following
> *  I turned off User Account Control
> * I modified the firewall setting to allow access to port 8080
> I checked the windows system event log and found the following error.
> "The Apache Tomcat service terminated with service-specific  error (0x0).
> The event id asscoiated with this error was 7024. A search of the web 
> turned up the following description of errfor 7024.
> Event ID 7024 - Service Stop Operations
> Updated: December 11, 2007
> Applies To: Windows Server 2008
> Service Control Manager (SCM) stops services and driver services. It also 
> reports when services terminate unexpectedly or fail to restart after it 
> takes corrective action.
> Event Details
> Product: Windows Operating System
> ID: 7024
> Source: Service Control Manager
> Version: 6.0
> Message: The %1 service terminated with service-specific error %2.
> Resolve
> Review the service-specific error information
> To resolve this issue, first review the service-specific error code that 
> the Service Control Manager encountered when trying to stop the service, 
> and then review the Event logs for other related events that have been 
> logged by the Service Control Manager (SCM) Eventlog Provider.
> To perform these procedures, you must have membership in Administrators, 
> or you must have been delegated the appropriate authority.
> Review the service-specific error code
> To review the service-specific error code:
> Click the Start button, Run, then type cmd to open a command prompt.
> Type sc query service_name (where service_name is the name of the service) 
> at the command prompt to display the service-specific SERVICE_EXIT_CODE 
> error code that the Service Control Manager encountered when stopping the 
> service.
> Note: If the service was stopped successfully, the SERVICE_EXIT_CODE field 
> should contain a zero (0). If the service failed to stop when an attempt 
> was made, this field should contain an exit code provided by the service 
> when it could not stop.
> I found the following text a Tomcat logfile:
> [2009-09-06 15:18:15] [info] Starting service...
> [2009-09-06 15:18:15] [197  javajni.c] [error] %1 is not a valid Win32 
> application.
> [2009-09-06 15:18:15] [994  prunsrv.c] [error] Failed creating java 
> C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll
> [2009-09-06 15:18:15] [1269 prunsrv.c] [error] ServiceStart returned 1
> [2009-09-06 15:18:15] [info] Run service finished.
> [2009-09-06 15:18:15] [info] Procrun finished.
> Does anyone have any suggestions on how I can resolve this issue ?
> Thanks for all your assistance.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message