EAP6 を init スクリプトで起動するとコンソールに started メッセージ (JBAS015874) が表示されないか起動できない

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.