Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Gemini » Bundles always refresh when using the config admin
Bundles always refresh when using the config admin [message #996452] Wed, 02 January 2013 05:28 Go to next message
Jad N is currently offline Jad NFriend
Messages: 3
Registered: December 2012
Junior Member

Gemini JPA currently always refreshes a bundle when using the configuration admin service to configure it without regard to the REFRESH_BUNDLES system property. Is there a reason to do so? This raises some race conditions that can lead to deadlocks with iPOJO and Felix.

Re: Bundles always refresh when using the config admin [message #997254 is a reply to message #996452] Fri, 04 January 2013 18:00 Go to previous message
Michael Keith is currently offline Michael KeithFriend
Messages: 243
Registered: July 2009
Senior Member
Hi Jad,

The REFRESH_BUNDLES property was created for the listener to not refresh bundles when it detected them. It was not designed to stop refreshing for the config admin service, which is a different case for refreshing. There are probably cases when users can create conditions to not require a refresh for a standalone config, though, so either we could extend the global refreshing property to apply to this or use the gemini.jpa.punit.refresh property to disable it for standalone configs. Feel free to enter a bug on this:

Previous Topic:Blueprint: How to implement AbstractApplicationContext.getEnvironment()
Next Topic:Application could not be found in the registry
Goto Forum:

Current Time: Sat Mar 02 11:25:54 GMT 2024

Powered by FUDForum. Page generated in 0.02520 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top