Tomcat 未在 windows 更新后启动
Tomcat doesn't start after windows update
我安装了一个 Apache Tomcat6
的实例,在我 运行 windows 更新之前一直 运行ning 没有任何异常。更新完成后,我重新启动系统,发现 tomcat 不是 运行ning。我尝试手动 运行,但没有用。另外,我尝试使用命令
从 command prompt
执行它
%Tomcat%bin> tomcat6.exe start
%Tomcat%bin> tomcat6 //TS// tomcat
它没有启动我的 tomcat。我试图查看日志文件以查找任何错误痕迹,在我发现的 catalina
日志中
09-Jul-2015 13:16:46.101 WARNING [http-nio-8080-exec-2] org.apache.catalina.realm.LockOutRealm.authenticate An attempt was made to authenticate the locked user "root"
09-Jul-2015 13:16:46.194 WARNING [http-nio-8080-exec-7] org.apache.catalina.realm.LockOutRealm.authenticate An attempt was made to authenticate the locked user "tomcat"
09-Jul-2015 13:16:46.194 WARNING [http-nio-8080-exec-3] org.apache.catalina.realm.LockOutRealm.authenticate An attempt was made to authenticate the locked user "tomcat"
09-Jul-2015 13:16:46.241 WARNING [http-nio-8080-exec-8] org.apache.catalina.realm.LockOutRealm.authenticate An attempt was made to authenticate the locked user "tomcat"
09-Jul-2015 13:16:46.553 WARNING [http-nio-8080-exec-6] org.apache.catalina.realm.LockOutRealm.authenticate An attempt was made to authenticate the locked user "manager"
09-Jul-2015 15:15:54.615 WARNING [http-nio-8080-exec-4] org.apache.catalina.realm.LockOutRealm.authenticate An attempt was made to authenticate the locked user "root"
认为这可能是用户信誉的问题,因此尝试更新 tomcat-users
角色和用户。没用。
windows update
是否有任何问题,因为更新 tomcat 之前工作正常。有关如何解决此问题的任何建议。
根据您的上下文,我猜当您 运行 windows 更新时它可能已经更新了 java 版本。最终,您的 jre 得到更新,并且您的 jvm.dll
路径可能指向 java 的旧版本,而它实际上并不存在。
尝试更新 tomcat config -> java options
中的 jvm.dll
路径。
如果这不起作用,则重新安装可能是您的 B 计划。希望它能奏效。
我安装了一个 Apache Tomcat6
的实例,在我 运行 windows 更新之前一直 运行ning 没有任何异常。更新完成后,我重新启动系统,发现 tomcat 不是 运行ning。我尝试手动 运行,但没有用。另外,我尝试使用命令
command prompt
执行它
%Tomcat%bin> tomcat6.exe start
%Tomcat%bin> tomcat6 //TS// tomcat
它没有启动我的 tomcat。我试图查看日志文件以查找任何错误痕迹,在我发现的 catalina
日志中
09-Jul-2015 13:16:46.101 WARNING [http-nio-8080-exec-2] org.apache.catalina.realm.LockOutRealm.authenticate An attempt was made to authenticate the locked user "root"
09-Jul-2015 13:16:46.194 WARNING [http-nio-8080-exec-7] org.apache.catalina.realm.LockOutRealm.authenticate An attempt was made to authenticate the locked user "tomcat"
09-Jul-2015 13:16:46.194 WARNING [http-nio-8080-exec-3] org.apache.catalina.realm.LockOutRealm.authenticate An attempt was made to authenticate the locked user "tomcat"
09-Jul-2015 13:16:46.241 WARNING [http-nio-8080-exec-8] org.apache.catalina.realm.LockOutRealm.authenticate An attempt was made to authenticate the locked user "tomcat"
09-Jul-2015 13:16:46.553 WARNING [http-nio-8080-exec-6] org.apache.catalina.realm.LockOutRealm.authenticate An attempt was made to authenticate the locked user "manager"
09-Jul-2015 15:15:54.615 WARNING [http-nio-8080-exec-4] org.apache.catalina.realm.LockOutRealm.authenticate An attempt was made to authenticate the locked user "root"
认为这可能是用户信誉的问题,因此尝试更新 tomcat-users
角色和用户。没用。
windows update
是否有任何问题,因为更新 tomcat 之前工作正常。有关如何解决此问题的任何建议。
根据您的上下文,我猜当您 运行 windows 更新时它可能已经更新了 java 版本。最终,您的 jre 得到更新,并且您的 jvm.dll
路径可能指向 java 的旧版本,而它实际上并不存在。
尝试更新 tomcat config -> java options
中的 jvm.dll
路径。
如果这不起作用,则重新安装可能是您的 B 计划。希望它能奏效。