[infinispan-dev] Why does GlobalComponentRegistry have a shutdown hook?

Galder Zamarreño galder at redhat.com
Wed Nov 17 12:50:31 EST 2010


Why does GlobalComponentRegistry have a shutdown hook? It's not runnable on its own, like Infinispan servers are, so I don't see the point of a shutdown hook there. Any cleanup, which should be done within stop() is already called via DCM.stop().

This, together with the changes introduced by https://jira.jboss.org/browse/ISPN-771 are causing issues in standalone environments where other shutdown hooks run, i.e. when you do kill -3 on an Infinispan server

See https://jira.jboss.org/browse/ISPN-779

Cheers,
--
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache




More information about the infinispan-dev mailing list