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 http://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.html#Command_line_parameters 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. https://issues.apache.org/bugzilla/show_bug.cgi?id=56143 Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org