]
Kabir Khan edited comment on WFLY-7810 at 12/16/16 12:18 PM:
-------------------------------------------------------------
contains the full part and has been
merged. The rest will come when Undertow is upgraded to 1.4.8
was (Author: kabirkhan):
Artemis hangs during failback in remote JCA scenario
----------------------------------------------------
Key: WFLY-7810
URL:
https://issues.jboss.org/browse/WFLY-7810
Project: WildFly
Issue Type: Bug
Components: JMS
Reporter: Jeff Mesnil
Assignee: Jeff Mesnil
Priority: Critical
Remote JCA scenario:
* There are 3 nodes
* Node 1 and node 2 are Live-Backup pair (replicated HA)
* Node 3 has MDB which remotely connects to node 1 and is able to do failover on node 2
* During the test, node 1 is killed and started again
Problem occurs when node 1 is started again. Servers are configured to do failback. When
node 1 wants to become live again, something goes wrong with connection between node 1 and
node 2. On node 1 I can see repeated WARN message \[1\]. Node 2 prints repeatedly WARN
message \[2\].
I can see the same issue also with 7.0.x. We haven't notice this error because the
test didn't check state of servers after the failback.
When I modify the test to not deploy MDB on node 3, the test passes without any unusual
error. It seems the issue is related to this scenario.
\[1\]
{code}
09:59:09,197 WARN [org.apache.activemq.artemis.core.server] (Thread-0
(ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$2@26357508-1826618556))
AMQ222137: Unable to announce backup, retrying: ActiveMQConnec
tionTimedOutException[errorType=CONNECTION_TIMEDOUT message=AMQ119012: Timed out waiting
to receive initial broadcast from cluster]
at
org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:747)
[artemis-core-client-1.5.0.redhat-1.jar:1.5.0.redhat-1]
at
org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.connect(ServerLocatorImpl.java:625)
[artemis-core-client-1.5.0.redhat-1.jar:1.5.0.redhat-1]
at
org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.connect(ServerLocatorImpl.java:607)
[artemis-core-client-1.5.0.redhat-1.jar:1.5.0.redhat-1]
at
org.apache.activemq.artemis.core.server.cluster.BackupManager$BackupConnector$1.run(BackupManager.java:246)
[artemis-server-1.5.0.redhat-1.jar:1.5.0.redhat-1]
at
org.apache.activemq.artemis.utils.OrderedExecutorFactory$OrderedExecutor$ExecutorTask.run(OrderedExecutorFactory.java:101)
[artemis-commons-1.5.0.redhat-1.jar:1.5.0.redhat-1]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[rt.jar:1.8.0_111]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[rt.jar:1.8.0_111]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_111]
{code}
\[2\]
{code}
10:00:19,245 WARN [org.apache.activemq.artemis.core.client] (Thread-135) AMQ212042:
Timed out waiting for packet to be flushed
10:00:29,245 WARN [org.apache.activemq.artemis.core.client] (Thread-135) AMQ212042:
Timed out waiting for packet to be flushed
10:00:39,245 WARN [org.apache.activemq.artemis.core.client] (Thread-135) AMQ212042:
Timed out waiting for packet to be flushed
10:00:49,246 WARN [org.apache.activemq.artemis.core.client] (Thread-135) AMQ212042:
Timed out waiting for packet to be flushed
10:00:59,247 WARN [org.apache.activemq.artemis.core.client] (Thread-135) AMQ212042:
Timed out waiting for packet to be flushed
10:01:09,247 WARN [org.apache.activemq.artemis.core.client] (Thread-135) AMQ212042:
Timed out waiting for packet to be flushed
10:01:19,248 WARN [org.apache.activemq.artemis.core.client] (Thread-135) AMQ212042:
Timed out waiting for packet to be flushed
10:01:29,248 WARN [org.apache.activemq.artemis.core.client] (Thread-135) AMQ212042:
Timed out waiting for packet to be flushed
10:01:39,249 WARN [org.apache.activemq.artemis.core.client] (Thread-135) AMQ212042:
Timed out waiting for packet to be flushed
10:01:49,249 WARN [org.apache.activemq.artemis.core.client] (Thread-135) AMQ212042:
Timed out waiting for packet to be flushed
10:01:59,250 WARN [org.apache.activemq.artemis.core.client] (Thread-135) AMQ212042:
Timed out waiting for packet to be flushed
10:02:09,250 WARN [org.apache.activemq.artemis.core.client] (Thread-135) AMQ212042:
Timed out waiting for packet to be flushed
{code}