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

Employ dependency workaround due to LPS-104847

    Details

      Description

      The latest portal-search-elasticsearch-monitoring-web publish (c120b96) is failing to start up on 7.3 DXP GA1 due to an unresolved requirement:

      02:23:29,979 ERROR [Framework Event Dispatcher: Equinox Container: cb3f6c17-7be0-4ab1-99c3-25ef70c3dea7][Framework:93] FrameworkEvent ERROR 
      org.osgi.framework.BundleException: Could not resolve module: com.liferay.portal.search.elasticsearch.monitoring.web [1443]
        Unresolved requirement: Import-Package: com.liferay.portal.kernel.upgrade; version="[8.4.0,9.0.0)"
      
      	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)
      

      Analysis

      The latest published portal-search-elasticsearch-monitoring-web jar was built against portal-kernel version 9.9.0 and thus is expecting Portal to include the com.liferay.portal.kernel.upgrade package within the version range [8.4.0,9.0.0). However, the released 7.3 DXP GA1 bundle ships with the 9.8.1 version of the portal-kernel bundle which only has version 8.3.0 of the com.liferay.portal.kernel.upgrade package which results in the unresolved requirement errors (hash of 9.8.1 portal-kernel publish, associated com.liferay.portal.kernel.upgrade version).

      Some changes were recently made to the monitoring app (e.g. app name change) that need to be included in the release thus we are unable to release at an earlier published version that might avoid the dependency issues.

      Workaround: publish portal-search-elasticsearch-monitoring-web against portal-kernel 9.8.1. 

        Attachments

          Activity

            People

            Assignee:
            joshua.chong Joshua Chong
            Reporter:
            joshua.chong Joshua Chong
            Recent user:
            Nicole Mak
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package