-
Notifications
You must be signed in to change notification settings - Fork 624
Additional Tools and Tricks For Open Liberty Developers
Andrew Rouse edited this page Sep 26, 2025
·
4 revisions
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
.
https://github.com/joe-chacko/elph
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.gb 89
. bundles provides similar but not identical data tob
. Of the twob
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 usuallyb
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.ginfo 10