Wildfly - Activemq Client Connection Loop
skull Jun 20, 2016 3:03 PMI am using wildfly domain with profile full-ha.xml
I started 2 nodes of wildfly, then after some time I shutdown one of theses nodes.
The alive node begin give me this messages for ever every 3s
If i restart node 1 the messages stop.
How can I configure activemq to see that node1 die and stop try to reconect for ever?
I have try to change Reconnect Attempts, but no success.
[Server:server-test2] 18:52:00,021 ERROR [org.apache.activemq.artemis.core.client] (Thread-272 (ActiveMQ-client-global-threads-1173203024)) AMQ214016: Failed to create netty connection: java.net.NoRouteToHostException: No route to host: /xxx.xxx.xxx.xxx:8080 [Server:server-test2] at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) [Server:server-test2] at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) [Server:server-test2] at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:224) [Server:server-test2] at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:289) [Server:server-test2] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:528) [Server:server-test2] at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468) [Server:server-test2] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382) [Server:server-test2] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354) [Server:server-test2] at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112) [Server:server-test2] at java.lang.Thread.run(Thread.java:745) [Server:server-test2] [Server:server-test2] 18:52:03,022 ERROR [org.apache.activemq.artemis.core.client] (Thread-272 (ActiveMQ-client-global-threads-1173203024)) AMQ214016: Failed to create netty connection: java.net.NoRouteToHostException: No route to host: /xxx.xxx.xxx.xxx:8080 [Server:server-test2] at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) [Server:server-test2] at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) [Server:server-test2] at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:224) [Server:server-test2] at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:289) [Server:server-test2] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:528) [Server:server-test2] at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468) [Server:server-test2] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382) [Server:server-test2] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354) [Server:server-test2] at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112) [Server:server-test2] at java.lang.Thread.run(Thread.java:745) [Server:server-test2]