【问题标题】:JBoss AS 7 on Ubuntu 12.04 server - Deployment errorsUbuntu 12.04 服务器上的 JBoss AS 7 - 部署错误
【发布时间】:2012-06-30 19:53:06
【问题描述】:

设置

我用 Ubuntu 12.04 64bit 在我想要的地方设置了一个虚拟机 运行 JBoss AS 7 并将 Nexus OSS 部署为 war 文件。

This tutorial 用于将 JBoss 设置为 linux 上的服务。 我也找到了this thread,但是配置脚本配置 效果不如bin/init.d/ 中 JBoss 附带的脚本。

部署问题

不,我正在尝试部署 Nexus OSS war file。我有两种不同的方法。

1.通过网络界面部署它

我收到了这个错误

Request
{
  "address" => [("deployment" => "nexus")],
  "operation" => "deploy"
}
Response
Internal Server Error
{
 "outcome" => "failed",
 "failure-description" => {"JBAS014671: Failed services" =>{"jboss.web.deployment.default-host.\"/nexus-2.0.6\"" => "org.jboss.msc.service.StartException in service jboss.web.deployment.default-host.\"/nexus-2.0.6\": JBAS018040: Failed to start context"}},
 "rolled-back" => true
}

2。在 /usr/local/jboss-as-7/standalone/deployments/ 中自动部署它

JBAS015052: Did not receive a response to the deployment operation within the allowed timeout period [60 seconds].
Check the server configuration file and the server logs to find more about the status of the deployment.

但是我可以找到任何日志。我在

中搜索
/var/log/jboss
$JBOSS_HOME/standalone/log

【问题讨论】:

    标签: deployment war jboss7.x ubuntu-server


    【解决方案1】:

    我没有尝试过最新的 WAR,但我尝试在 JBoss AS 7、GlassFish、Geronimo 和 TomEE 上部署 Nexus WAR,但没有成功。他们都有不同的错误。从我收集到的信息来看,WAR 无法在任何 Java EE 应用服务器上运行。我只能让它在像 Tomcat 或 jetty 这样的 servlet 容器上工作。

    【讨论】:

    • 所以你认为这是与 Nexus OSS WAR 文件有关的问题,与 JBoss 安装无关?
    • 正确。我不记得我尝试过哪个 2.x 版本,但我尝试过的每台 Java EE 服务器都有问题。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-10-20
    • 2012-02-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-10-31
    相关资源
    最近更新 更多