-
Bug
-
Resolution: Obsolete
-
Major
-
EAP_EWP 5.2.0 ER5, EAP_EWP 5.3.0.ER3
-
None
-
Release Notes
-
-
Documented as Resolved Issue
Test scenario:
1. Start two EAP 6 servers - mdb and jms server. mdb server is configured to connect through remote JCA to jms server.
2. Stop (ctrl-c) jms server
3. Try to stop (ctrl-c) mdb server
Result:
Mdb server hangs (I waited more than 10 minutes) - attached mdb-server-console.log (with thread dump during hang)
Attached reproducer-shutdown.zip:
1. Download and unzip reproducer-shutdown.zip
2. Prepare servers - "sh prepare.sh"
3. Start jms server - "sh start-server1.sh localhost"
4. Start mdb server - "sh start-server2.sh <some_other_ip>"
5 Shutdown jms server
6. Try to shutdown mdb server
Issue seems to be caused by setting <reconnect-attempts>-1</reconnect-attempts> in "hornetq-ra" connection factory:
<pooled-connection-factory name="hornetq-ra"> <transaction mode="xa"/> <reconnect-attempts>-1</reconnect-attempts> <connectors> <connector-ref connector-name="netty-remote"/> </connectors> <entries> <entry name="java:/JmsXA"/> </entries> </pooled-connection-factory>
When reconnect-attempts is set to 0 then server shutdowns immediately.