1 Reply Latest reply on May 12, 2010 12:23 PM by Ales Justin

    How to make sure HornetQ Resource Adapter is stopped before HornetQ server

    Jeff Mesnil Master

      Hi,

       

      one of our user reported an issue which prevents the AS server to shutdown properly.

      The root cause is that the HornetQ server is stopped first, causing the RA connections to reconnect indefinitely, preventing the server to stop.

      It's ok for the RA connections to reconnect indefinitely as they are intra-VM only.

       

      The user proposed a solution to make sure the RA was stopped before the HornetQ server: http://community.jboss.org/message/534116#534116

      But I find his solution cumbersome.

       

      Is there a simpler way (e.g. through the MC) to ensure that when stopping the services, the Resource adapter is stopped before HornetQ server?

       

      thanks