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

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


I've removed the shutdown hook stuff from GCR and the issue is now gone.

I'll be sending a pull on this tomorrow.

On Nov 17, 2010, at 6:50 PM, Galder Zamarreño wrote:

> 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
> 
> 
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

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




More information about the infinispan-dev mailing list