Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Karaf Remote Management with Eclipse"
Line 2: | Line 2: | ||
[[File:Eclipserm1.png]] | [[File:Eclipserm1.png]] | ||
+ | |||
+ | ==Install of Karaf Remote Management Services Host== | ||
+ | |||
+ | Follow these instructions to install the ECF Remote Management Services. | ||
+ | |||
+ | Install [http://karaf.apache.org Karaf 4.0.8 using Java 8 vm]. | ||
+ | |||
+ | Start Karaf | ||
+ | |||
+ | <pre> | ||
+ | __ __ ____ | ||
+ | / //_/____ __________ _/ __/ | ||
+ | / ,< / __ `/ ___/ __ `/ /_ | ||
+ | / /| |/ /_/ / / / /_/ / __/ | ||
+ | /_/ |_|\__,_/_/ \__,_/_/ | ||
+ | |||
+ | Apache Karaf (4.0.8) | ||
+ | |||
+ | Hit '<tab>' for a list of available commands | ||
+ | and '[cmd] --help' for help on a specific command. | ||
+ | Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown Karaf. | ||
+ | |||
+ | # Install the Service Component Runtime and Webconsole | ||
+ | karaf@root()> feature:install scr | ||
+ | karaf@root()> feature:install webconsole | ||
+ | # | ||
+ | # Add the ECF Karaf Remote Management Repo | ||
+ | karaf@root()> feature:repo-add http://download.eclipse.org/rt/ecf/karafmgr/karaf4-features.xml | ||
+ | Adding feature url http://download.eclipse.org/rt/ecf/karafmgr/karaf4-features.xml | ||
+ | # Install the Remote Management Feature | ||
+ | karaf@root()> feature:install -v ecf-karaf-mgrs | ||
+ | </pre> |
Revision as of 21:06, 2 January 2017
It's now possible to use Eclipse view to remotely manage a Karaf instance. By 'remotely manage' what is currently possible is to monitor, start, and stop the bundles, monitor the OSGi services registered in the Karaf runtime, and remotely install, and uninstall Karaf features...all through an Eclipse-based user interface
Install of Karaf Remote Management Services Host
Follow these instructions to install the ECF Remote Management Services.
Install Karaf 4.0.8 using Java 8 vm.
Start Karaf
__ __ ____ / //_/____ __________ _/ __/ / ,< / __ `/ ___/ __ `/ /_ / /| |/ /_/ / / / /_/ / __/ /_/ |_|\__,_/_/ \__,_/_/ Apache Karaf (4.0.8) Hit '<tab>' for a list of available commands and '[cmd] --help' for help on a specific command. Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown Karaf. # Install the Service Component Runtime and Webconsole karaf@root()> feature:install scr karaf@root()> feature:install webconsole # # Add the ECF Karaf Remote Management Repo karaf@root()> feature:repo-add http://download.eclipse.org/rt/ecf/karafmgr/karaf4-features.xml Adding feature url http://download.eclipse.org/rt/ecf/karafmgr/karaf4-features.xml # Install the Remote Management Feature karaf@root()> feature:install -v ecf-karaf-mgrs