« Return to Thread: Mule shudown with jms and xa

Re: Mule shudown with jms and xa

by Holger Hoffstätte-2 :: Rate this Message:

Reply to Author | View in Thread

JURZAK Theotime wrote:
> The problem is my transaction monitor (atomikos) is already shutdown. It
> has a shutdown hook and checking logs, i see that when rollback is
> called, it’s stopped.

JVM shutdown hooks are essentially _completely useless_ for services that
depend on each other and their respective lifecycles, since they are
executed concurrently, which means random order. So you might see correct
shutdown at one time and some other random behaviour the next. Try
shutting down Mule first and then Atomikos.

-h

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

 « Return to Thread: Mule shudown with jms and xa