Useful links:
http://www.solutionsfit.com/2008/08/27/osgi-what-modularity-can-do-for-you-part-1/
Discusson our problem: https://stackoverflow.com/questions/4330927/how-does-osgi-bundle-update-work
The conclusion from the above discussion thread.
1. We cant use update command for updating a single module.
2. Update command should be used when we are introducing a new version of the same bundle, to be only supplied to dependent bundles that are yet to come, -which are not yet there at the time of the update.
3. Solution: 'refresh' command without specifying a specific bundle, meaning that all bundles will be blindly refreshed. The 'refresh' command forces the rebuilding of the dependency tree of the target bundles, and coerce their class loaders to start loading their required classes from scratch.
I tried all the ways to refresh/update bundles using Apache web console. But if we refresh bundles using web console IGB UI is breaking.