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

Calendar event importer fails to install on startup

    Details

      Description

      Calendar event importer fails to install on portal startup

      Adam Brandizzi thinks it might be due to a Calendar-api version bump.

      Steps to Reproduce

      1. Build jar for calevent-importer found in modules/apps/calevent/calevent-importer
      2. Deploy jar to bundle osgi/modules
      3. Start portal

      Expected result : The following should happen:

      Calendar event importer installs on portal startup.

      Actual result : The following actually happens:

      Calendar event importer fails to install on portal startup with the following console errors:

      2017-11-28 13:42:33.983 ERROR [localhost-startStop-1][ModuleFrameworkImpl:1546] Unable to start bundle com.liferay.calevent.importer
      org.osgi.framework.BundleException: Could not resolve module: com.liferay.calevent.importer [266]_  Unresolved requirement: Import-Package: com.liferay.calendar.model; version="[1.0.0,2.0.0)"_ [Sanitized]
      	at org.eclipse.osgi.container.Module.start(Module.java:429)
      	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:402)
      	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:421)
      	at com.liferay.portal.bootstrap.ModuleFrameworkImpl._startDynamicBundles(ModuleFrameworkImpl.java:1543)
      	at com.liferay.portal.bootstrap.ModuleFrameworkImpl.startFramework(ModuleFrameworkImpl.java:411)
      	at com.liferay.portal.module.framework.ModuleFrameworkUtilAdapter.startFramework(ModuleFrameworkUtilAdapter.java:99)
      	at com.liferay.portal.spring.context.PortalContextLoaderListener.contextInitialized(PortalContextLoaderListener.java:255)
      	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4812)
      	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5255)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
      	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
      	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
      	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
      	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:585)
      	at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1794)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      

      Reproduced on : Tomcat 8.0.32 + MySQL 5.6.37 + Portal master GIT ID: 2e084e7b9d321f1d427e33ce039332390868eff8.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                philip.white Philip White (Inactive)
                Reporter:
                philip.white Philip White (Inactive)
                Participants of an Issue:
                Recent user:
                Jason Pince
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 21 weeks, 2 days ago

                  Packages

                  Version Package
                  7.1.0 M2
                  7.1.X
                  Master