Currently to find problems with my OSGi framework, I use ss to list all bundles, see which of them are just INSTALLED and not RESOLVED, and run diag <num> for each number of unresolved bundle. There are problems with this approach:
-
Can’t list only
INSTALLEDbundles, so I need to find them manually. -
Some of the bundles won’t be resolved because of dependencies on each other, so I get a lot of duplicate information.
What is a better way to do it?
for equinox:
e.g. ss -s INSTALLED
e.g. diag 1 2 3