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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...