Skip to main content



      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 00:28 Go to next message
Eclipse UserFriend
Hi!

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.

Thanks,
Jad.
Re: Bundles always refresh when using the config admin [message #997254 is a reply to message #996452] Fri, 04 January 2013 13:00 Go to previous message
Eclipse UserFriend
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:
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Gemini.JPA

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


Current Time: Sun May 11 07:43:15 EDT 2025

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

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

Back to the top