tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <>
Subject Re: Windows Service won't start
Date Tue, 11 Nov 2014 09:15:52 GMT
2014-11-10 21:04 GMT+03:00 Christopher Schultz
> When a Tomcat Windows Service won't start (with the super-helpful "a
> service-specific error occurred"), where can I look for detailed
> information about what happened?
> (Please be kind, I'm not an everyday Windows administrator)
> I installed the service myself using a process almost exactly like this:
> C:\> SET CATALINA_HOME=[path to Tomcat]
> C:\> SET CATALINA_BASE=[path to my catalina.base]
> C:\> SET JAVA_HOME=[path to Java]
> C:\> %CATALINA_HOME%\bin\service.bat install myproject
> I can see the Windows Service called "Apache Tomcat 7.0 myproject" in
> the Services management console. Clicking "start" results in a short
> wait and then the error about how the service itself had a problem
> with no details.
> - From the CLI, running "net start myproject" yields a similar error.
> Any suggestions?

Tomcat version = ?

Run tomcat7w.exe and check that service parameters are as expected
(bootstrap class name, start/stop arguments).  It is also possible to
use registry viewer, but using tomcat7w.exe is more convenient.

Path to log files by one of options there - it shall be Tomcat log
directory. If it is empty then --LogPath has default value, as
documented in

Some old versions of service.bat of Tomcat 7 had a bug that
"service.bat install" had to be run from console window that itself is
run with elevated privileges.

Best regards,
Konstantin Kolinko

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

View raw message