1 Reply Latest reply on Jan 17, 2005 12:28 AM by he guangwei

    HAJMS: Problem with Wiki JBossMQHA

    Thorsten Kisner Newbie

      Hi.

      I've two JBoss-4.0.0 (Java VM: Java HotSpot(TM) Server VM 1.4.2_04-b05, Sun Microsystems Inc.) and try to establish HAJMS. I've read http://www.jboss.org/wiki/Wiki.jsp?page=JBossMQHA and pointed both server to a MySQL-Database. When trying to follow the steps in the hajms-examples.sar.zip example, everything is ok until i try this: Run operation stop on the node that is currently the master
      The HASingletonDeployer moves to the new node, but at the old one I get this error:

      11:12:10,052 WARN [BasicQueue] Error during stop - removing subscriber Subscription[subId=-2147483648connection=ConnectionToken:ID:6/a3ad96b09129e4f3c763de7ca815a982 destination
      =QUEUE.testQueue messageSelector=null Local Create]
      javax.jms.InvalidDestinationException: The subscription was registered with a destination that does not exist !


      The message Notification received by ExceptionListener?..." doesn't appear on the client side.
      In http://www.jboss.org/index.html?module=bb&op=viewtopic&t=55403 Adrian Brock wrote this Error during stop should have been fixed in 3.2.6 but I still have it on the 4.0.0.

      My objective is to have a similar failover mechanisms like with clustered stafeful session beans. A client does not realise when a server dies. Is this possible with jms? Reading http://jboss.org/index.html?module=bb&op=viewtopic&t=44218 I think it should be possible. But where could be a error?

      I'll be grateful for every hint
      Thorsten