0 Replies Latest reply on Feb 15, 2006 7:02 PM by jarnbjo

    Premature execution of legacy shutdown hooks

    jarnbjo Newbie


      I'm currently trying to make use of the Coherence cache from Tangosol in a JBoss application. The cache is using a shutdown hook to end properly and when shutting down JBoss (even when using the shutdown script), the Coherence shutdown hook is being executed before running EJB requests are finished and the EJBs properly undeployed, making accesses to the cache to fail. Is this intended behaviour or am I having some problem, and if it is expected, why are not the EJBs properly undeployed before JBoss lets the VM execute shutdown hooks?