Description of problem: We've found new issue with shutting down of EAP server retrying JCA outbound connection to remote server. Version-Release number of selected component (if applicable): EAP 6.4.5.CP.CR1 (HornetQ 2.3.25.SP5) How reproducible: Start 1st EAP 6.4.5 with queue OutQueue Start 2nd EAP 6.4.5 with deployed EJB which sends message to remote queue OutQueue Call EJB to send message to remote OutQueue Shutdown 1st server Try to shutdown 2nd server - this never happens as it's retrying connection to 1st server and following warning is logged every 2s: 21:00:22,820 WARN [org.hornetq.core.client] (Thread-2 (HornetQ-client-global-threads-1761373667)) HQ212006: Waiting 2,000 milliseconds before next retry. RetryInterval=2,000 and multiplier=1 Expected results: 2nd server shutdowns. Additional info: Attaching configuration from servers, ejb and threadump from 2nd server. Customer impact: Customer will not be able to cleanly shutdown server and must kill it.
Created attachment 1089840 [details] standalone-full-ha-1.xml
Created attachment 1089841 [details] standalone-full-ha-2.xml
Created attachment 1089842 [details] threaddump.txt
Created attachment 1089843 [details] ejb.jar
EJB can be called by following code: final Properties env = new Properties(); env.put(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.naming.remote.client.InitialContextFactory"); env.put(Context.PROVIDER_URL, String.format("%s%s:%s", "remote://", "127.0.0.1", 4447)); env.put("jboss.naming.client.ejb.context", true); Context ctx = new InitialContext(env); SimpleSendEJB simpleSendEJB = (SimpleSendEJB) ctx.lookup("ejb-sender/SimpleSendEJBBean!org.jboss.qa.hornetq.apps.ejb.SimpleSendEJB"); simpleSendEJB.createConnection(); simpleSendEJB.sendMessage(); simpleSendEJB.closeConnection();
Created attachment 1091753 [details] Client Application to Invoke EJB
I have also been able to reproduce this issue on EAP 6.4.4 (HornetQ 2.3.25.SP3). So this does not appear to be a regression.
*** This bug has been marked as a duplicate of bug 1301969 ***