Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] Run Eclipse Remote Service Admin on Apache Karaf

Hi Martin. Have you planned to publish your results? Do you have a web page about your project? It would be a good idea to add it to the Adopter's Wiki:

2012/11/28 Martin Petzold <mpetzold@xxxxxxx>
Hi Scott,

I'm working with Petia on an EU research project. We are still evaluating OSGi runtimes and Remote Service Admin implementations (ECF vs. Apache CXF). If we decide to use Apache Karaf and ECF we will test and document how to use it.

By the way, Apache Karaf exists at least since 1-2 years and is used a lot in EU research.

Best regards,


Am 27.11.12 18:59, schrieb Scott Lewis:
Hi All,

I'm going to back up a little bit, so I can address Petia's original request most effectively...i.e. running ECF remote services on Apache Karaf.

1) Although I haven't yet done it myself, according to docs [1], Karaf can be used with both Apache Felix and with Equinox.  Given this, ECF remote services can certainly run on the Equinox instance of Karaf...since we run on Equinox all the time (i.e. in Eclipse, test code, server instances of Equinox + ECF, etc).

If Petria (and/or others) uses the Equinox-based instance of Karaf, then the answer to the initial question of will ECF remote services run on Karaf is an unqualified 'yes'.   We haven't (as yet) created a distribution of ECF remote services specifically for Karaf/Equinox, but this is certainly something that we could do...given sufficient resource availability.   If there is interest in us doing this, please open an enhancement to that effect [2].

In the mean time, there are some example product configurations that contain information about the full extent of dependencies for ECF Remote Services/Remote Service Admin...on simple servers.  For example, see the product configurations here [3].   I understand that this isn't ideal, but it is what we have at the moment (see the <plugins> section).

I've also created a new documentation bug [4]...for specifically documenting the ECF RS/RSA dependency structure, so that consumers of different parts of ECF remote services (e.g. different discovery and/or distribution providers), can easily determine what other dependencies are required...on which framework.  Please add yourself to this bug if you are either interested in receiving this documentation and/or willing to participate in it's creation (help wanted).

2) About ECF and Felix.   Months ago, Markus created a configuration and ran the ECF remote services/RSA examples on a previous version of Apache Felix.  To do this, he not only installed the ECF RS/RSA bundles, he also installed on Felix the necessary Equinox-specific bundles (e.g. org.eclipse.equinox.concurrent, org.eclipse.equinox.common...which contains org.eclipse.core.runtime, Equinox event, etc).  

At that time, and with the necessary parts, Felix was running ECF remote services just fine.   I don't expect that to be any different now (i.e. I don't expect that Felix has introduced any incompatibilities, ECF hasn't done so, and I don't think that Equinox has introduced any incompatibilities in the required bundles/packages/classes)...but I don't know for sure, as I haven't run ECF RS/RSA on Felix recently.

At that time, I believe that Markus also created a maven repo that contained ECF remote services...and the necessary dependencies for running RS/RSA on Felix.   All of the build scripts for doing this are located here [5].  The maven repo is here [5a].

Also...Markus created a script for running ECF on Felix using pax runner.  These scripts are located here [6].

So...although it's possible that ECF RS/RSA won't run on recent version of Felix (because of some incompatibility introduced by Equinox, us, or Felix)...I don't expect that to be the case (i.e. I expect ECF RS/RSA to work on Felix)...and so I also expect that ECF RS/RSA on Karaf/Felix would also work fine.   If it doesn't for some reason (that's under our/ECF's control) we can/could certainly address it.

That's my (Scott) understanding of things.  I wasn't aware of Karaf until recently, but I would like to move toward creating a distribution of ECF remote services specifically for order to make it easy for Karaf users (of either Felix or Equinox stripe) to use ECF remote services (of whatever provider configuration).  If others are able/willing to contribute to this then let's get it started.




On 11/26/2012 12:39 PM, Scott Lewis wrote:

Hi Alex,

I'm not sure this is correct.  ECF does use (e.g.) the equinox event impl, but I would expect that those bundles could be run on/with Karaf...especially since 1) Karaf can apparently use either equinox or Felix and 2) ECF rs/rsa runs just fine on Felix (w equinox bundles).

I'm traveling today so cannot detail right now, but Alex if you have specifics wrt Karaf please detail.


Alex Blewitt <alex.blewitt@xxxxxxxxx> wrote:

On 26 Nov 2012, at 10:45, Petia Sotirova wrote:

I'm trying to integrate Eclipse Communication Framework (OSGi Remote Service Admin implementation) on Apache Karaf.
I use Apache Karaf version 2.3.0, and build of ECF 3.5.6 -
I install :,
I'm trying to install its dependencies, but requires org.eclipse.osgi.framework.eventmgr package. I found just org.eclipse.osgi.jar bundle to export that package, but it is core osgi platform bundle and conflicts with Apache Karaf basic set of bundles (At least Web console could not start)

Could you please tell me the basic set of bundles I needed to run OSGi Remote Service Admin on Apache Karaf. 

No, it's currently not possible at the moment as the ECF package has some (transitive) dependencies which are only provided as part of the Equinox OSGi runtime. 


ecf-dev mailing list

ecf-dev mailing list

ecf-dev mailing list

Pablo García Sánchez
Departamento de Arquitectura y Tecnología de Computadores
Universidad de Granada

Back to the top