Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-10531

Wildfly leaks ActiveMQ connections

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 15.0.0.Beta1, 15.0.0.Final
    • 13.0.0.Final
    • None
    • None
    • Hide

      I don't have an idea how to create sensible reproduction steps at the moment, because reproduction of the problem even with our application is quite slow.

      Show
      I don't have an idea how to create sensible reproduction steps at the moment, because reproduction of the problem even with our application is quite slow.
    • Regression

      After upgrading our application from wildfly 12 to 13, the app started to crash after a while (hours, days, depending on circumstances). It crashes on

      IJ000453: Unable to get managed connection for java:/JmsXA

      and other errors (it simply cannot perform all the jobs it contains). I found that when shutting down the server which has been running for a while, I can see a bunch of these messages in the log:

      WARN [org.jboss.jca.core.connectionmanager.pool.strategy.PoolByCri] (ServerService Thread Pool – 117) [:::] IJ000615: Destroying active connection in pool: ActiveMQConnectionDefinition (org.apache.activemq.artemis.ra.ActiveMQRAManagedConnection@2f37f69)

      Bascially, the longer the server was running, more of these messages are shown. I cannot find a way how to reproduce the issue. When the server runs for short time but with some load, no connection is leaked (or just one, rarely). On the other side, it leaks connections even without any particularly high load (just a few requests and @Schedule jobs) when running for longer time.

      It may also be a bug in our application, which just happen to have more serious impact with the new wildfly version.

              jmesnil1@redhat.com Jeff Mesnil
              sebek64 Marcel Ĺ ebek (Inactive)
              Votes:
              4 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: