0 Replies Latest reply on Sep 1, 2010 5:27 AM by Saurabh Valsangkar

    Jboss 4.0.4 clustering loosing JMS messages on failover.

    Saurabh Valsangkar Newbie

      I have a jboss 4.0.4 clustering with jms clustered services using the JMS HA-Singleton instance.
      The JMS topics,services, connections are all HA-Singleton.
      If the primary server is processing JMS messages and there is a failover from primary to secondary all these messages are lost.

      I have persistent datastore where the jms messages get stored only if the jms message cache becomes full.

      Is there any way we can avoid the message lost during failover?

      All the messages which are in the message cache gets lost during failover from primary to secondary.

       

      Is there a way to read the messages from the JMS destinations like topic and queue and manually insert it into JMS_Messages tabe before the primary server is shut down?

       

      Is there any property which replicates the JMS messages from the primary server cahe into secondary server cache so the the messages are not lost and after failover the secondary server processes the messages.

       

      Thanks.