[jboss-dev-forums] [Design of JBossCache] - Re: Shutdown hooks

bstansberry@jboss.com do-not-reply at jboss.com
Mon Jan 7 13:50:12 EST 2008


Re: always adding the hook, no that will break the AS.  There is no way to specify ordering of shutdown hook execution.  If JBC's own hook executes first, the proper undeployment ordering is not followed.  For example, a clustered webapp should be undeployed before the cache is.  A JBC hook executing first would break this, leading to all sorts of ugliness as the AS shutdown hook executes (this is what was happening before we put CR2 in AS 5.)

Re: DEFAULT/REGISTER/DONT_REGISTER that sounds fine.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4117672#4117672

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4117672



More information about the jboss-dev-forums mailing list