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 Apr 26, 2013
·
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 the JavascriptAggregator to run.
install http://download.eclipse.org/eclipse/updates/3.8/R-3.8-201206081200/plugins/org.eclipse.core.runtime_3.8.0.v20120521-2346.jar
install http://download.eclipse.org/eclipse/updates/3.8/R-3.8-201206081200/plugins/org.eclipse.equinox.common_3.6.100.v20120522-1841.jar
install http://download.eclipse.org/eclipse/updates/3.8/R-3.8-201206081200/plugins/org.eclipse.core.jobs_3.5.200.v20120521-2346.jar
install http://download.eclipse.org/eclipse/updates/3.8/R-3.8-201206081200/plugins/org.eclipse.equinox.registry_3.5.200.v20120522-1841.jar
install http://download.eclipse.org/eclipse/updates/3.8/R-3.8-201206081200/plugins/org.eclipse.equinox.preferences_3.5.0.v20120522-1841.jar
install http://download.eclipse.org/eclipse/updates/3.8/R-3.8-201206081200/plugins/org.eclipse.core.contenttype_3.4.200.v20120523-2004.jar
install http://download.eclipse.org/eclipse/updates/3.8/R-3.8-201206081200/plugins/org.eclipse.equinox.app_1.3.100.v20120522-1841.jar
install http://download.eclipse.org/eclipse/updates/4.3-I-builds/I20130423-0800/plugins/org.eclipse.equinox.http.registry_1.1.300.v20130402-1529.jar
-
A note about the link for
org.eclipse.equinox.http.registry
:The above link may fail eventually when the eclipse build moves to a new milestone or release. The fix for the http filter issue was committed on 4/02/2013 and has not (as of this writing) made it into an official release. If this page hasn't been updated with a new link and the above link is broken, new links can be generated by following the instructions template found here.
- 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 test/res/test.html
.