>
> I believe this can be fixed by changing the HazelcastBundleListener to
> be a SynchronousBundleListener (I believe the error occurred because I
> accessed Hazelcast in my Activator.start()). Also I see the
> BundleEvent.STOPPING will remove the classloader. Will the bundle
> listener receive the STOPPING event before or after the Activator.stop
> is called (I would like to be able to execute a hazelcast action in
> Activator.stop)?
>

You are probably right on this one. There is a chance that your example
accessed the combined class loader before the bundle listener registered
your bundle to the loader.

Would you like to create a jira and attach a patch for it, so that we can be
able to monitor your contributions? I feel that we are going to see more
from you ;)


> If I run shutdown on karaf, it would be nice if it was possible to be
> able to execute a hazelcast command before cellar shuts down the
> hazelcast instance. When I try to do this now, it appears the cellar
> hazelcast bundle beats me to it (I get a hazelcast instance stopped
> error). Would you have any suggestion here?
>

 How are you trying to do this? I am not sure I totally understand what you
are trying to do.

Reply via email to