-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: Master
-
Fix Version/s: 7.0.X, 7.1.10 DXP FP20, 7.1.10.5 SP5, 7.1.X, 7.2.X, 7.3.X, 7.3.5 CE GA6, 7.3.10 DXP GA1, Master
-
Component/s: Core Infrastructure, Licensing
-
Branch Version/s:7.3.x, 7.2.x, 7.1.x, 7.0.x
-
Backported to Branch:Committed
-
Fix Priority:5
-
Git Pull Request:
Steps to Reproduce:
- Add DXP and Commerce license xml files to a DXP release bundle
- Start DXP and wait for full startup and full Commerce activation
- Shutdown and Restart DXP server multiple times
Expected Result:
Commerce LPKG bundles always start without issue.
Actual Result:
Some restarts with throw WARNs and Commerce is not fully activated.
WARN [main][PortalLicenseEnterpriseAppGateKeeper:333] Unable to install bundle com.liferay.commerce.account.admin.web-3.0.8.jar?lpkgPath=file:/opt/dev/projects/release/liferay-dxp-7.3.10-ga1/osgi/marketplace/Liferay%20Commerce%20-%20Liferay%20Commerce%20-%20Impl.lpkg org.osgi.framework.BundleException: Error reading bundle content. at org.eclipse.osgi.internal.framework.BundleContextImpl.installBundle(BundleContextImpl.java:149) at org.eclipse.osgi.internal.framework.BundleContextImpl.installBundle(BundleContextImpl.java:139) at com.liferay.portal.license.enterprise.app.internal.PortalLicenseEnterpriseAppGateKeeper._installBundles(PortalLicenseEnterpriseAppGateKeeper.java:320) at com.liferay.portal.license.enterprise.app.internal.PortalLicenseEnterpriseAppGateKeeper.setLicenseManager(PortalLicenseEnterpriseAppGateKeeper.java:145)
This is likely a race condition and so far we have not been able to reproduce consistently.
Workaround: Restart server.