AdminService to manage Karaf instance

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

AdminService to manage Karaf instance

Raman

Hi,

         I have karaf container started as windows service. I thought of using AdminService to stop and start to recycle OSGi container without stopping windows service. When I call stop() on Adminservice, it seems OSGi framework is getting stopped and immediately getting started again. How to make OSGi framework is stopped until I call start() on AdminService. The following is the log snippet.

 

 

2011-09-06 15:49:28,334 INFO  [Thread-3] main.Main --- - Karaf shutdown socket: received shutdown command. Stopping framework....

ERROR  | wrapper  | 2011/09/06 15:49:30 | JVM exited unexpectedly.

STATUS | wrapper  | 2011/09/06 15:49:35 | Launching a JVM...

Sep 6, 2011 3:49:36 PM org.apache.karaf.main.SimpleFileLock lock

INFO: locking

2011-09-06 15:49:39,818 INFO  [Thread-7] internal.FeaturesServiceImpl -17-org.apache.karaf.features.core-2.1.1 - Bundles to refresh: .

 

 

Regards

Raman

 

Loading...