Windows更新后,Tomcat无法启动

时间:2015-09-11 00:25:00

标签: tomcat startup windows-update

我安装了Apache Tomcat6的实例,并且在没有任何异常的情况下运行,直到我运行Windows更新。一旦更新完成,我重新启动系统并发现tomcat没有运行。我试图手动运行,但没有用。另外,我尝试使用命令

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"

认为这可能是user-cred的问题,因此尝试更新tomcat-users角色和用户。它没有用。

windows update是否有任何问题,因为更新tomcat工作正常之前。有关如何解决此问题的任何建议。

1 个答案:

答案 0 :(得分:1)

根据您的上下文,我想当您运行Windows更新时,它可能已经更新了Java版本。最终,您的jre会更新,并且您的jvm.dll路径可能指向旧版本的Java,它实际上并不存在。

尝试更新jvm.dll中的tomcat config -> java options路径。

如果这不起作用,重新安装可能是您的计划B.希望可能有用。