日期:2014-05-17  浏览次数:20821 次

tomcat6.exe出问题,startup.bat却正常
运行tomcat6.exe出现如下问题:

D:\tomcat\bin>tomcat6.exe
[2011-04-26 19:56:58] [warn] The system cannot find the Registry key for servic
e 'tomcat6'
[2011-04-26 19:56:58] [error] Load configuration failed
[2011-04-26 19:56:58] [error] 系统找不到指定的文件
[2011-04-26 19:56:58] [error] Commons Daemon procrun failed with exit value: 2 (
Failed to load configuration)
[2011-04-26 19:56:58] [error] 系统找不到指定的文件。

但运行startup却一切正常,此情况是什么问题???

------解决方案--------------------
tomcat6.exe 是用来启动加入到系统服务的服务。而startup.bat是直接启动 tomcat