You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Bill Rebey <bi...@isirona.com> on 2012/02/05 03:13:27 UTC

Windows Service Start Fails at Command Line

Using 6.35 of Tomcat, the line "tomcat6.exe //RS//Tomcat6" fails to start Tomcat.

It tries, but it stops very early with this in the "commons-daemon-<date>.log" file:

[2012-02-04 20:50:32] [info]  Commons Daemon procrun (1.0.7.0 32-bit) started
[2012-02-04 20:50:32] [info]  Running 'Tomcat6' Service...
[2012-02-04 20:50:47] [info]  Run service finished.
[2012-02-04 20:50:47] [error] Commons Daemon procrun failed with exit value: 4 (Failed to run service)
[2012-02-04 20:50:47] [error] The service process could not connect to the service controller.

Any thoughts?

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


RE: Windows Service Start Fails at Command Line

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Bill Rebey [mailto:bill.rebey@isirona.com] 
> Subject: Windows Service Start Fails at Command Line

> Using 6.35 of Tomcat, the line "tomcat6.exe //RS//Tomcat6"
> fails to start Tomcat.

That's as expected; the //RS option is only for use by the Windows service manager.  If you want to start the service from the command line, use:

    net start Tomcat6

or

    tomcat6w //MR//Tomcat6

The latter will also place the Tomcat monitor into the system tray.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


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