Jump to: navigation, search

EIG:Install into Apache Karaf


ECFs Remote Services/Remote Service Admin implementation may be used on any OSGi R4.3+ compatible Framework Implementation. ECF will provide the Apache Karaf features to allow ECF RS/RSA components to be easily installed into a Karaf-based server.

Installing ECF Remote Services SDK

Karaf 3.x

Requirements: Karaf 3.x requires Java 1.7 (Java 1.8 is not supported in Karaf 3.x).

In the instructions below, use the following for the <repo url>

<repo url>: http://download.eclipse.org/rt/ecf/latest/site.p2/karaf-features.xml

Karaf 4.x

requirements: Karaf 4.x can use either Java 1.7 or 1.8.

1.7 <repo url>: http://download.eclipse.org/rt/ecf/latest/site.p2/karaf4-features.xml

1.8 <repo url>: http://download.eclipse.org/rt/ecf/latest/site.p2/karaf4-j8-features.xml

ECF Remote Services SDK Install

Via Command Console

  • Enter: feature:repo-add <appropriate repo url from above>

Via Webconsole

  • If you haven't already done so, install the Karaf webconsole
  • Add the ECF Repository
    • From the Webconsole Main menu choose Main->Features
    • Add the appropriate <repo url> from above to in the text box, and select Add URL button


The available ECF's features will then be shown below (e.g. ecf-remoteservices-sdk)


Install the ECF SDK feature

Via Command Console

  • Enter: feature:install -v ecf-remoteservices-sdk

Via Webconsole

  • Click on the arrow for the ecf-remoteservices-sdk feature/row underneath the Actions column to install.
  • When install is complete, the bundles list will have all ECF bundles active


The ECF RS SDK is installed and running in Karaf.

To export an example remote service, see tutorial here.