启动用户定义的服务时出现错误 1053



我使用 sc.exe 为 tomcat6.exe 创建了一个服务。该命令是:

sc.exe create "Tomcat Service" binPath= "D:tomcatbintomcat.exe

创建服务成功,但在启动服务时出现以下错误。

Error 1053: the service did not respond to the start or control request in a timely fashion

使用 sc.exe start "Tomcat Server" 和 services.msc 从 cmd 开始都会导致相同的错误。

谁能帮我?

提前谢谢大家。

虽然Tomcat.exe是一个真正的Windows服务,但用SC安装它还不够好。使用 "service.bat" 文件或通过为 tomcat6 编写自己的命令行选项(包括//IS//参数)将 Tomcat 6 安装为服务.exe。

最新更新