Details
-
Bug
-
Resolution: Done
-
Minor
-
23.0.2.Final
-
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).