-
Bug
-
Resolution: Done
-
Major
-
EAP_EWP 5.1.2 CR2
-
None
-
NEW
Hi,
I was trying to fix remote JCA test and I have hit ConcurrentModificationException exception with ServerLocatorImpl class. Issue occurred during the server shutdown. Server was configured to use remote JCA connection (inbound and outbound, via discovery) to the cluster of HornetQ servers with backups.
[JBoss] 07:27:08,725 INFO [MessageDrivenBeanToQueueMDB] Finished with message id=ID:c4db5bf8-2a3c-11e1-8dcb-001b21862475 [JBoss] 07:27:08,736 INFO [MessageDrivenBeanToQueueMDB] Finished with message id=ID:c4dd09a9-2a3c-11e1-8dcb-001b21862475 [JBoss] 07:28:19,997 WARN [RemotingConnectionImpl] Connection failure has been detected: The connection was disconnected because of server shutdown [code=4] [JBoss] 07:28:20,001 WARN [RemotingConnectionImpl] Connection failure has been detected: The connection was disconnected because of server shutdown [code=4] [JBoss] 07:28:20,001 WARN [RemotingConnectionImpl] Connection failure has been detected: The connection was disconnected because of server shutdown [code=4] [JBoss] 07:28:20,000 WARN [RemotingConnectionImpl] Connection failure has been detected: The connection was disconnected because of server shutdown [code=4] [JBoss] 07:28:20,003 WARN [RemotingConnectionImpl] Connection failure has been detected: The connection was disconnected because of server shutdown [code=4] [JBoss] 07:28:20,005 WARN [RemotingConnectionImpl] Connection failure has been detected: The connection was disconnected because of server shutdown [code=4] [JBoss] 07:28:20,005 WARN [RemotingConnectionImpl] Connection failure has been detected: The connection was disconnected because of server shutdown [code=4] [JBoss] 07:28:20,005 WARN [RemotingConnectionImpl] Connection failure has been detected: The connection was disconnected because of server shutdown [code=4] [JBoss] 07:28:20,004 WARN [RemotingConnectionImpl] Connection failure has been detected: The connection was disconnected because of server shutdown [code=4] [JBoss] 07:28:20,004 WARN [RemotingConnectionImpl] Connection failure has been detected: The connection was disconnected because of server shutdown [code=4] [JBoss] 07:28:20,003 WARN [RemotingConnectionImpl] Connection failure has been detected: The connection was disconnected because of server shutdown [code=4] [JBoss] 07:28:20,003 WARN [RemotingConnectionImpl] Connection failure has been detected: The connection was disconnected because of server shutdown [code=4] [JBoss] 07:28:20,003 WARN [RemotingConnectionImpl] Connection failure has been detected: The connection was disconnected because of server shutdown [code=4] [JBoss] 07:28:20,002 WARN [RemotingConnectionImpl] Connection failure has been detected: The connection was disconnected because of server shutdown [code=4] [JBoss] 07:28:20,008 WARN [RemotingConnectionImpl] Connection failure has been detected: The connection was disconnected because of server shutdown [code=4] [JBoss] 07:28:20,008 WARN [RemotingConnectionImpl] Connection failure has been detected: The connection was disconnected because of server shutdown [code=4] [JBoss] 07:28:20,008 WARN [RemotingConnectionImpl] Connection failure has been detected: The connection was disconnected because of server shutdown [code=4] [JBoss] 07:28:20,015 WARN [RemotingConnectionImpl] Connection failure has been detected: The connection was disconnected because of server shutdown [code=4] [JBoss] 07:28:20,018 WARN [RemotingConnectionImpl] Connection failure has been detected: The connection was disconnected because of server shutdown [code=4] [JBoss] 07:28:28,033 WARN [HornetQXAResourceWrapper] Notified of connection failure in xa recovery connectionFactory for provider ClientSessionFactoryImpl [serverLocator=ServerLocatorImpl [initialConnectors=[org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=5445&host=messaging-22], discoveryGroupConfiguration=DiscoveryGroupConfiguration [discoveryInitialWaitTimeout=1000, groupAddress=234.11.13.16, groupPort=9878, localBindAddress=null, name=429152ca-2a3c-11e1-8616-001b217d6dbd, refreshTimeout=1000]], connectorConfig=org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=5445&host=messaging-19, backupConfig=org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=5445&host=messaging-21] will attempt reconnect on next pass [JBoss] HornetQException[errorCode=4 message=The connection was disconnected because of server shutdown] [JBoss] at org.hornetq.core.client.impl.ClientSessionFactoryImpl$Channel0Handler$1.run(ClientSessionFactoryImpl.java:1475) [JBoss] at org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:100) [JBoss] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [JBoss] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [JBoss] at java.lang.Thread.run(Thread.java:662) [JBoss] 07:28:28,070 ERROR [RemotingConnectionImpl] Failed to decode [JBoss] java.util.ConcurrentModificationException [JBoss] at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793) [JBoss] at java.util.HashMap$KeyIterator.next(HashMap.java:828) [JBoss] at org.hornetq.core.client.impl.ServerLocatorImpl.notifyNodeUp(ServerLocatorImpl.java:1420) [JBoss] at org.hornetq.core.client.impl.ClientSessionFactoryImpl$Channel0Handler.handlePacket(ClientSessionFactoryImpl.java:1535) [JBoss] at org.hornetq.core.protocol.core.impl.ChannelImpl.handlePacket(ChannelImpl.java:504) [JBoss] at org.hornetq.core.protocol.core.impl.RemotingConnectionImpl.doBufferReceived(RemotingConnectionImpl.java:538) [JBoss] at org.hornetq.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:499) [JBoss] at org.hornetq.core.client.impl.ClientSessionFactoryImpl$DelegatingBufferHandler.bufferReceived(ClientSessionFactoryImpl.java:1552) [JBoss] at org.hornetq.core.remoting.impl.netty.HornetQChannelHandler.messageReceived(HornetQChannelHandler.java:73) [JBoss] at org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:100) [JBoss] at org.jboss.netty.channel.StaticChannelPipeline.sendUpstream(StaticChannelPipeline.java:362)