1 2 Previous Next 22 Replies Latest reply on Nov 11, 2009 8:38 AM by rnicholson10 Go to original post
      • 15. Re: Build HornetQ for fix to HORNETQ-133
        rnicholson10

        After doing the build and reinstalling into a fresh copy of JBoss AS everything works fine.

        Unfortunately if I shutdown one server and start it up again the bridge fails to reconnect. It's machine B that gets restarted.

        Machine A

        2009-10-07 15:28:56,351 WARNING [org.hornetq.core.remoting.impl.RemotingConnectionImpl] (Thread-1 (group:HornetQ-client-global-threads-1238098412)) Connection failure has been detected: Did not receive data from server for org.hornetq.integration.transports.netty.NettyConnection@3ffbb348[local= /172.16.9.54:47528, remote=/172.16.113.22:5445] [code=3]
        2009-10-07 15:28:56,354 INFO [org.hornetq.core.server.cluster.impl.BridgeImpl] (Thread-7 (group:HornetQ-client-global-threads-1238098412)) bridge InputToEngineBridge has failed
        


        Machine B:
        2009-10-07 15:31:41,963 WARNING [org.hornetq.core.server.impl.ServerSessionImpl] (Thread-7) Cleared up resources for session 3ba5652f-b33f-11de-b3a8-0023ae7a47b6
        2009-10-07 15:31:41,963 WARNING [org.hornetq.core.remoting.impl.RemotingConnectionImpl] (Thread-7) Connection failure has been detected: Did not receive ping from/172.16.113.26:56425. It is likely the client has exited or crashed without closing its connection, or the network between the server and client has failed. The connection will now be closed. [code=3]
        2009-10-07 15:31:41,963 WARNING [org.hornetq.core.server.impl.ServerSessionImpl] (Thread-7) Client connection failed, clearing up resources for session 6ef40232-b33f-11de-9869-00221950ab98
        


        • 16. Re: Build HornetQ for fix to HORNETQ-133
          rnicholson10

          Interesting, after a time I also get this message on Machine A:

          2009-10-07 16:15:07,977 SEVERE [org.hornetq.core.client.impl.ClientSessionImpl] (Thread-7 (group:HornetQ-client-global-threads-1238098412)) Failed to handle failover
          HornetQException[errorCode=3 message=Timed out waiting for response when sending packet 30]
           at org.hornetq.core.remoting.impl.ChannelImpl.sendBlocking(ChannelImpl.java:289)
           at org.hornetq.core.client.impl.ClientSessionImpl.handleFailover(ClientSessionImpl.java:904)
           at org.hornetq.core.client.impl.FailoverManagerImpl.reattachSessions(FailoverManagerImpl.java:706)
           at org.hornetq.core.client.impl.FailoverManagerImpl.failoverOrReconnect(FailoverManagerImpl.java:617)
           at org.hornetq.core.client.impl.FailoverManagerImpl.handleConnectionFailure(FailoverManagerImpl.java:485)
           at org.hornetq.core.client.impl.FailoverManagerImpl.access$600(FailoverManagerImpl.java:65)
           at org.hornetq.core.client.impl.FailoverManagerImpl$DelegatingFailureListener.connectionFailed(FailoverManagerImpl.java:1020)
           at org.hornetq.core.remoting.impl.RemotingConnectionImpl.callFailureListeners(RemotingConnectionImpl.java:409)
           at org.hornetq.core.remoting.impl.RemotingConnectionImpl.fail(RemotingConnectionImpl.java:252)
           at org.hornetq.core.client.impl.FailoverManagerImpl$PingRunnable$1.run(FailoverManagerImpl.java:1076)
           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)
          2009-10-07 16:15:07,977 INFO [org.hornetq.core.server.cluster.impl.BridgeImpl] (Thread-7 (group:HornetQ-client-global-threads-1238098412)) bridge InputToEngineBridge has failed
          2009-10-07 16:15:07,981 WARNING [org.hornetq.core.remoting.impl.RemotingConnectionImpl] (Thread-1 (group:HornetQ-client-global-threads-1238098412)) Connection failure has been detected: Did not receive data from server for org.hornetq.integration.transports.netty.NettyConnection@2308dacb[local= /172.16.9.54:51020, remote=/172.16.113.22:5445] [code=3]
          
          


          • 17. Re: Build HornetQ for fix to HORNETQ-133
            timfox

            Can you add a JIRA for the bridges not reconnecting on restart?

            • 18. Re: Build HornetQ for fix to HORNETQ-133
              rnicholson10
              • 19. Re: Build HornetQ for fix to HORNETQ-133
                ataylor

                Any chance you could try again with trunk?

                • 20. Re: Build HornetQ for fix to HORNETQ-133
                  rnicholson10

                  Sure, but I won't get a chance till Tuesday as I'm away till then.

                  • 21. Re: Build HornetQ for fix to HORNETQ-133
                    timfox

                    Any update on this?

                    • 22. Re: Build HornetQ for fix to HORNETQ-133
                      rnicholson10

                      My last two builds did not work. But I didn't even get as far as checking the bridges.

                      I will try again from trunk on Friday.

                      R.

                      1 2 Previous Next