0 Replies Latest reply on May 2, 2011 6:08 AM by Masao Kunii

    Not stop logging after HA server failback

    Masao Kunii Newbie



      I am using HornetQ 2.2.2 final and would like to use HA.

      I deployed HornetQ configured some settings for HA on two JBossEAP5.1GA servers. nodeA is a live server and nodeB is backup server.

      Here is my connection-factory on both nodes setting:

         <connection-factory name="NettyConnectionFactory">
               <connector-ref connector-name="netty"/>
               <entry name="/XAConnectionFactory"/>


      For testing failover and failback, I did procedures as follows:

      1) Start both nodes.

      2) Kill nodeA JBoss process. (failover - nodeB is live)

      3) Start nodeA. (failback - nodeA is live)


      Failover is no problem and failback works functionally. But after nodeA got to be the live server again, the following debug message is logged to server.log repeatedly until using up disk space.

       "2011-05-02 17:23:19,168 DEBUG [org.hornetq.core.remoting.impl.netty.NettyConnector] (Thread-1 (group:HornetQ-client-global-threads-1246251167)) Started Netty Connector version 3.2.3.Final-r${buildNumber}  


      It looks that reconnectAttempts property is overwrited to -1  at ClusterManagerImpl#announceBackup() even if I configured it to other value on xml. Is it cause of this problem? Is there any setting to stop appearing the message or any workaround for this?



      thank you,