【问题标题】:Luna JBoss Tools JBoss 7.1 AS - server is always in "starting" stateLuna JBoss Tools JBoss 7.1 AS - 服务器始终处于“启动”状态
【发布时间】:2015-06-09 15:38:23
【问题描述】:

谁能指导我如何调试这个问题?

服务器总是说“正在启动”。然后,由于超时设置为 720 秒,一旦达到 720 秒,服务器就会自动关闭。

即使服务器的状态始终显示正在启动,但我们部署的应用程序在功能上运行良好。

从 J2EE 角度来看,Eclipse 不给出任何警告,JBoss 只是关闭。从 Java 的角度来看,它给出了以下错误。错误详情:

Plugin:org.eclipse.wst.server.core

Severity:Error

Server JBoss AS 7.1 was unable to start within 720 seconds. If the server requires more time, try increasing the timeout in the server editor.

Exception Stack Trace: An exception stack trace is not available.

Session Data:
eclipse.buildId=4.4.2.M20150204-1700
java.version=1.7.0_76
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -clean -product org.eclipse.epp.package.jee.product

在此之后,下一个错误如下图:

org.jboss.ide.eclipse.as.core
The server was shutdown forcefully. All processes were terminated.

我不知道是否有任何日志文件可以查看以进行调试。

【问题讨论】:

    标签: eclipse jboss7.x jboss-tools


    【解决方案1】:

    我想你不再有这个问题,但如果它可以帮助某人,这是我在尝试了一堆东西后如何解决这个问题的。

    这个问题肯定是eclipse无法监控jboss服务器,所以eclipse认为jboss没有启动,所以把timeout增加很长也没用。

    首先确保以下几点:

    jboss 使用的端口(在 jboss AS 的 server.xml 或 Jboss EAP 的standalone.xml 中)与 eclipse 在 jboss 服务器配置窗格中监视的相同(通过在服务器视图中双击服务器 -> 服务器端口部分-> Web)。 如果您使用的是 8080 等标准端口,您可以尝试将其更改为 8180。

    如果您已经检查了以上几点,您可以尝试的最后一件事(以及对我有用的)是通过 eclipse jboss 配置窗格更改主机名,从 localhost 更改为 127.0.0.1

    希望这能解决问题!

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-09-11
      • 1970-01-01
      • 2021-02-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多