Bug 1159572 made a change to prevent MDBs being activated or deactivated multiple times, but it is not thread safe. A volatile boolean is used for the flag, but there is no protection against multiple threads invoking the methods simultaneously.
I do not think it is possible to trigger this bug without a custom extension, since the shipped code only has one path into it and cannot trigger the race condition. With a custom/third-party extension, it is possible to trigger.
James Livingston <jlivings> updated the status of jira JBEAP-2297 to Coding In Progress
James Livingston <jlivings> updated the status of jira JBEAP-2297 to Resolved
James Livingston <jlivings> updated the status of jira JBEAP-2297 to Reopened
Byteman rule based reproducer. Not an integration, only checks if method startDelivery is synchronized. git clone git:ochaloup/byteman.git --branch dtest-instrumentation-enhancement cd byteman mvn install cd - git clone git://git.app.eng.bos.redhat.com/jbossqe/eap-tests-hornetq.git --branch WFLY-5596-reproducer export JBOSS_HOME=path/to/jboss export JBOSS_HOME_1="$JBOSS_HOME" export JBOSS_HOME_2="$JBOSS_HOME" export JBOSS_HOME_3="$JBOSS_HOME" export JBOSS_HOME_4="$JBOSS_HOME" cd eap-tests-hornetq/jboss-hornetq-testsuite mvn clean install -Dmaven.test.skip.exec cd common-tests mvn clean install -Dtest=DuplicateMessageTestCase
Jiri Pallich <jpallich> updated the status of jira JBEAP-2297 to Closed
Retroactively bulk-closing issues from released EAP 6.4 cumulative patches.