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

[GSS](7.2.z) Generic RA ManagedConnection opens 2 connections to the broker

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.2.9.CR1, 7.2.9.GA
    • 7.2.5.GA, 7.3.0.GA
    • Generic JMS RA
    • None
    • +
    • Incorporated by upgrade to org.jboss.genericjms 2.0.4

      The problem is that the RA creates two connections instead of one for each connection to TIBCO broker.

      Have repeated the problem and I can clearly see the issue: (simple example with two MDBs each with maxSession=1 - should be two connections only)

      [tomr@aza java]$ netstat -pantu | grep /tibemsd64 | grep "ESTABLISHED" | grep ":7222"
      (Not all processes could be identified, non-owned process info
      will not be shown, you would have to be root to see it all.)
      tcp 0 0 192.168.1.106:7222 192.168.1.109:35812 ESTABLISHED 2182/tibemsd64
      tcp 0 0 192.168.1.106:7222 192.168.1.109:35822 ESTABLISHED 2182/tibemsd64
      tcp 0 0 192.168.1.106:7222 192.168.1.109:35820 ESTABLISHED 2182/tibemsd64
      tcp 0 0 192.168.1.106:7222 192.168.1.109:35810 ESTABLISHED 2182/tibemsd64

      This is due to the fact that the ManagedConnection creates a Connection and a JMSContext

              istudens@redhat.com Ivo Studensky
              ehugonne1@redhat.com Emmanuel Hugonnet
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: