Skip to main content

OSGi Console of Eclipse Kepler 4.3.1

Eclipse IDE is developed based on OSGi plugin architecture, but I had not seen the list of OSGi bundles that are used in my Eclipse installation. Today I noticed that there is a way to find the list of bundled used, and it is quite simple. So I thought of sharing it with you.

I am running Eclipse version 4.3.1 (JEE Kepler). First we need to open the OSGi console of the running Eclipse instance. For that we need to open up the 'Console view' first via:

Window -> Show view -> Console

Then you need to select "Host OSGi Console" on the sub-toolbar in this Console view as shown in the image below.
As soon as you go to this console view, you will see below WARNING, which is quite OK since our intention is also to connect to the running instance of Eclipse.
WARNING: This console is connected to the current running instance of Eclipse!

If you are already familiar with OSGi console in OSGi software development, then most likely you know how to find details about the plugins. However even if you are new to OSGi, no need to worry. You simple have to enter "ss" command in this console to see the list of bundles with id and state. I got a list of 822 plugins and below is a trimmed down version of the output I received.

WARNING: This console is connected to the current running instance of Eclipse!
osgi> ss
"Framework is launched."

id State       Bundle
0 ACTIVE      org.eclipse.osgi_3.9.1.v20130814-1242
1 ACTIVE      org.eclipse.equinox.simpleconfigurator_1.0.400.v20130327-2119
2 RESOLVED    ch.qos.logback.classic_1.0.7.v20121108-1250
3 RESOLVED    ch.qos.logback.core_1.0.7.v20121108-1250
4 RESOLVED    ch.qos.logback.slf4j_1.0.7.v20121108-1250
6 RESOLVED    com.jcraft.jsch_0.1.46.v201205102330
7 RESOLVED    com.ning.async-http-client_1.6.5.20130531-2315
8 RESOLVED    com.sun.el_2.2.0.v201303151357
9 RESOLVED    com.sun.syndication_0.9.0.v200803061811
10 RESOLVED    java_cup.runtime_0.10.0.v201005080400
11 RESOLVED    javaewah_0.5.6.v201307211000
12 RESOLVED    javax.activation_1.1.0.v201211130549
13 RESOLVED    javax.annotation_1.1.0.v201209060031
14 RESOLVED    javax.el_2.2.0.v201303151357
15 RESOLVED    javax.inject_1.0.0.v20091030
16 RESOLVED    javax.jws_2.0.0.v201005080400
17 RESOLVED    javax.mail_1.4.0.v201005080615
18 RESOLVED    javax.persistence_2.1.0.v201304241213
19 RESOLVED    javax.servlet_3.0.0.v201112011016
20 RESOLVED    javax.servlet.jsp_2.2.0.v201112011158
21 RESOLVED    javax.wsdl_1.6.2.v201012040545
22 RESOLVED    javax.wsdl_1.5.1.v201012040544
23 RESOLVED    javax.xml_1.3.4.v201005080400
24 RESOLVED    javax.xml.bind_2.1.9.v201005080401
25 RESOLVED    javax.xml.rpc_1.1.0.v201209140446
26 RESOLVED    javax.xml.soap_1.2.0.v201005080501
27 RESOLVED    javax.xml.stream_1.0.1.v201004272200
28 RESOLVED    javax.xml.ws_2.1.0.v200902101523
29 RESOLVED    net.sourceforge.lpg.lpgjavaruntime_1.1.0.v201004271650
30 RESOLVED    org.apache.ant_1.8.4.v201303080030
31 RESOLVED    org.apache.axis_1.4.0.v201005080400
32 RESOLVED    org.apache.batik.css_1.6.0.v201011041432
33 RESOLVED    org.apache.batik.util_1.6.0.v201011041432
34 RESOLVED    org.apache.batik.util.gui_1.6.0.v201011041432
35 RESOLVED    org.apache.bcel_5.2.0.v201005080400
36 RESOLVED    org.apache.commons.codec_1.4.0.v201209201156
37 RESOLVED    org.apache.commons.collections_3.2.0.v2013030210310
38 RESOLVED    org.apache.commons.discovery_0.2.0.v201004190315
39 RESOLVED    org.apache.commons.httpclient_3.1.0.v201012070820
40 RESOLVED    org.apache.commons.io_2.0.1.v201105210651
41 RESOLVED    org.apache.commons.lang_2.6.0.v201205030909
42 RESOLVED    org.apache.commons.logging_1.1.1.v201101211721
43 RESOLVED    org.apache.commons.logging_1.0.4.v201101211617
44 RESOLVED    org.apache.commons.net_3.2.0.v201305141515
45 ACTIVE      org.apache.felix.gogo.command_0.10.0.v201209301215
46 ACTIVE      org.apache.felix.gogo.runtime_0.10.0.v201209301036
47 ACTIVE      org.apache.felix.gogo.shell_0.10.0.v201212101605
48 RESOLVED    org.apache.httpcomponents.httpclient_4.1.3.v201209201135
49 RESOLVED    org.apache.httpcomponents.httpcore_4.1.4.v201203221030
50 RESOLVED    org.apache.jasper.glassfish_2.2.2.v201205150955
51 RESOLVED    org.apache.log4j_1.2.15.v201012070815
52 RESOLVED    org.apache.lucene.analysis_3.5.0.v20120725-1805
53 RESOLVED    org.apache.lucene.core_3.5.0.v20120725-1805
54 RESOLVED    org.apache.velocity_1.5.0.v200905192330
56 RESOLVED    org.apache.wsil4j_1.0.0.v200901211807
57 RESOLVED    org.apache.xalan_2.7.1.v201005080400
58 RESOLVED    org.apache.xerces_2.9.0.v201101211617
59 RESOLVED    org.apache.xml.resolver_1.2.0.v201005080400
60 RESOLVED    org.apache.xml.serializer_2.7.1.v201005080400
61 RESOLVED    org.apache.xmlrpc_3.0.0.v20100427-1100
62 STARTING    org.eclipse.ant.core_3.2.500.v20130402-1746
63 STARTING    org.eclipse.ant.launching_1.0.300.v20130514-1341
64 STARTING    org.eclipse.ant.ui_3.5.400.v20130514-1341
65 STARTING    org.eclipse.compare_3.5.401.v20130709-1308
67 RESOLVED    org.eclipse.core.commands_3.6.100.v20130515-1857


818 RESOLVED    org.sonatype.m2e.mavenarchiver_0.15.0.201207090125-signed-20130612210623
819 RESOLVED    org.uddi4j_2.0.5.v200805270300
820 RESOLVED    org.w3c.css.sac_1.3.1.v200903091627
821 RESOLVED    org.w3c.dom.smil_1.0.0.v200806040011
822 RESOLVED    org.w3c.dom.svg_1.1.0.v201011041433
If you are interested in finding further details about these OSGi bundles, you can enter 'help' in the OSGi console and find the list of commands to try out.


Popular posts from this blog

Web Services with Apache Axis 1.4 Tutorial: server and client sides

Java Sorting: Comparator vs Comparable Tutorial

Creative Commons License Digizol by Kamal Mettananda is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 License .
URL of this page must be supplied in attribution
© 2004-2017