Hi all,

In my project I am upgrading Felix (1.0.3) and the EventAdmin (1.0.0)
to the latest version, and now during shutdown (using the shutdownhook
and ctrl-c), I get an IllegalStateException indicating the eventadmin
is stopped.
The exception is thrown when trying to send events during shutdown.
Somehow I expected the framework to deregister the EventAdmin service
before actually stopping it, so the client wouldn't be able to use it
anymore. Now the service is still available, but the actual behavior
isn't.
This exception blocks the shutdown, and the only way to stop the
process is by killing it.

How should I handle this case? Do I have to catch an
IllegalStateException at all sendEvent call's?

-- 
With kind regards,

Alexander Broekhuis

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

Reply via email to