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

Unignore XADatasourceCapacityPoliciesTestCase

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.1.0.DR17
    • None
    • None
    • None

    Description

      I am going to ignore this test, until the ironjacamar upgrade which fixes the following (from msimka@redhat.com's mail)

      I might be completely wrong, but it seems to me like race condition between PoolFiller and CapacityFiller in IronJacamar.

      I think what happens is:

      • Both add connections to pool in different threads
      • PoolFiller creates connection, then checks pools size and because pool has already certain size, it doesn't add connection and instead it destroys connection which increases destroyedCount

      see https://github.com/ironjacamar/ironjacamar/blob/1.4/core/src/main/java/org/jboss/jca/core/connectionmanager/pool/mcp/SemaphoreConcurrentLinkedDequeManagedConnectionPool.java#L1163

      @Stefano, @Flavia could you please take a look?

      I'm attaching logs with enabled TRACE on org.jboss.jca and jdbc.spy.

      This might have been hidden until https://issues.jboss.org/browse/JBJCA-1330 was fixed in DR11.

      Attachments

        Issue Links

          Activity

            People

              msimka@redhat.com Martin Simka
              kkhan1@redhat.com Kabir Khan
              Martin Simka Martin Simka
              Martin Simka Martin Simka
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: