EAP6 を init スクリプトで起動するとコンソールに started メッセージ (JBAS015874) が表示されないか起動できない
Issue
-
standalone-full-haプロファイルを使用してサーバーを起動すると、コンソールにメッセージが表示されません。init-script を使用してstandalone-full-haモードでサーバーを起動すると、タイムアウトメッセージが表示されます。 -
RPM インストーラーで提供された
jbossas起動スクリプトでは、起動時にタイムアウトが示されます。/etc/init.d/jbossas start Starting jbossas: jbossas startup has timed out, process still running. -
standalone-full-ha.xmlを使用すると、JBoss が問題なく起動してもjboss-as-standalone.shスクリプトの実行は失敗します。jboss-as-standalone.shスクリプトが失敗している理由は、このスクリプトの"grep 'JBAS015874:' $JBOSS_CONSOLE_LOG > /dev/null"の部分が原因であることが分かりました。standalone*.xmlファイルを調べると、standalone-full-ha.xmlにコンソールハンドラーがないため、JBAS015874 メッセージがコンソールのログに記録されず、起動スクリプトが失敗したことが示されます。
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
