[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[equinox-dev] How to stop/kill Equinox/Eclipse launcher instance correctly

Hello All,

I run equinox with eclipse launcher on linux.

I'd like to stop it correctly (= stop OSGi framework with system bundle stop)

I've found several ways how to do it:
1. with equinox console (telnet) - call "close" or "stop 0" commands
2. with OSGi Enterprise JMX API - install JMX Impl, connect with JMX client and shut down the framework
3. kill process. Bundles are not stopped correctly
 
Questions:
1. Is it possible to configure eclipse launcher to activate or insert a shutdown hook to stop bundles correctly on Ctrl+C or KILL?
2. Are there any other ways to stop the framework correctly?

Thank you in advance.

Best regards,
Dmytro Pishchukhin