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; + }

      }

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                adrian.brock Adrian Brock
                Reporter:
                adrian.brock Adrian Brock
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: