重新配置环境变量后,无法使用tomcat6.exe启动服务。
错误信息:
[2011-03-10 18:51:49] [warn] The system cannot find the Registry key for servic
e 'tomcat6'
[2011-03-10 18:51:49] [error] Load configuration failed
[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)
[2011-03-10 18:51:49] [error] 系统找不到指定的文件。
处理办法:cmd进入tomcat/bin目录下,运行service.bat install,问题解决
备注:其他操作(删除服务:service.bat remove tomcat)。