我使用 sc.exe 为 tomcat6.exe 创建了一个服务。命令是:
sc.exe create "Tomcat Service" binPath= "D:\tomcat\bin\tomcat.exe
创建服务成功,但在启动服务时出现以下错误。
Error 1053: the service did not respond to the start or control request in a timely fashion
从 cmd usingsc.exe start "Tomcat Server"
和 services.msc 开始都会导致相同的错误。
任何人都可以帮助我吗?
谢谢大家。