Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-9669

HornetQ installer should disable AS5RecoveryRegistry mbean when installing backup server

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: EAP_EWP 5.1.2, EAP_EWP 5.2.0 ER2
    • Fix Version/s: EAP_EWP 5.2.0 ER5
    • Component/s: HornetQ
    • Labels:
      None
    • Affects:
      Release Notes
    • Release Notes Text:
      Hide
      When the HornetQ installer was used to install a backup server using the <parameter>-Dbackup</parameter>=<literal>true</literal> parameter, the following message would result:

      <screen>
      15:18:09,615 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

      DEPLOYMENTS MISSING DEPENDENCIES:
        Deployment "AS5RecoveryRegistry" is missing the following dependencies:
          Dependency "TransactionManager" (should be in state "Installed", but is actually in state "** NOT FOUND Depends on 'TransactionManager' **")

      DEPLOYMENTS IN ERROR:
        Deployment "TransactionManager" is in error due to the following reason(s): ** NOT FOUND Depends on 'TransactionManager' **
      </screen>

      The cause of this issue was that in deploying the backup server, the deployment of the AS5RecoveryRegistry mbean was also attempted but failed because of missing dependencies. To resolve this issue the AS5RecoveryRegistry mbean has been excluded from deployment.
      Show
      When the HornetQ installer was used to install a backup server using the <parameter>-Dbackup</parameter>=<literal>true</literal> parameter, the following message would result: <screen> 15:18:09,615 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): DEPLOYMENTS MISSING DEPENDENCIES:   Deployment "AS5RecoveryRegistry" is missing the following dependencies:     Dependency "TransactionManager" (should be in state "Installed", but is actually in state "** NOT FOUND Depends on 'TransactionManager' **") DEPLOYMENTS IN ERROR:   Deployment "TransactionManager" is in error due to the following reason(s): ** NOT FOUND Depends on 'TransactionManager' ** </screen> The cause of this issue was that in deploying the backup server, the deployment of the AS5RecoveryRegistry mbean was also attempted but failed because of missing dependencies. To resolve this issue the AS5RecoveryRegistry mbean has been excluded from deployment.
    • Release Notes Docs Status:
      Documented as Resolved Issue
    • Docs QE Status:
      NEW

      Description

      When installing HQ as backup:

      ~/jboss-eap-5.1/jboss-as/extras/hornetq $ sh switch.sh -Dbackup=true

      then "AS5RecoveryRegistry" should be disabled in hornetq-jboss-beans.xml otherwise following error appears:

      15:18:09,615 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
       
      DEPLOYMENTS MISSING DEPENDENCIES:
        Deployment "AS5RecoveryRegistry" is missing the following dependencies:
          Dependency "TransactionManager" (should be in state "Installed", but is actually in state "** NOT FOUND Depends on 'TransactionManager' **")
       
      DEPLOYMENTS IN ERROR:
        Deployment "TransactionManager" is in error due to the following reason(s): ** NOT FOUND Depends on 'TransactionManager' **
       
      15:18:09,619 INFO  [ServerImpl] JBoss (Microcontainer) [5.1.2 (build: SVNTag=JBPAPP_5_1_2 date=201111102209)] Started in 12s:265ms
      

      Add:

      <replace file="${jboss_home}/server/${backup.config}/deploy/hornetq/hornetq-jboss-beans.xml">
       
         <replacetoken>bean name="AS5RecoveryRegistry"</replacetoken>
       
         <replacevalue>bean name="AS5RecoveryRegistry" mode="Disabled"</replacevalue>
       
      </replace>
      

      to build.xml to target "createBackup" to fix.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jbertram Justin Bertram
                Reporter:
                mnovak Miroslav Novak
                Writer:
                Russell Dickenson
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: