5 Replies Latest reply on Nov 10, 2011 11:43 AM by Lukáš Brožovský

    Disconnected MDB blocks proper AS shutdown

    Lukáš Brožovský Newbie

        Hi, it appears that when JBoss (MDB) is configured to consume messages from remote HornetQ server, and the remote server properly shuts down, the MDB (or more precisely the resource adapter) gets into infinite loop trying to reconnect every 2s (which is the default configuration and that's just fine). But now when you try to properly shutdown JBoss, the shutdown thread hangs forever.

        The repeateable example is the javaee\jca-remote example in the distribution itself. I have checked through jira and forums, but did not find anything on that topic. Have I missed someting..?

       

        Windows 7 (64b)

        Java 1.6.0_21

        JBoss-5.1.0-GA

        HornetQ-2.1.2.Final