Gemini Blueprint Extender ShutdownSorter issues [message #1480663] |
Thu, 20 November 2014 06:12  |
Eclipse User |
|
|
|
I am having issues when shutting down Glassfish 4.0.
The Blueprint extender tries to work out the order in which to shut down my blueprint contexts but because every context has a using bundle of "org.glassfish.hk2.osgi-adapter" and lots are being used by "org.apache.felix.configadmin" it isn't able to work out a sensible order. Instead it ends up sorting by bundle id which in my case does not work and I end up with contexts being destroyed that are still in use leading to dependent proxies blocking and timeouts.
By modifying the ShutdownSorter to ignore bundles that are not part of the managed set of bundles the results are much better. The rationale here is that the ShutdownSorter is trying to order a set of bundles and only needs to consider bundles in this set - external influences can be ignored.
My modified ShutdownSorter is attached.
Is this a common problem or is there some other way to address this?
|
|
|
|
Powered by
FUDForum. Page generated in 0.03895 seconds