Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-121306

Commerce LPKG activation Error reading bundle context

    Details

      Description

      Steps to Reproduce:

      1. Add DXP and Commerce license xml files to a DXP release bundle
      2. Start DXP and wait for full startup and full Commerce activation
      3. 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.

        Attachments

          Activity

            People

            Assignee:
            victor.ware Victor Ware
            Reporter:
            victor.ware Victor Ware
            Participants of an Issue:
            Recent user:
            Brian Wulbern
            Engineering Assignee:
            Matthew Tambara
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 9 weeks, 3 days ago

                Packages

                Version Package
                7.0.X
                7.1.10 DXP FP20
                7.1.10.5 SP5
                7.1.X
                7.2.X
                7.3.5 CE GA6
                7.3.10 DXP GA1
                7.3.X
                Master