5 Replies Latest reply on Apr 19, 2006 9:16 AM by Jukka Väänänen

    setExceptionListener() warnings in clustered environment

    Joseph Miller Newbie

      I have a 2-node JBoss cluster, using HA-JMS, with MySQL as a persistence mechanism, and using the hajndi-jms-ds.xml file (as suggested in http://wiki.jboss.org/wiki/Wiki.jsp?page=LoadBalancedFaultTolerantMDBs)

      and things seem to be mostly working - messages can be sent on any node in the cluster, and only one node at a time will process the messages (via an MDB).

      However, when I shut down either one of the nodes, on the other I get a whole lot of

      15:56:04,075 WARN [org.jboss.mq.Connection] Connection failure, use javax.jms.Connection.setExceptionListener() to handle this error and reconnect
      org.jboss.mq.SpyJMSException: No pong received; - nested throwable: (java.io.IOException: ping timeout.)
       at org.jboss.mq.Connection$PingTask.run(Connection.java:1323)
       at EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(ClockDaemon.java:364)
       at java.lang.Thread.run(Thread.java:534)
      Caused by: java.io.IOException: ping timeout.
       ... 3 more


      But no messages saying that the JMS reconnected again afterwards..

      What do I need to be doing to get this working correctly?