Uploaded image for project: 'JBoss Remoting'
  1. JBoss Remoting
  2. JBREM-1238

Need invocation timeouts in synchronized blocks in MicroRemoteClientInvoker that create and terminate leases

    Details

    • Type: Enhancement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.2.3.SP2, 2.5.3.SP1
    • Fix Version/s: 2.2.3.SP3, 2.5.4
    • Component/s: None
    • Labels:
      None
    • Estimated Difficulty:
      Medium

      Description

      org.jboss.remoting.MicroRemoteClientInvoker.establishLease() and MicroRemoteClientInvoker.terminateLease() do network invocations inside synchronized blocks, and, if the invocations get hung up, then it becomes impossible to create new connections with leasing enabled. Setting the 'timeout" parameter appropriately would work around the problem, but some users, notably JBossMessaging, set "timeout" to 0.

      A speclal case timeout parameter should be used, along with the per invocation timeout facility, to prevent MicroRemoteClientInvoker from getting stuck in establishLease() or terminateLease().

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                ron_sigal Ronald Sigal
                Reporter:
                ron_sigal Ronald Sigal
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: