Tag Archives: Tomcat service

Tomcat service failed to start

After registering Tomcat as a Windows system service, it has been unable to start and has been reporting an error:
The Apache Tomcat 7.0 Tomcat7 service with The following service-specific error:
penfunction.
After debugging for half a day, the problem could not be solved even by reassigning account permissions and re-registering the service. Later, it was found that it was tomcat executable file tomcat7w.exe running mode
The problem of

 
There is a Startup TAB in the figure above, click on it and select Java mode before restarting the service and the problem is resolved