14 Replies Latest reply on Jul 1, 2010 8:15 AM by Geoff Pole

    Core Bridge Target Server isn't forming cluster.

    Art Plata Newbie

      Thanks for your help on the issue below, upgrading to Trunk fixed the that issue. However, during more testing I noticed that if our target server of the core bridge is part of a static configured cluster it will not re-form with the cluster if the target sever is taken down while the other nodes in the cluster stay up. I see the exception below in the other node in the cluster(not the target server of the bridge)from the ClusterConnectionImpl and only see messages on the target server of the core bridge.

       

      Environment Jboss 5.1 and attached in the config on both Cluster B servers...

       

      Here are the steps i take to get into this state. I have a source cluster A that has bridge to one machine in Cluster B, in Cluster B i have two nodes one that is the target(B1) of the core bridge and another node(B2) that is simply clustered with static cluster connectors. I start with all nodes up in a good state. I can send messages from the source Cluster A and receive them on B1 and B2. Next, I take B1 down leaving B2 up. Now If I bring B1 up the core bridge connects and I send messages from cluster A, but they only go to B1, never to B2, I just see the exceptions below. My queues and topics on B2, don't seem to be clustered.

       

      Thanks for your help...

       

       

      Other issue

      https://community.jboss.org/thread/152231?tstart=30

       

       

      ERROR [org.hornetq.core.server.cluster.impl.ClusterConnectionImpl] (Thread-17 (group:HornetQ-client-global-threads-34275781)) Failed to handle message
      java.lang.IllegalStateException: Cannot find binding for jms.queue.HeartbeatEventQueueddfefa33-7296-11df-bd36-d00d4b3608ce
          at org.hornetq.core.server.cluster.impl.ClusterConnectionImpl$MessageFlowRecordImpl.doConsumerCreated(ClusterConnectionImpl.java:774)
          at org.hornetq.core.server.cluster.impl.ClusterConnectionImpl$MessageFlowRecordImpl.onMessage(ClusterConnectionImpl.java:568)
          at org.hornetq.core.client.impl.ClientConsumerImpl.callOnMessage(ClientConsumerImpl.java:809)
          at org.hornetq.core.client.impl.ClientConsumerImpl.access$100(ClientConsumerImpl.java:46)
          at org.hornetq.core.client.impl.ClientConsumerImpl$Runner.run(ClientConsumerImpl.java:927)
          at org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:96)
          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
          at java.lang.Thread.run(Thread.java:619)
      2010-06-08 17:31:53,956 ERROR [org.hornetq.core.server.cluster.impl.ClusterConnectionImpl] (Thread-17 (group:HornetQ-client-global-threads-34275781)) Failed to handle message
      java.lang.IllegalStateException: Cannot find binding for jms.queue.OTSEventQueueddfefa33-7296-11df-bd36-d00d4b3608ce
          at org.hornetq.core.server.cluster.impl.ClusterConnectionImpl$MessageFlowRecordImpl.doConsumerCreated(ClusterConnectionImpl.java:774)
          at org.hornetq.core.server.cluster.impl.ClusterConnectionImpl$MessageFlowRecordImpl.onMessage(ClusterConnectionImpl.java:568)
          at org.hornetq.core.client.impl.ClientConsumerImpl.callOnMessage(ClientConsumerImpl.java:809)
          at org.hornetq.core.client.impl.ClientConsumerImpl.access$100(ClientConsumerImpl.java:46)
          at org.hornetq.core.client.impl.ClientConsumerImpl$Runner.run(ClientConsumerImpl.java:927)
          at org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:96)
          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
          at java.lang.Thread.run(Thread.java:619)