Skip to content

Additional Tools and Tricks For Open Liberty Developers

Andrew Rouse edited this page Sep 26, 2025 · 4 revisions

Tips

Have a working set for your area of interest that excludes FATs, cnf etc. - it is very useful for searching for internal code.

Oomph - eclipse plug-in enables regex based working sets. Set these up in Preferences -> Oomph -> Dynamic Working Sets.

Tools

Eclipse Liberty Project Helper — elph

https://github.com/joe-chacko/elph

Tips

OSGi Console Cheat Sheet

When using the OSGi Console (see: https://www.ibm.com/docs/en/was-liberty/base?topic=line-using-osgi-console) you may find the following commands helpful

  • ss gives you a list of all bundles in the system and weather they are ACTIVE, RESOLVED, or STOPPED. ACTIVE bundles are currently live, RESOLVED means that there were no issues but nothing has promoted the bundle to start. STOPPED is self-explanitory.
  • bundles gives you a list of all bundles currently loaded by OSGi.
  • b gives a more detailed look at a single bundle, you must give it a bundle ID, e.g b 89. bundles provides similar but not identical data to b. Of the two b is usually more suitable for debugging an OSGi issue.
  • s gives a list of all services live on the system. It is useful for grepping for a service, but usually b for the relevent bundle is more useful.
  • list gives a list of all implementation classes that provide an OSGi declarative service and their status.
  • info gives more details about a specific class, you must provide its ID from list. e.g info 10
Clone this wiki locally