Description of problem: If server with deployed JMS bridge (ONCE_AND_ONLY_ONCE delivery mode) is processing messages and this server is cleanly shutdowned than there are lots of arjuna warnings (see server.log) Steps to Reproduce: 1. Start two EAP 6.4.0.DR1 servers and deploy JMS bridge to first. Bridge sends messages from InQueue (from 1st server) to OutQueue (2nd server) 2. Start producer which sends messages to InQueue 3. Cleanly shutdown first server - see warnings Expected results: Before shutdown the bridge should stop to process new messages from InQueue and wait some time for current messages to be processed.
Created attachment 938745 [details] server.log
Created attachment 938746 [details] standalone-full-ha-bridge.xml
Created attachment 938747 [details] standalone-full-ha-target.xml
After some tries I've noticed that steps to reproduce the issue are different: 1. Start two EAP 6.4.0.DR1 servers and deploy JMS bridge to first. Bridge sends messages from InQueue (from 1st server) to OutQueue (2nd server) 2. Cleanly shutdown 2nd server and start again 3. Cleanly shutdown first server - see warnings
@Andy I'd like to ask you to take a look at this first before it's moved to another component.
yes, this is for us so leave it with me
Created attachment 939911 [details] standalone-full-ha-2.xml New standalone-full-ha-2.xml for target server of the bridge attached.
PR created https://github.com/hornetq/hornetq/pull/1858. Just to note that if the target server is down then an exception will still be shown. This is only in XA mode as we batch messages and need to rollback the transaction. We should make sure that this is documented and that in this scenario the target server should be stopped after the source server (or other way around if the source server is remote).
Clebert Suconic <clebert.suconic> updated the status of jira HORNETQ-1440 to Closed
This has been fixed in 2.3.22.Final, see comment 9.
I can see exceptions in EAP 6.4.0.DR13 (HQ 2.3.24.Final). Returning to assigned. Based on comment #8 this should be closed as won't fix, right?
if in xa mode yes
Ok, closing as won't fix and creating new bz for doc team bz#1174338.