設定
JBoss AS 7 を実行し、Nexus OSS を war ファイルとしてデプロイする Ubuntu 12.04 64 ビットで仮想マシンをセットアップします。
このチュートリアルは、Linux で JBoss をサービスとしてセットアップするために使用されました。私もこのスレッドを見つけましたが、構成スクリプトの構成は、JBoss で出荷されたスクリプトと同様に機能しませんでしたbin/init.d/
。
展開の問題
いいえ、 Nexus OSS war ファイルをデプロイしようとしています。私には2つの異なるアプローチがありました。
1. Web インターフェイス経由でデプロイする
このエラーが発生しました
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