设置
我使用 Ubuntu 12.04 64 位设置了一个虚拟机,我想在其中运行 JBoss AS 7 并将 Nexus OSS 部署为一个 war 文件。
本教程用于将 JBoss 设置为 linux 上的服务。我也找到了这个线程,但是配置脚本配置的效果不如 JBoss 中附带的脚本bin/init.d/
。
部署问题
不,我正在尝试部署Nexus OSS 战争文件。我有两种不同的方法。
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