jbossの起動時に下記のようにデプロイタイムアウトが発生しました。
08:46:50,290 ERROR (DeploymentScanner-threads - 1) org.jboss.as.server.deployment.scanner [] 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.
jbossはデプロイに時間がかかるタイムアウトし、処理を中断します。
jbossnのデプロイタイムアウトの時間はデフォルトだと60秒になります。
変更するにはstandalone.xmlの記述を変更します。
$ vi /opt/jboss7/standalone/configuration/standalone.xml
<subsystem xmlns="urn:jboss:domain:deployment-scanner:1.1"> <deployment-scanner path="deployments" relative-to="jboss.server.base.dir" scan-interval="5000" deployment-timeout="120" /> </subsystem>
deployment-timeoutを追加し、タイムアウトの秒数を指定します。
jbossを再起動すると設定が変更されます。
$ /etc/init.d/jboss restart