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

Licensed apps deployed on 7.1 CE GA2 are getting an invalid license error

    Details

      Description

      Background

      See LRQA-45691 for more details. Attaching the lpkg with license

      Expected result

      1. Deploy the lpkg file on 7.1 CE GA2 bundle
      2. Restart the bundle to see if errors disappear (like they disappear in 7.0 CE GA5, and GA6 (LRIS-30626))
      3. Errors disappear.

      Actual result:

      1. Deploy the lpkg file on 7.1 CE GA2 bundle
      2. Restart the bundle to see if errors disappear (like they disappear in 7.0 CE GA5, and GA6 (LRIS-30626))
      3. The errors given in this gist are still thrown.

      snippet of the error:

      2018-12-26 01:42:12.025 ERROR [fileinstall-D:/Release/71/ce/ga2/liferay-ce-portal-7.1.1-ga2/osgi/marketplace][AppResolverHook:71] Unable to resolve arcaduce-layouttpl
      java.lang.Exception: This application does not have a valid license.
              at com.liferay.portal.app.license.impl.b.a(Unknown Source)
              at com.liferay.portal.app.license.impl.b.verify(Unknown Source)
              at com.liferay.portal.app.license.resolver.hook.AppResolverHook._filterResolvable(AppResolverHook.java:128)
              at com.liferay.portal.app.license.resolver.hook.AppResolverHook.filterResolvable(AppResolverHook.java:68)
              at org.eclipse.osgi.internal.framework.OSGiFrameworkHooks$CoreResolverHookFactory$CoreResolverHook.filterResolvable(OSGiFrameworkHooks.java:279)
              at org.eclipse.osgi.container.ModuleResolver$ResolveProcess.filterResolvable(ModuleResolver.java:1404)
              at org.eclipse.osgi.container.ModuleResolver$ResolveProcess.resolve(ModuleResolver.java:960)
              at org.eclipse.osgi.container.ModuleResolver.resolveDelta(ModuleResolver.java:167)
              at org.eclipse.osgi.container.ModuleContainer.resolveAndApply(ModuleContainer.java:526)
              at org.eclipse.osgi.container.ModuleContainer.resolve(ModuleContainer.java:484)
              at org.eclipse.osgi.container.ModuleContainer.resolve(ModuleContainer.java:474)
              at org.eclipse.osgi.container.Module.start(Module.java:427)
              at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:428)
              at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:447)
              at com.liferay.osgi.util.bundle.BundleStartLevelUtil._startBundle(BundleStartLevelUtil.java:70)
              at com.liferay.osgi.util.bundle.BundleStartLevelUtil.setStartLevelAndStart(BundleStartLevelUtil.java:50)
              at com.liferay.portal.lpkg.deployer.internal.wrapper.bundle.URLStreamHandlerServiceServiceTrackerCustomizer.addingService(URLStreamHandlerServiceServiceTrackerCustomizer.java:86)
              at com.liferay.portal.lpkg.deployer.internal.wrapper.bundle.URLStreamHandlerServiceServiceTrackerCustomizer.addingService(URLStreamHandlerServiceServiceTrackerCustomizer.java:33)
              at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:943)
              at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:1)
              at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
              at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:183)
              at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:321)
              at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:264)
              at com.liferay.portal.lpkg.deployer.internal.wrapper.bundle.WARBundleWrapperBundleActivator.start(WARBundleWrapperBundleActivator.java:80)
              at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:779)
              at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
              at java.security.AccessController.doPrivileged(Native Method)
              at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:772)
              at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:729)
              at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:1002)
              at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:354)
              at org.eclipse.osgi.container.Module.doStart(Module.java:581)
              at org.eclipse.osgi.container.Module.start(Module.java:449)
              at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:428)
              at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:447)
              at com.liferay.osgi.util.bundle.BundleStartLevelUtil._startBundle(BundleStartLevelUtil.java:70)
              at com.liferay.osgi.util.bundle.BundleStartLevelUtil.setStartLevelAndStart(BundleStartLevelUtil.java:50)
              at com.liferay.portal.lpkg.deployer.internal.LPKGBundleTrackerCustomizer.addingBundle(LPKGBundleTrackerCustomizer.java:284)
              at com.liferay.portal.lpkg.deployer.internal.LPKGBundleTrackerCustomizer.addingBundle(LPKGBundleTrackerCustomizer.java:84)
              at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:475)
              at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:1)
              at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
              at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229)
              at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:450)
              at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:908)
              at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
              at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
              at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:230)
              at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:137)
              at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:129)
              at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:191)
              at org.eclipse.osgi.container.ModuleContainer.applyDelta(ModuleContainer.java:746)
              at org.eclipse.osgi.container.ModuleContainer.resolveAndApply(ModuleContainer.java:538)
              at org.eclipse.osgi.container.ModuleContainer.resolve(ModuleContainer.java:484)
              at org.eclipse.osgi.container.ModuleContainer.resolve(ModuleContainer.java:474)
              at org.eclipse.osgi.internal.framework.EquinoxBundle.resolve(EquinoxBundle.java:1028)
              at org.eclipse.osgi.internal.framework.EquinoxBundle.findEntries(EquinoxBundle.java:706)
              at com.liferay.portal.license.deployer.internal.LPKGLicensedBundleTrackerCustomizer.addingBundle(LPKGLicensedBundleTrackerCustomizer.java:58)
              at com.liferay.portal.license.deployer.internal.LPKGLicensedBundleTrackerCustomizer.addingBundle(LPKGLicensedBundleTrackerCustomizer.java:41)
              at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:475)
              at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:1)
              at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
              at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229)
              at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:450)
              at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:908)
              at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
              at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
              at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:230)
              at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:137)
              at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:129)
              at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:191)
              at org.eclipse.osgi.container.ModuleContainer.install(ModuleContainer.java:299)
              at org.eclipse.osgi.storage.Storage.install(Storage.java:658)
              at org.eclipse.osgi.internal.framework.BundleContextImpl.installBundle(BundleContextImpl.java:146)
              at com.liferay.portal.lpkg.deployer.internal.DefaultLPKGDeployer.deploy(DefaultLPKGDeployer.java:166)
              at com.liferay.portal.lpkg.deployer.internal.LPKGArtifactInstaller.install(LPKGArtifactInstaller.java:99)
              at org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:937)
              at org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:871)
              at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:485)
              at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:361)
              at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:312)
      2018-12-26 01:42:12.033 INFO  [fileinstall-D:/Release/71/ce/ga2/liferay-ce-portal-7.1.1-ga2/osgi/marketplace][BundleStartStopLogger:42] STOPPED Mega pack of responsive layout templates for Liferay 7.1 - Liferay CE Portal 7.1 GA2-arcaduce-layouttpl-wrapper_1.0.0.0 [945]
      2018-12-26 01:42:12.035 ERROR [fileinstall-D:/Release/71/ce/ga2/liferay-ce-portal-7.1.1-ga2/osgi/marketplace][LPKGBundleTrackerCustomizer:291] Rollback bundle installation for [Mega pack of responsive layout templates for Liferay 7.1 - Liferay CE Portal 7.1 GA2-arcaduce-layouttpl-wrapper_1.0.0.0 [945]]
      org.osgi.framework.BundleException: Exception in com.liferay.portal.lpkg.deployer.internal.wrapper.bundle.WARBundleWrapperBundleActivator.start() of bundle Mega pack of responsive layout templates for Liferay 7.1 - Liferay CE Portal 7.1 GA2-arcaduce-layouttpl-wrapper.
              at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:800)
              at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:729)
              at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:1002)
              at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:354)
              at org.eclipse.osgi.container.Module.doStart(Module.java:581)
              at org.eclipse.osgi.container.Module.start(Module.java:449)
              at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:428)
              at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:447)
              at com.liferay.osgi.util.bundle.BundleStartLevelUtil._startBundle(BundleStartLevelUtil.java:70)
              at com.liferay.osgi.util.bundle.BundleStartLevelUtil.setStartLevelAndStart(BundleStartLevelUtil.java:50)
              at com.liferay.portal.lpkg.deployer.internal.LPKGBundleTrackerCustomizer.addingBundle(LPKGBundleTrackerCustomizer.java:284)
              at com.liferay.portal.lpkg.deployer.internal.LPKGBundleTrackerCustomizer.addingBundle(LPKGBundleTrackerCustomizer.java:84)
              at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:475)
              at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:1)
              at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
              at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229)
              at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:450)
              at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:908)
              at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
              at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
              at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:230)
              at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:137)
              at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:129)
              at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:191)
              at org.eclipse.osgi.container.ModuleContainer.applyDelta(ModuleContainer.java:746)
              at org.eclipse.osgi.container.ModuleContainer.resolveAndApply(ModuleContainer.java:538)
              at org.eclipse.osgi.container.ModuleContainer.resolve(ModuleContainer.java:484)
              at org.eclipse.osgi.container.ModuleContainer.resolve(ModuleContainer.java:474)
              at org.eclipse.osgi.internal.framework.EquinoxBundle.resolve(EquinoxBundle.java:1028)
              at org.eclipse.osgi.internal.framework.EquinoxBundle.findEntries(EquinoxBundle.java:706)
              at com.liferay.portal.license.deployer.internal.LPKGLicensedBundleTrackerCustomizer.addingBundle(LPKGLicensedBundleTrackerCustomizer.java:58)
              at com.liferay.portal.license.deployer.internal.LPKGLicensedBundleTrackerCustomizer.addingBundle(LPKGLicensedBundleTrackerCustomizer.java:41)
              at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:475)
              at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:1)
              at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
              at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229)
              at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:450)
              at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:908)
              at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
              at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
              at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:230)
              at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:137)
              at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:129)
              at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:191)
              at org.eclipse.osgi.container.ModuleContainer.install(ModuleContainer.java:299)
              at org.eclipse.osgi.storage.Storage.install(Storage.java:658)
              at org.eclipse.osgi.internal.framework.BundleContextImpl.installBundle(BundleContextImpl.java:146)
              at com.liferay.portal.lpkg.deployer.internal.DefaultLPKGDeployer.deploy(DefaultLPKGDeployer.java:166)
              at com.liferay.portal.lpkg.deployer.internal.LPKGArtifactInstaller.install(LPKGArtifactInstaller.java:99)
              at org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:937)
              at org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:871)
              at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:485)
              at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:361)
              at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:312)
      Caused by: java.lang.RuntimeException: org.osgi.framework.BundleException: Could not resolve module: arcaduce-layouttpl [946]_Bundle was filtered by a resolver hook._ [Sanitized]
              at com.liferay.portal.lpkg.deployer.internal.wrapper.bundle.URLStreamHandlerServiceServiceTrackerCustomizer.addingService(URLStreamHandlerServiceServiceTrackerCustomizer.java:94)
              at com.liferay.portal.lpkg.deployer.internal.wrapper.bundle.URLStreamHandlerServiceServiceTrackerCustomizer.addingService(URLStreamHandlerServiceServiceTrackerCustomizer.java:33)
              at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:943)
              at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:1)
              at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
              at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:183)
              at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:321)
              at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:264)
              at com.liferay.portal.lpkg.deployer.internal.wrapper.bundle.WARBundleWrapperBundleActivator.start(WARBundleWrapperBundleActivator.java:80)
              at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:779)
              at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
              at java.security.AccessController.doPrivileged(Native Method)
              at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:772)
              ... 53 more
      Caused by: org.osgi.framework.BundleException: Could not resolve module: arcaduce-layouttpl [946]_Bundle was filtered by a resolver hook._ [Sanitized]
              at org.eclipse.osgi.container.Module.start(Module.java:444)
              at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:428)
              at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:447)
              at com.liferay.osgi.util.bundle.BundleStartLevelUtil._startBundle(BundleStartLevelUtil.java:70)
              at com.liferay.osgi.util.bundle.BundleStartLevelUtil.setStartLevelAndStart(BundleStartLevelUtil.java:50)
              at com.liferay.portal.lpkg.deployer.internal.wrapper.bundle.URLStreamHandlerServiceServiceTrackerCustomizer.addingService(URLStreamHandlerServiceServiceTrackerCustomizer.java:86)
              ... 65 more
      

        Attachments

          Activity

            People

            • Assignee:
              brian.wulbern Brian Wulbern
              Reporter:
              brian.wulbern Brian Wulbern
              Participants of an Issue:
              Recent user:
              Clarissa Velazquez
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                26 weeks, 4 days ago

                Packages

                Version Package
                7.1.10 DXP FP7
                7.1.10.2 SP2
                7.1.3 CE GA4
                7.1.X
                Master