Uploaded image for project: 'EJB Client Library (AS7+)'
  1. EJB Client Library (AS7+)
  2. EJBCLIENT-309

Connection to once failed nodes never reattempted in ejbclient-4.x

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.0.7.Final
    • Fix Version/s: 4.0.16.Final
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      Steps to reproduce:

      • having cluster of 2 nodes: nodeA and nodeB
      • having ejb-remote cluster client: clientNode
      • nodeB is disabled, nodeA started
      • start clientNode and make some ejb-remote calls (failedConnections in RemotingEJBDiscoveryProvider will be initialized with nodeB)
      • start nodeB
      • shutdown nodeA
      • make some more ejb-remote calls from clientNode

      Actual Result:

      all calls from ejb-remote node fails with "connection refused". RemotingEJBDiscoveryProvider not try to establish connection to nodeB

      Expected Result:

      ejb calls working. RemotingEJBDiscoveryProvider try to establish connection to nodeB

      Example patch to fix
      https://github.com/wildfly/jboss-ejb-client/pull/359/files

      Show
      Steps to reproduce: having cluster of 2 nodes: nodeA and nodeB having ejb-remote cluster client: clientNode nodeB is disabled, nodeA started start clientNode and make some ejb-remote calls (failedConnections in RemotingEJBDiscoveryProvider will be initialized with nodeB) start nodeB shutdown nodeA make some more ejb-remote calls from clientNode Actual Result: all calls from ejb-remote node fails with "connection refused". RemotingEJBDiscoveryProvider not try to establish connection to nodeB Expected Result: ejb calls working. RemotingEJBDiscoveryProvider try to establish connection to nodeB Example patch to fix https://github.com/wildfly/jboss-ejb-client/pull/359/files

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                flavia.rainone Flavia Rainone
                Reporter:
                ivagulin Igor Vagulin
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: