Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

Running the sample application in Apache Karaf

ddumontatibm edited this page Oct 29, 2012 · 20 revisions
  1. Download Apache Karaf and extract the zip where you want it deployed.
  2. Edit the {karaf.install}/etc/config.properties file to use equinox.
karaf.framework=equinox
  1. Start Apache Karaf. (see karaf docs for how to start on your system or for running as a system service)
  2. Install the http feature:
features:install http
  1. Create the file {karaf.install}/etc/org.ops4j.pax.web.cfg with the following content:
org.osgi.service.http.port=8080
  1. Install requirements for jaggr to run.
install mvn:org.eclipse.core/runtime/3.3.100-v20070530
install mvn:org.eclipse.equinox/org.eclipse.equinox.common/3.6.0.v20100503
install mvn:org.eclipse.core/org.eclipse.core.jobs/3.5.0.v20100515
install mvn:org.eclipse.equinox/org.eclipse.equinox.registry/3.5.0.v20100503
install mvn:org.eclipse.equinox/org.eclipse.equinox.preferences/3.3.0.v20100503
install mvn:org.eclipse.core/org.eclipse.core.contenttype/3.4.100.v20100505-1235
install mvn:org.eclipse.equinox/org.eclipse.equinox.app/1.3.0.v20100512
install mvn:org.eclipse.equinox.http/registry/1.0.0-v20070608
  1. Copy the 3 jaggr bundles to the {karaf.install}/deploy folder.

You should now be able to start the jaggr bundles and view the sample app on your server (port 8080, or whatever you chose above) at testaggr/res/test.html.