Ah yeah, good point Guillaume ;)

Let see the Thomas' feedback.

Regards
JB

On 05/26/2011 10:56 AM, Guillaume Nodet wrote:
How did you install the bundles ? Using the deploy folder ? If yes,
fileinstall tries to start the bundles automatically iirc. If you want
more control, use osgi:install / osgi:update to control your bundles.


On Wednesday, May 25, 2011 at 10:54 PM, thomasrynne wrote:

Using peaberry, I have bundle A which exports a service and bundle B which
uses the service.

Using the vanilla felix installation I can restart bundle A and bundle B
then uses the new instance.
Under karaf, when I restart bundle A bundle B gets restarted too.

Is this a karaf feature? Is there a way to switch off this feature? I
am new
to osgi so maybe there is a different way to do this.

Essentially I am trying to find the best way to redeploy new code without
disrupting the dependencies (with or without peaberry). Maybe services
should never keep a reference to another service and lookup the service on
every use?

Any pointers would be appreciated.

--
View this message in context:
http://karaf.922171.n3.nabble.com/Disable-automatic-bundle-restart-tp2986102p2986102.html
Sent from the Karaf - User mailing list archive at Nabble.com
<http://Nabble.com>.
------------------------
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Reply via email to