2 Replies Latest reply on Apr 22, 2013 5:17 AM by Jeffrey Jia

    HornetQ cluster with "connection-ttl-override" property

    Jeffrey Jia Newbie

      I have a cluster with to node and add connection-ttl-override  property in erey config/stand-alone/clustered/hornetq-configuration.xml configuration file

       

      config/stand-alone/clustered/hornetq-configuration.xml

       

      <connection-ttl-override>6000</connection-ttl-override>

       


      The log is:  is a bug?

       

      18:34:38,781 WARN  [org.hornetq.core.client] HQ212037: Connection failure has been detected: HQ119014: Did not receive data from /172.17.103.162:53846. It is likely the client has exited or crashed without closing its connection, or the network between the server and client has failed. You also might have configured connection-ttl and client-failure-check-period incorrectly. Please check user manual for more information. The connection will now be closed. [code=CONNECTION_TIMEDOUT]

      18:34:38,784 WARN  [org.hornetq.core.server] HQ222061: Client connection failed, clearing up resources for session 8dd35b53-a813-11e2-93c7-81158678ae9c

      18:34:38,789 WARN  [org.hornetq.core.server] HQ222107: Cleared up resources for session 8dd35b53-a813-11e2-93c7-81158678ae9c

      18:34:38,797 WARN  [org.hornetq.core.client] HQ212037: Connection failure has been detected: HQ119014: Did not receive data from /172.17.103.161:51019. It is likely the client has exited or crashed without closing its connection, or the network between the server and client has failed. You also might have configured connection-ttl and client-failure-check-period incorrectly. Please check user manual for more information. The connection will now be closed. [code=CONNECTION_TIMEDOUT]

      18:34:39,036 WARN  [org.hornetq.core.server] HQ222095: Connection failed with failedOver=false: HornetQException[errorType=NOT_CONNECTED message=HQ119006: Channel disconnected]

          at org.hornetq.core.client.impl.ClientSessionFactoryImpl.connectionDestroyed(ClientSessionFactoryImpl.java:418) [hornetq-core-client.jar:]

          at org.hornetq.core.remoting.impl.netty.NettyConnector$Listener$1.run(NettyConnector.java:871) [hornetq-core-client.jar:]

          at org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:106) [hornetq-core-client.jar:]

          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_37]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_37]

          at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_37]

       

      18:34:39,573 INFO  [org.hornetq.core.server] HQ221027: Bridge ClusterConnectionBridge@7fb2380e [name=sf.my-cluster.76aca673-a812-11e2-9f3a-812da7ede966, queue=QueueImpl[name=sf.my-cluster.76aca673-a812-11e2-9f3a-812da7ede966, postOffice=PostOfficeImpl [server=HornetQServerImpl::serverUUID=d33b6965-a812-11e2-85ef-7fd2f69377d8]]@d7e60a1 targetConnector=ServerLocatorImpl (identity=(Cluster-connection-bridge::ClusterConnectionBridge@7fb2380e [name=sf.my-cluster.76aca673-a812-11e2-9f3a-812da7ede966, queue=QueueImpl[name=sf.my-cluster.76aca673-a812-11e2-9f3a-812da7ede966, postOffice=PostOfficeImpl [server=HornetQServerImpl::serverUUID=d33b6965-a812-11e2-85ef-7fd2f69377d8]]@d7e60a1 targetConnector=ServerLocatorImpl [initialConnectors=[TransportConfiguration(name=netty, factory=org-hornetq-core-remoting-impl-netty-NettyConnectorFactory) ?port=5445&host=172-17-103-162], discoveryGroupConfiguration=null]]::ClusterConnectionImpl@1932028688[nodeUUID=d33b6965-a812-11e2-85ef-7fd2f69377d8, connector=TransportConfiguration(name=netty, factory=org-hornetq-core-remoting-impl-netty-NettyConnectorFactory) ?port=5446&host=172-17-103-161, address=jms, server=HornetQServerImpl::serverUUID=d33b6965-a812-11e2-85ef-7fd2f69377d8])) [initialConnectors=[TransportConfiguration(name=netty, factory=org-hornetq-core-remoting-impl-netty-NettyConnectorFactory) ?port=5445&host=172-17-103-162], discoveryGroupConfiguration=null]] is connected

      18:34:46,801 WARN  [org.hornetq.core.client] HQ212037: Connection failure has been detected: HQ119014: Did not receive data from /172.17.103.162:58291. It is likely the client has exited or crashed without closing its connection, or the network between the server and client has failed. You also might have configured connection-ttl and client-failure-check-period incorrectly. Please check user manual for more information. The connection will now be closed. [code=CONNECTION_TIMEDOUT]

      18:34:46,803 WARN  [org.hornetq.core.server] HQ222061: Client connection failed, clearing up resources for session 92c6e78a-a813-11e2-93c7-81158678ae9c

      18:34:46,807 WARN  [org.hornetq.core.server] HQ222107: Cleared up resources for session 92c6e78a-a813-11e2-93c7-81158678ae9c

      18:34:47,049 WARN  [org.hornetq.core.server] HQ222095: Connection failed with failedOver=false: HornetQException[errorType=NOT_CONNECTED message=HQ119006: Channel disconnected]

          at org.hornetq.core.client.impl.ClientSessionFactoryImpl.connectionDestroyed(ClientSessionFactoryImpl.java:418) [hornetq-core-client.jar:]

          at org.hornetq.core.remoting.impl.netty.NettyConnector$Listener$1.run(NettyConnector.java:871) [hornetq-core-client.jar:]

          at org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:106) [hornetq-core-client.jar:]

          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_37]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_37]

          at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_37]

       

      18:34:47,576 INFO  [org.hornetq.core.server] HQ221027: Bridge ClusterConnectionBridge@7fb2380e [name=sf.my-cluster.76aca673-a812-11e2-9f3a-812da7ede966, queue=QueueImpl[name=sf.my-cluster.76aca673-a812-11e2-9f3a-812da7ede966, postOffice=PostOfficeImpl [server=HornetQServerImpl::serverUUID=d33b6965-a812-11e2-85ef-7fd2f69377d8]]@d7e60a1 targetConnector=ServerLocatorImpl (identity=(Cluster-connection-bridge::ClusterConnectionBridge@7fb2380e [name=sf.my-cluster.76aca673-a812-11e2-9f3a-812da7ede966, queue=QueueImpl[name=sf.my-cluster.76aca673-a812-11e2-9f3a-812da7ede966, postOffice=PostOfficeImpl [server=HornetQServerImpl::serverUUID=d33b6965-a812-11e2-85ef-7fd2f69377d8]]@d7e60a1 targetConnector=ServerLocatorImpl [initialConnectors=[TransportConfiguration(name=netty, factory=org-hornetq-core-remoting-impl-netty-NettyConnectorFactory) ?port=5445&host=172-17-103-162], discoveryGroupConfiguration=null]]::ClusterConnectionImpl@1932028688[nodeUUID=d33b6965-a812-11e2-85ef-7fd2f69377d8, connector=TransportConfiguration(name=netty, factory=org-hornetq-core-remoting-impl-netty-NettyConnectorFactory) ?port=5446&host=172-17-103-161, address=jms, server=HornetQServerImpl::serverUUID=d33b6965-a812-11e2-85ef-7fd2f69377d8])) [initialConnectors=[TransportConfiguration(name=netty, factory=org-hornetq-core-remoting-impl-netty-NettyConnectorFactory) ?port=5445&host=172-17-103-162], discoveryGroupConfiguration=null]] is connected