从新配置环境变量后,没法使用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)。