Update to DXP 7.2 Fix Pack 4 from DXP 7.2 GA1

Issue

When updating from DXP 7.2 GA1 to Fix Pack 4 you may encounter the following startup error:

2020-01-31 02:55:02.013 ERROR [Framework Event Dispatcher: Equinox Container: b8f39843-b261-414d-83ce-0349e281fc15][Framework:93] 
FrameworkEvent ERROR
org.osgi.framework.BundleException: Could not resolve module: com.liferay.data.engine.rest.api [149]_  Unresolved requirement: Import-Package: 
com.liferay.portal.vulcan.pagination; version="[1.0.0,2.0.0)"_ -> Export-Package: com.liferay.portal.vulcan.pagination; bundle-symbolic-
name="com.liferay.portal.vulcan.api"; bundle-version="3.13.0"; version="1.1.0"; uses:="com.fasterxml.jackson.annotation"_
com.liferay.portal.vulcan.api [856]_ Unresolved requirement: Import-Package: com.liferay.oauth2.provider.scope.liferay; version="
[1.2.0,2.0.0)"_ Unresolved requirement: Import-Package: graphql.annotations.annotationTypes; version="[5.4.0,6.0.0)"_ -> Export-Package:
graphql.annotations.annotationTypes; bundle-symbolic-name="com.liferay.portal.vulcan.api"; bundle-version="3.13.0"; version="5.4.0"_
[Sanitized]

This is because DXP 7.1 GA1 does not include the latest version of Liferay Plugin for OAuth 2.0, which Fix Pack 4 was built against, thus resulting in the error.

This error is thrown when running the following upgrade paths:

  • DXP 7.2 GA1  >  DXP 7.2 Fix Pack 4
  • DXP 7.2 GA1  >  DXP 7.2 Fix Pack 2 or Fix Pack 3  >  7.2 Fix Pack 4

Please note that this issue is not reproducible with the DXP 7.2 Fix Pack 4 bundle or when updating to DXP 7.2 Fix Pack 4 from DXP 7.2 Service Pack 1.

Resolution

To resolve this issue, please update to Liferay Plugin for OAuth 2.0, version 2.0.2 or higher, before installing the Fix Pack:

  1. Download the latest version of Liferay Plugin for OAuth 2.0
  2. Copy plugin to the deploy folder
  3. Plugin will be deployed and a message asking for a restart will appear
  4. Stop server
  5. Install Fix Pack 4
  6. Start server

If DXP 7.2 Fix Pack 4 has already been installed prior to updating to the latest version of Liferay Plugin for OAuth 2.0, then please follow the steps below:

  1. Start server
  2. Failures will appear and afterwards the updated plugin will be deployed and a message for restart will appear
  3. Stop server
  4. Start server

Additional Information

¿Fue útil este artículo?
Usuarios a los que les pareció útil: 5 de 5