Skip to main content
Jump to: navigation, search

EIG:Install TimeService Tutorial into Apache Karaf


See the Building your first OSGi Remote Services Tutorial to understand how to design and build this example TimeService.

To run the remote time service host example on Apache Karaf with ECF Remote Services, first install Install the ECF Remote Service SDK into Apache Karaf. Then use the command shell to set a debug system property

karaf@root()> system:property verboseRemoteServiceAdmin true

Then install the timeservice host example

karaf@root()> feature:install -v

This will install the timeservice host, and start it producing the following output on console


For reference, this output is produced by the TimeService Examples Host activator class

The output above indicates that the TimeService has been exported and is ready for remote consumer access.

Back to the top