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

The use of hostname in string format at ra.xml causes HornetQ to retain sessions during failover

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • EAP_EWP 5.2.0 ER5
    • EAP_EWP 5.1.2
    • HornetQ
    • JBoss-EAP-5.1.2, HornetQ-2.2.10+JBPAPP-9338

    • Hide

      -Configure a two node HA cluster, a live/backup pair ; (L) & (B)
      -Create a Queue on both nodes, queue/A
      -Setup a standalone JBoss-EAP-5.1.2 (S) instance and configure it's RAR to failover
      -Deploy a MDB on the server "S". You could set minSession,maxSessions to 5
      -Open JMX Console and see the consumer count at node "L"
      -You could see node "L" having 5 as its consumer count node "B" having "0"
      -Kill the live Node L and verify the consumer count on node B
      -You could see 4 sessions instead of 5

      Show
      -Configure a two node HA cluster, a live/backup pair ; (L) & (B) -Create a Queue on both nodes, queue/A -Setup a standalone JBoss-EAP-5.1.2 (S) instance and configure it's RAR to failover -Deploy a MDB on the server "S". You could set minSession,maxSessions to 5 -Open JMX Console and see the consumer count at node "L" -You could see node "L" having 5 as its consumer count node "B" having "0" -Kill the live Node L and verify the consumer count on node B -You could see 4 sessions instead of 5
    • Release Notes, Compatibility/Configuration
    • Hide
      An issue was discovered which affected HornetQ high-availability clusters and failover. If in the <filename>ra.xml</filename> the hostname was specified as a string, any active session would not failover to a backup node. The root cause of this issue has been resolved and hostnames in string format are no longer a problem for failover.
      Show
      An issue was discovered which affected HornetQ high-availability clusters and failover. If in the <filename>ra.xml</filename> the hostname was specified as a string, any active session would not failover to a backup node. The root cause of this issue has been resolved and hostnames in string format are no longer a problem for failover.
    • Documented as Resolved Issue
    • NEW

    Description

      The use of hostname in string format at ra.xml causes HornetQ to retain sessions during failover. This can be reproduced using a live/backup pair.

      Attachments

        Activity

          People

            gaohoward Howard Gao
            rhn-support-tywickra Tyronne Wickramarathne
            Russell Dickenson Russell Dickenson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: