[Tomcat]沒法使用tomcat6.exe啓動服務解決辦法

從新配置環境變量後,沒法使用tomcat6.exe啓動服務。tomcat

錯誤信息:rem

[2011-03-10 18:51:49] [warn]  The system cannot find the Registry key for serviccmd

e 'tomcat6'it

[2011-03-10 18:51:49] [error] Load configuration failedio

[2011-03-10 18:51:49] [error] 系統找不到指定的文件。變量

[2011-03-10 18:51:49] [error] Commons Daemon procrun failed with exit value: 2 (配置

Failed to load configuration)service

[2011-03-10 18:51:49] [error] 系統找不到指定的文件。error

 

處理辦法:cmd進入tomcat/bin目錄下,運行service.bat install,問題解決margin

備註:其餘操做(刪除服務:service.bat  remove tomcat)。

相關文章
相關標籤/搜索