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

Connection leak if failure to setup connection in jms inbound resource adapter

    XMLWordPrintable

Details

    Description

      The jms inbound resource adapter is leaking connections if there is an error
      setting up the connection.

      In pseudo code in setup[Queue|Topic]Connection
      {
      ...
      + try
      +

      { if (clientID != null) result.setClientID(clientID); result.setExceptionListener(this); log.debug("Using topic connection " + result); return result; + }

      + catch (Throwable t)
      +

      { + result.close(); + throw t; + }

      }

      Attachments

        Activity

          People

            adrian.brock Adrian Brock (Inactive)
            adrian.brock Adrian Brock (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: