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

EJB subsystem graceful shutdown log message shows 0 active transactions everytime

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 24.0.0.Beta1, 24.0.0.Final
    • 23.0.2.Final
    • EJB
    • None

    Description

      When the EJB subsystem defines the graceful shutdown parameter

      ./bin/jboss-cli.sh "embed-server --server-config=standalone.xml,/subsystem=ejb3:write-attribute(name=enable-graceful-txn-shutdown, value=true)"
      

      Then the jboss cli shutdown call causes the log message

      WFLYEJB0492: Jakarta Enterprise Beans subsystem suspension waiting for active transactions, 0 transaction(s) remaining

      (the message comes from: https://github.com/wildfly/wildfly/blob/23.0.2.Final/ejb3/src/main/java/org/jboss/as/ejb3/logging/EjbLogger.java#L3126)

      The number 0 is printed all the time. Doesn't matter if there is some active transaction (when number bigger than 0 should be printed) or not (when printing 0 is correct).

      Attachments

        Activity

          People

            ochaloup@redhat.com Ondrej Chaloupka (Inactive)
            ochaloup@redhat.com Ondrej Chaloupka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: