【问题标题】:The Apache Tomcat 6 service terminated unexpectedly. It has done this 1 time(s)Apache Tomcat 6 服务意外终止。已完成 1 次
【发布时间】:2013-01-17 16:53:09
【问题描述】:

Solr(Java 搜索应用程序)未返回结果。令我惊讶的是,我的 Windows 上没有运行 Tomcat 6.x(64 位)。日志中绝对没有错误,没有崩溃转储。我重新启动它,现在一切似乎都很好。

转到 Windows 事件查看器并导出以下与 Tomcat 相关的信息:

Level   Date and Time   Source  Event ID    Task Category
Information  04/23/2012 8:51:58 AM  Service Control Manager 7036    None    The Apache Tomcat 6 service entered the running state.
Error        04/23/2012 4:17:12 AM  Service Control Manager 7034    None    The Apache Tomcat 6 service terminated unexpectedly.  It has done this 2 time(s).
Information  04/16/2012 3:13:15 PM  Service Control Manager 7036    None    The Apache Tomcat 6 service entered the running state.
Error        04/16/2012 1:12:47 PM  Service Control Manager 7034    None    The Apache Tomcat 6 service terminated unexpectedly.  It has done this 1 time(s).
Information  04/07/2012 10:02:25 PM Service Control Manager 7036    None    The Apache Tomcat 6 service entered the running state.

这对我来说是个谜,因为我在 Tomcat 日志中没有任何错误。我应该如何继续调试这个问题?

【问题讨论】:

    标签: tomcat


    【解决方案1】:

    问题在于 Java 7。有很多问题,恢复到 Java 6 已经解决了所有问题。 http://searchhub.org/2011/07/28/dont-use-java-7-for-anything/(但现在看来问题已经解决,Solr 可以在 Java 7 上正常工作)[http://www.h-online.com/open/news/item/Apache-Solr-and-Lucene-now- Java-7-compatible-1525295.html]

    【讨论】:

      【解决方案2】:

      当我将您的错误消息粘贴到搜索中时,Google 发现了这一点:

      http://mail-archives.apache.org/mod_mbox/tomcat-users/200808.mbox/%3C4896F52A.9050202@ice-sa.com%3E

      你并不孤单。也许这会有所帮助。如果是这样,以后试试这个技巧。

      【讨论】:

        猜你喜欢
        • 2018-08-18
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2015-05-04
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多