1 Reply Latest reply on Apr 18, 2011 1:54 AM by genman

    Server waits for AsyncUtils to complete the task on shut down.

    ivanlatysh

      It appears that AsyncUtils thread is not bound to the server lifecycle nither marked as a daemon. So JBossAS wait for AsyncUtils to complete before it can shut down.

       

      Does anybody has an idea on how to shutdown gracefully while AsyncUtils is running a task ?

       

      Reference:

      http://docs.jboss.org/ejb3/docs/tutorial/1.0.7/html/Asynchronous_Invocations.html