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

File name: twlp_setup_osgi_console.html