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

Docs - EAP 4 - Client's connections are not reconnected when FailoverOnNodeLeave attribute is set to true

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • TBD EAP 4
    • 4.3.0.GA_CP08, 4.3.0.GA_CP09, 4.3.0.GA_CP10
    • Messaging
    • Not Required
    • ASSIGNED

      Hi Howard,
      i'm testing failover of 2 EAP 4.3 CP08 nodes which use JBM 1.4.0 SP3 CP10. On all of them i have a clustered queue "/liveTestDistributedQueue. Client get through HAJNDI a connection factory named "/ClusteredConnectionFactory" to gain connection to those nodes.

      Scenario:
      1. Start nodes A B
      2. Start Producer
      3. Find node to which sender sends messages and shutdown it (Ctrl-C)
      4. Producer won't failover to another node and throw exception:
      Sent message: 126
      javax.jms.JMSException: Failed to route Reference[41352304800268415]:RELIABLE to liveTestDistributedQueue
      at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendMessage(ServerConnectionEndpoint.java:773)
      at org.jboss.jms.server.endpoint.ServerSessionEndpoint.send(ServerSessionEndpoint.java:399)
      ...

      Attribute FailoverOnNodeLeave is set to "true" on all nodes in mysql-persistence-service.xml. Along the documentation for JBM for EAP 4.3 (http://documentation-stage.bne.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/4.3/html-single/JBoss_Messaging_User_Guide/index.html):

      FailoverOnNodeLeave
      If this attribute is true then if a server node is shut down cleanly, then this will cause any connections on the shutting down node to failover onto another node.
      The default value for this is attribute is false

      When i kill the server with kill -9 ... then failover to another node occurs.

      Can you look at it?

      Thank you,
      Mirek

            mnovak1@redhat.com Miroslav Novak
            mnovak1@redhat.com Miroslav Novak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: