This repository has been archived by the owner on Jan 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Running the sample application in Apache Karaf
ddumontatibm edited this page Oct 29, 2012
·
20 revisions
- Download Apache Karaf and extract the zip where you want it deployed.
- Edit the
{karaf.install}/etc/config.properties
file to use equinox.
karaf.framework=equinox
- Start Apache Karaf. (see karaf docs for how to start on your system or for running as a system service)
- Install the http feature:
features:install http
- Create the file
{karaf.install}/etc/org.ops4j.pax.web.cfg
with the following content:
org.osgi.service.http.port=8080
- 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
- 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
.