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

Failed start 7.1.x-private: Could not resolve module com.liferay.exportimport.service

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 7.1.X
    • Fix Version/s: 7.1.X
    • Labels:
      None

      Description

      Steps to Reproduce:

      1. Start bundle.

      Expected result:
      Liferay start up successfully.

      Actual result:
      Liferay start with error:

      2020-02-04 06:18:55.640 ERROR [main][ModuleFrameworkImpl:1731] Unable to start bundle com.liferay.exportimport.service
      org.osgi.framework.BundleException: Could not resolve module: com.liferay.exportimport.service [594]
        Unresolved requirement: Import-Package: com.liferay.exportimport.kernel.lar; version="[1.0.0,2.0.0)"
      
      	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.portal.bootstrap.ModuleFrameworkImpl._startDynamicBundles(ModuleFrameworkImpl.java:1720)
      	at com.liferay.portal.bootstrap.ModuleFrameworkImpl.startFramework(ModuleFrameworkImpl.java:409)
      	at com.liferay.portal.module.framework.ModuleFrameworkUtilAdapter.startFramework(ModuleFrameworkUtilAdapter.java:100)
      	at com.liferay.portal.spring.context.PortalContextLoaderListener.contextInitialized(PortalContextLoaderListener.java:309)
      	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4682)
      	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5150)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:713)
      	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
      	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:695)
      	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:631)
      	at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1832)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
      	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)
      	at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:526)
      	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:425)
      	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1577)
      	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)
      	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
      	at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:424)
      	at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:367)
      	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:929)
      	at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:831)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1377)
      	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1367)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
      	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
      	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:902)
      	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:423)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:928)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      	at org.apache.catalina.startup.Catalina.start(Catalina.java:634)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350)
      	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)
      2020-02-04 06:18:58.669 ERROR [main][LogService:93] Error while starting bundle: file:/D:/test/FPSPtest/bundles/osgi/modules/com.liferay.exportimport.service.jar 
      org.osgi.framework.BundleException: Could not resolve module: com.liferay.exportimport.service [594]
        Unresolved requirement: Import-Package: com.liferay.exportimport.kernel.lar; version="[1.0.0,2.0.0)"
      
      	at org.eclipse.osgi.container.Module.start(Module.java:444)
      	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:428)
      	at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1284)
      	at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1257)
      	at org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1246)
      	at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:515)
      	at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365)
      	at org.apache.felix.fileinstall.internal.DirectoryWatcher.start(DirectoryWatcher.java:247)
      	at org.apache.felix.fileinstall.internal.FileInstall.updated(FileInstall.java:254)
      	at org.apache.felix.fileinstall.internal.FileInstall.start(FileInstall.java:131)
      	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 com.liferay.portal.bootstrap.ModuleFrameworkImpl._startDynamicBundles(ModuleFrameworkImpl.java:1739)
      	at com.liferay.portal.bootstrap.ModuleFrameworkImpl.startFramework(ModuleFrameworkImpl.java:409)
      	at com.liferay.portal.module.framework.ModuleFrameworkUtilAdapter.startFramework(ModuleFrameworkUtilAdapter.java:100)
      	at com.liferay.portal.spring.context.PortalContextLoaderListener.contextInitialized(PortalContextLoaderListener.java:309)
      	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4682)
      	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5150)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:713)
      	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
      	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:695)
      	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:631)
      	at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1832)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
      	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)
      	at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:526)
      	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:425)
      	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1577)
      	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)
      	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
      	at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:424)
      	at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:367)
      	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:929)
      	at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:831)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1377)
      	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1367)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
      	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
      	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:902)
      	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:423)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:928)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      	at org.apache.catalina.startup.Catalina.start(Catalina.java:634)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350)
      	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)
      2020-02-04 06:18:58.680 INFO  [main][ModuleFrameworkImpl:1743] Started dynamic bundles
      2020-02-04 06:18:58.683 INFO  [main][ModuleFrameworkImpl:412] Navigate to Control Panel > Configuration > Gogo Shell and enter "lb" to see all bundles
      2020-02-04 06:18:58.808 ERROR [fileinstall-D:/test/FPSPtest/bundles/osgi/modules][LogService:93] Error while starting bundle: file:/D:/test/FPSPtest/bundles/osgi/modules/com.liferay.exportimport.service.jar 
      org.osgi.framework.BundleException: Could not resolve module: com.liferay.exportimport.service [594]
        Unresolved requirement: Import-Package: com.liferay.exportimport.kernel.lar; version="[1.0.0,2.0.0)"
      
      	at org.eclipse.osgi.container.Module.start(Module.java:444)
      	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:428)
      	at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1284)
      	at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1257)
      	at org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1246)
      	at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:515)
      	at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365)
      	at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              harry.chai Harry Chai
              Participants of an Issue:
              Recent user:
              Minhchau Dang
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 36 weeks, 2 days ago

                  Packages

                  Version Package
                  7.1.X