1 Reply Latest reply on Aug 26, 2009 11:33 PM by Yong Hao Gao

    Messages get stuck on node

    Art Plata Newbie

      Environment Jboss 5.1 JBM 1.4.4.GA
      I have a cluster, that i'll call A with three Nodes. One of the nodes on A runs the Message Bridge as a HA Singleton that delivers messages to Cluster B. Occasionally, messages get stuck on one of the nodes in cluster A(ie see JMX and query below). The other nodes in cluster A appear to work fine, messages are delivered through the bridge to cluster B. It appears that just the one node is in a bad state.

      In order to resolve this issue I take down the bad node and fail-over seems to resolve the issue. Please let me know if you need more info.

      JMX and query output of stuck message.
      JBossMessage[26130944147749443]:PERSISTENT

      select reliable,expiration,timestamp,priority,type,headers from jbm_msg where message_id = 26130944147749443;
      reliable | expiration | timestamp | priority | type | headers
      ----------+------------+---------------+----------+------+-------------------------------------------------------------------------------------------------------------------------------------------
      Y | 0 | 1251308875336 | 4 | 2 | \000\000\000\002\000\016JBM_MESSAGE_ID\001\000+ID:JBM-b90b70f5-23dc-425d-9fcf-8ea3761a50b8\000\006H.DEST\015\001\000\015OTSEventQueue\000
      (1 row)


      select * from jbm_msg_ref where message_id = 26130944147749443;
      message_id | channel_id | transaction_id | state | ord | page_ord | delivery_count | sched_delivery
      -------------------+------------+----------------+-------+-------------------+----------+----------------+----------------
      26130944147749443 | 4682 | | C | 26130944147768505 | | 0 | 0