Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-8099

Closing JMSContext doesn't return resources to be used again

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 7.1.0.DR12
    • 7.1.0.DR8, 7.1.0.DR9
    • Generic JMS RA
    • None
    • Hide
      1. create "NoTransaction" generic RA
      2. create CF in RA (pointing to non XA CF on tibco)
      3. create deployment which will repeatedly call :
      ConnectionFactory factory = (ConnectionFactory)context.lookup("jms/NTQueueConnectionFactory");
      JMSContext ctx = factory.createContext("","");
       ctx.close();
      

      After 20 iterations you will be out of resources.

      Show
      create "NoTransaction" generic RA create CF in RA (pointing to non XA CF on tibco) create deployment which will repeatedly call : ConnectionFactory factory = (ConnectionFactory)context.lookup( "jms/NTQueueConnectionFactory" ); JMSContext ctx = factory.createContext( ""," "); ctx.close(); After 20 iterations you will be out of resources.

    Description

      There seems to be an issue in resource pooling on connection factories
      Calling JMSContext.close() doesn't return connections to the pool.

      Custommer impact: deployments which are using JMS 2.0 API may stop working.

      Attachments

        Issue Links

          Activity

            People

              jmesnil1@redhat.com Jeff Mesnil
              okalman@redhat.com Ondřej Kalman (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: