Hello All,

I have trying to stop a bundle from within itself by invoking stop method as
following in its Activator's start method:

But post this statement is executed, when i check its state via "lb" command
on  felix shell, its state is shown as Active.
Then when i try to stop it via stop <bundleid> command, an exception is
thrown that
*org.osgi.framework.BundleException: Stopping a starting or stopping bundle
is currently not supported.*And then its state is shown as *stopping*

Please someone tell how i can achieve this..


View this message in context: 
Sent from the Apache Felix - Users mailing list archive at Nabble.com.

To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org

Reply via email to