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

SharePoint REST fails to deploy on 73 DXP GA1

    Details

    • Story Points:
      3
    • Fix Priority:
      5
    • Sprint:
      LIMA | QA Sprint 1

      Description

      Steps to reproduce:

      1. Start Liferay 73 DXP GA1
      2. Deploy SharePoint REST connector lpkg files generated from 7.3.x DXP source
      3. Portal will require a restart to complete the installation
      4. Restart portal

      Expected results:
      Portal starts successfully with SharePoint REST deployed.

      Actual results:
      See the following errors.

      2020-10-20 05:59:50.412 ERROR [Framework Event Dispatcher: Equinox Container: 5c6019a8-2056-4212-b3a1-c1f56f497bda][Framework:93] FrameworkEvent ERROR
      org.osgi.framework.BundleException: Could not resolve module: com.liferay.sharepoint.rest.oauth2.api [3294]_  Unresolved requirement: Import-Package: com.liferay.portal.kernel.service; version="[4.8.0,5.0.0)"_ [Sanitized]
              at org.eclipse.osgi.container.Module.start(Module.java:444)
              at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1682)
              at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1662)
              at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1624)
              at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1555)
              at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
              at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
              at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
      2020-10-20 05:59:50.418 ERROR [Framework Event Dispatcher: Equinox Container: 5c6019a8-2056-4212-b3a1-c1f56f497bda][Framework:93] FrameworkEvent ERROR
      org.osgi.framework.BundleException: Could not resolve module: com.liferay.sharepoint.rest.oauth2.service [3296]_  Unresolved requirement: Import-Package: com.liferay.portal.kernel.service; version="[4.8.0,5.0.0)"_ [Sanitized]
              at org.eclipse.osgi.container.Module.start(Module.java:444)
              at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1682)
              at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1662)
              at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1624)
              at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1555)
              at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
              at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
              at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
      2020-10-20 05:59:50.420 ERROR [Framework Event Dispatcher: Equinox Container: 5c6019a8-2056-4212-b3a1-c1f56f497bda][Framework:93] FrameworkEvent ERROR
      org.osgi.framework.BundleException: Could not resolve module: com.liferay.sharepoint.rest.repository [3298]_  Unresolved requirement: Import-Package: com.liferay.portal.kernel.repository; version="[9.1.0,10.0.0)"_ [Sanitized]
              at org.eclipse.osgi.container.Module.start(Module.java:444)
              at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1682)
              at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1662)
              at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1624)
              at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1555)
              at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
              at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
              at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
      2020-10-20 05:59:50.420 INFO  [main][ModuleFrameworkImpl:1954] Started dynamic bundles
      2020-10-20 05:59:50.421 INFO  [main][ModuleFrameworkImpl:1961] Starting web bundles
      2020-10-20 05:59:51.565 ERROR [Framework Event Dispatcher: Equinox Container: 5c6019a8-2056-4212-b3a1-c1f56f497bda][Framework:93] FrameworkEvent ERROR
      org.osgi.framework.BundleException: Could not resolve module: com.liferay.sharepoint.rest.oauth2.web [3297]_  Unresolved requirement: Import-Package: com.liferay.portal.kernel.language; version="[8.3.0,9.0.0)"_ [Sanitized]
              at org.eclipse.osgi.container.Module.start(Module.java:444)
              at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1682)
              at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1662)
              at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1624)
              at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1555)
              at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
              at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
              at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
      

      Reproduced on:
      Tomcat 9.0.37 + MySQL 5.7. Portal 7.3.10 DXP GA1.

      SharePoint REST connector lpkg generated from:
      Portal 7.3.x DXP GIT ID: 5fab6228c6d342ac9c6a9a4b1a7829609e9c8ba7

        Attachments

          Activity

            People

            Assignee:
            yvonne.han Yvonne Han
            Reporter:
            yvonne.han Yvonne Han
            Participants of an Issue:
            Recent user:
            Yvonne Han
            Engineering Assignee:
            Adolfo Pérez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              33 weeks, 5 days ago

                Packages

                Version Package