1 Reply Latest reply on Oct 22, 2005 3:22 PM by dode

    Difference between local and remote JBossMQ database

    dode

      I have changed the DefaultDS to be MySQL instead of Hypersonic. So the MySQL database is used for message persistence and the state manager.

      Everything works fine, just this I don't understand:

      When I shutdown the database while JBossMQ is being used, I get the expected errors and everything goes back to normal as soon as the database is up again.

      But when the database is running on another machine than JBoss AS, the behaviour seems different. All JMS clients get disconnected and need to reconnect. This doesn't seem to happen when the database is local.

      Why this difference? Or are my observations wrong?

      Torsten

        • 1. Re: Difference between local and remote JBossMQ database
          dode

          My observations were completely wrong, sorry for that.

          I simulated the database unavailability by pulling the network cable of the WinXP machine where JBoss was running. This does obviously not only make the remote database unavailable, but also take down local networking, so the JMS clients lost connection to the provider even though running on the same machine.

          Is that because Windows does not have a loopback network device like Linux/Unix? Anyway - irrelevant question to this forum.

          Again, sorry...
          Torsten