This is in response to a user forum thread
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089709#... and
it's corresponding JIRA JBCACHE-1204.
What will happen for JBC 2.1.0.GA is that the default behaviour is:
1. If an MBean server is detected, do not register a shutdown hook.
2. Else, register a shutdown hook.
To make things more sophisticated for cases where an MBean server may not control shutdown
or a non-MBean server environment may control shutdown (such as a JBoss-MC standalone
environment) there is a config parameter:
|
| <!--
| Available options:
| DEFAULT (this is selected if this config element is omitted)
| REGISTER (forces registering the hook, even if an MBean server is detected)
| DONT_REGISTER (does not register a hook, even if an MBean server is not
detected)
| -->
| <attribute name="ShutdownHookBehaviour">DEFAULT</attribute>
|
|
Any thoughts or comments on this? Brian?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4117032#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...