Is there a way to find out which osgi module owns a jar that's been written to the $liferay_home/osgi/state directory?

Issue

  • I would like to find out which osgi module owns a jar that's been written to the $liferay_home/osgi/state directory.

Environment

  • DXP 7.2
  • DXP 7.3

Resolution

  •  The id of the bundles in Gogo Shell corresponds to the subfolder names in osgi/state/org.eclipse.osgi​.
  • To see all the bundle ids, run the command ss in Gogo Shell.
  • For example:
    • When I run ss in Gogo Shell, I see the following output on one of the lines:
      445	ACTIVE
      com.liferay.portal.search.elasticsearch6.impl_3.0.83
    • I then go to the osgi/state/org.eclipse.osgi folder matching the id in the output,  osgi/state/org.eclipse.osgi/445​.
    • There I find the corresponding com.liferay.portal.search.elasticsearch6.impl module.

Additional Information

 

¿Fue útil este artículo?
Usuarios a los que les pareció útil: 0 de 0