Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-1330

Client can't connect to cluster after network failure / forgets about target servers

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • JBossAS-4.0.4.CR2
    • JBossAS-3.2.7 Final
    • Clustering
    • None

    Description

      Szenario:

      (1) Client connects to one or more jboss servers. The beans are clustered. On the initial connect the client receives a list of cluster members.

      (2) All JBoss servers become unavailable, either during a temporary network failure to during a redeploy.

      (3) When the clients tries to connect to the servers, all will be marked as as dead by JRMPInvokerProxyHA.java (removeDeadTarget()).

      (4) After the network links becomes the client has "forgotten" about all servers and is unable to reconnect.

      Suggested Solution (patch attached): restore the last known list of targets whenever the list of targets has run empty.

      If anything is unclear, please don't hesitate to contact me.

      In our production environment this scenario occurs i.e. when a backup switch takes over from a master switch – if the takeovers takes some time to propagate, the client is unable to connect again and needs to be restarted.

      Attachments

        Issue Links

          Activity

            People

              starksm64 Scott Stark (Inactive)
              alexander.schwartz@gmx.net Alexander Schwartz (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 2 hours
                  2h
                  Remaining:
                  Remaining Estimate - 2 hours
                  2h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified