This topic applies to WebSphere Application Server Liberty V8.5.5.9 and earlier. For the latest Liberty topics, see the WebSphere Application Server Liberty documentation.

Using an OSGi console

Eclipse Equinox currently provides an OSGi console that you can use to aid with debugging. This console is not available by default. You can enable this console in the OSGi framework that is running within Liberty by using the osgiConsole-1.0 feature and by specifying a port to attach to.

About this task

Liberty uses the Eclipse Equinox implementation of the OSGi core specification. Equinox currently provides an OSGi console. To enable this console, you first allocate a specific port to it by setting the osgi.console property in the bootstrap.properties file. Then you can use Telnet to connect to the console on that port, and explore the OSGi framework.

Procedure


Icon that indicates the type of topic Task topic



Timestamp icon Last updated: Tuesday, 12 December 2017
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-libcore-mp&topic=twlp_setup_osgi_console
File name: twlp_setup_osgi_console.html