]
Michal Sudra commented on WFLY-6486:
------------------------------------
There is a network between the client and backup, so this is not the case. Found similar
problem on post:
[
Standalone JMS client of 2 node colocated live/backup symmetrical
cluster fails to failover.
--------------------------------------------------------------------------------------------
Key: WFLY-6486
URL:
https://issues.jboss.org/browse/WFLY-6486
Project: WildFly
Issue Type: Bug
Components: JMS
Affects Versions: 10.0.0.Final
Environment: 2 node symmetrical colocated live/backup cluster (domain mode).
Configuration (domain.xml, host-master.xml, host-slave.xml) provided as attachment.
Reporter: Michal Sudra
Assignee: Jeff Mesnil
Attachments: client.log, domain.xml, host-master.xml, host-slave.xml,
JmsClusterFailoverTest.java, master.log, slave.log
There are two WildFly 10.0.0.Final servers configured in colocated replication topology
running in domain mode and a standalone JMS client connected.
When I kill one of my Wildfly instance, I can see in the logs that the backup server
becomes live in the second server. But the client receives this error :
{noformat}
2016-04-04 16:32:45,417 DEBUG [org.jboss.naming.remote.protocol.v1.RemoteNamingStoreV1]
(Remoting "config-based-naming-client-endpoint" task-9) Channel end notification
received, closing channel Channel ID 8baa48f5 (outbound) of Remoting connection 75986426
to /192.168.99.102:8080
2016-04-04 16:32:45,456 DEBUG [org.apache.activemq.artemis.core.client] (Thread-6
(ActiveMQ-client-global-threads-1863167529)) Trying reconnection attempt 0/-1
2016-04-04 16:32:45,457 DEBUG [org.apache.activemq.artemis.core.client] (Thread-6
(ActiveMQ-client-global-threads-1863167529)) Trying to connect with connector =
org.apache.activemq.artemis.core.remoting.impl.netty.NettyConnectorFactory@64f6106c,
parameters = {httpUpgradeEnabled=true, port=8080, httpPpgradeEndpoint=http-acceptor,
host=192.168.99.102} connector = null
2016-04-04 16:32:45,458 DEBUG [org.apache.activemq.artemis.core.client] (Thread-6
(ActiveMQ-client-global-threads-1863167529)) Started Netty Connector version 4.0.30.Final
2016-04-04 16:32:45,458 DEBUG [org.apache.activemq.artemis.core.client] (Thread-6
(ActiveMQ-client-global-threads-1863167529)) Remote destination: /192.168.99.102:8080
2016-04-04 16:32:46,474 ERROR [org.apache.activemq.artemis.core.client] (Thread-6
(ActiveMQ-client-global-threads-1863167529)) AMQ214016: Failed to create netty connection
java.net.SocketException: Network is unreachable: no further information:
/192.168.99.102:8080
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
at
io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:224)
at
io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:289)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:528)
at
io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
at
io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:110)
at java.lang.Thread.run(Thread.java:745)
2016-04-04 16:32:46,478 DEBUG [org.apache.activemq.artemis.core.client] (Thread-6
(ActiveMQ-client-global-threads-1863167529)) Connector towards NettyConnector
[host=192.168.99.102, port=8080, httpEnabled=false, httpUpgradeEnabled=true,
useServlet=false, servletPath=/messaging/ActiveMQServlet, sslEnabled=false, useNio=true]
failed
2016-04-04 16:32:46,480 DEBUG [org.apache.activemq.artemis.core.client] (Thread-6
(ActiveMQ-client-global-threads-1863167529)) Trying backup config =
TransportConfiguration(name=http-connector,
factory=org-apache-activemq-artemis-core-remoting-impl-netty-NettyConnectorFactory)
?httpUpgradeEnabled=true&httpPpgradeEndpoint=http-acceptor&port=8180&host=192-168-99-101
2016-04-04 16:32:46,480 DEBUG [org.apache.activemq.artemis.core.client] (Thread-6
(ActiveMQ-client-global-threads-1863167529)) Started Netty Connector version 4.0.30.Final
2016-04-04 16:32:46,480 DEBUG [org.apache.activemq.artemis.core.client] (Thread-6
(ActiveMQ-client-global-threads-1863167529)) Remote destination: /192.168.99.101:8180
2016-04-04 16:32:47,495 DEBUG [org.apache.activemq.artemis.core.client] (Thread-6
(ActiveMQ-client-global-threads-1863167529)) Connector towards NettyConnector
[host=192.168.99.101, port=8180, httpEnabled=false, httpUpgradeEnabled=true,
useServlet=false, servletPath=/messaging/ActiveMQServlet, sslEnabled=false, useNio=true]
failed
2016-04-04 16:32:47,499 DEBUG [org.apache.activemq.artemis.core.client] (Thread-6
(ActiveMQ-client-global-threads-1863167529)) Started Netty Connector version 4.0.30.Final
2016-04-04 16:32:47,499 DEBUG [org.apache.activemq.artemis.core.client] (Thread-6
(ActiveMQ-client-global-threads-1863167529)) Remote destination: /192.168.99.101:8180
2016-04-04 16:32:48,524 DEBUG [org.apache.activemq.artemis.core.client] (Thread-6
(ActiveMQ-client-global-threads-1863167529)) Connector towards NettyConnector
[host=192.168.99.101, port=8180, httpEnabled=false, httpUpgradeEnabled=true,
useServlet=false, servletPath=/messaging/ActiveMQServlet, sslEnabled=false, useNio=true]
failed
2016-04-04 16:32:48,526 DEBUG [org.apache.activemq.artemis.core.client] (Thread-6
(ActiveMQ-client-global-threads-1863167529)) Backup is not active.
{noformat}
and does not failover to the second server.
Client log file (client.log) as well as both server instances logs attached (master.log,
slave.log).