Quick'n'dirty Apache Felix webconsole on (recent) Equinox

Below you find a instructions to install Apache Felix webconsole on a running Equinox. Just paste this into the console and start bundle "org.apache.felix.webconsole" and "org.eclipse.equinox.http.jetty" afterwards.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/bin/bash
# On the OSGi console install the following bundles
# (optionally set -Dorg.osgi.service.http.port=9980 to change the default http port)
# "services org.osgi.service.http.HttpService" to check for correctly installed server and port

# common http server deps
install ftp://ftp.osuosl.org/pub/eclipse/tools/orbit/downloads/drops/R20130517111416/repository/plugins/org.apache.commons.io_1.4.0.v20081110-1000.jar
install ftp://ftp.osuosl.org/pub/eclipse/tools/orbit/downloads/drops/R20130517111416/repository/plugins/org.apache.commons.fileupload_1.2.2.v20111214-1400.jar

# equinox.http <= http servlet 2.1
#install ftp://ftp.osuosl.org/pub/eclipse/equinox/drops/R-3.7.2-201202080800/org.eclipse.equinox.http_1.0.500.v20110413.jar
#install ftp://ftp.osuosl.org/pub/eclipse/tools/orbit/downloads/drops/R20130517111416/repository/plugins/javax.servlet_2.4.0.v200806031604.jar

# equinox.jetty <= http server 2.4
install ftp://ftp.osuosl.org/pub/eclipse/releases/juno/201303010900/plugins/org.eclipse.equinox.http.jetty_3.0.1.v20121109-203239.jar
install ftp://ftp.osuosl.org/pub/eclipse/releases/juno/201303010900/plugins/org.eclipse.equinox.http.servlet_1.1.300.v20120912-130548.jar
install ftp://ftp.osuosl.org/pub/eclipse/releases/juno/201303010900/plugins/org.eclipse.equinox.http.registry_1.1.200.v20120912-130548.jar

install ftp://ftp.osuosl.org/pub/eclipse/releases/juno/201303010900/plugins/javax.servlet_3.0.0.v201112011016.jar

install ftp://ftp.osuosl.org/pub/eclipse/releases/juno/201303010900/plugins/org.eclipse.jetty.continuation_8.1.3.v20120522.jar
install ftp://ftp.osuosl.org/pub/eclipse/releases/juno/201303010900/plugins/org.eclipse.jetty.http_8.1.3.v20120522.jar
install ftp://ftp.osuosl.org/pub/eclipse/releases/juno/201303010900/plugins/org.eclipse.jetty.io_8.1.3.v20120522.jar
install ftp://ftp.osuosl.org/pub/eclipse/releases/juno/201303010900/plugins/org.eclipse.jetty.security_8.1.3.v20120522.jar
install ftp://ftp.osuosl.org/pub/eclipse/releases/juno/201303010900/plugins/org.eclipse.jetty.server_8.1.3.v20120522.jar
install ftp://ftp.osuosl.org/pub/eclipse/releases/juno/201303010900/plugins/org.eclipse.jetty.servlet_8.1.3.v20120522.jar
install ftp://ftp.osuosl.org/pub/eclipse/releases/juno/201303010900/plugins/org.eclipse.jetty.util_8.1.3.v20120522.jar

# webconsole
install ftp://ftp.osuosl.org/pub/apache/felix/org.apache.felix.webconsole-4.2.0.jar

## Optionally

# webconsole plugins
install ftp://ftp.osuosl.org/pub/apache/felix/org.apache.felix.webconsole.plugins.ds-1.0.0.jar
install ftp://ftp.osuosl.org/pub/apache/felix/org.apache.felix.webconsole.plugins.memoryusage-1.0.4.jar
install ftp://ftp.osuosl.org/pub/apache/felix/org.apache.felix.webconsole.plugins.event-1.0.2.jar

# xray plugin (http://softwaresimplexity.blogspot.de/2012/05/x-rays-for-osgi.html) (http://repo.jpm4j.org/#!/p/sha/b9cd47a5ad2f3abd4e9d89dffa65772c3674c042//0.0.0)
install ftp://ftp.osuosl.org/pub/eclipse/tools/orbit/downloads/drops/R20130827064939/repository/plugins/org.json_1.0.0.v201011060100.jar
install http://repo.jpm4j.org/rest/bundle/51C83986E4B06EF1574B84F7/d213fd63f68c9e10deac51e3cda1a6ac43b44834
install http://repo.jpm4j.org/rest/bundle/51C83986E4B06EF1574B84F7/b9cd47a5ad2f3abd4e9d89dffa65772c3674c042

## Finally
# Go to: http://admin:admin@localhost:9980/system/console/bundles

Want to comment? Send me an email to blog-comments-2018 at lemmster d.t de and I'll paste it here (I won't publish your address). Why don't you use an external comment service like disqus, you ask? Well, I like to keep this site under my control, comments included. You can use markdown to format your comment.