Startup errors after installing a hotfix with DXP 7.1 Fix Pack 17

Issue

  • After upgrading to a hotfix with Fix Pack 17, several errors related to OAuth are displayed
  • Some examples :
  • ERROR [main][OAuth2JSONWSPortalInstanceLifecycleListener:93] bundle com.liferay.oauth2.provider.jsonws:1.0.28 (494)[com.liferay.oauth2.provider.jsonws.internal.instance.lifecycle.OAuth2JSONWSPortalInstanceLifecycleListener(1664)] : The _sapEntryScopeDescriptorFinderRegistrator field has thrown an exception
    ERROR [main][SAPEntryModelListener:93] bundle com.liferay.oauth2.provider.jsonws:1.0.28 (494)[com.liferay.oauth2.provider.jsonws.internal.service.access.policy.model.listener.SAPEntryModelListener(1668)] : The _sapEntryScopeDescriptorFinderRegistrator field has thrown an exception
    ERROR [main][AuthorizationCodeGrantServiceRegistrator:93] bundle com.liferay.oauth2.provider.rest:1.0.9 (929)[com.liferay.oauth2.provider.rest.internal.endpoint.authorize.AuthorizationCodeGrantServiceRegistrator(3879)] : The _liferayOAuthDataProvider field has thrown an exception
    ERROR [main][PortletTracker:158] Portlet id com_liferay_oauth2_provider_web_internal_portlet_OAuth2AdminPortlet is already in use

Environment

  • DXP 7.1 FP17

Resolution

  • Liferay Plugin for OAuth 2 has been converted from a standalone app to a core/required app as of DXP 7.1 Fix Pack 17 and DXP 7.2 FP5. See the description of LPS-110306.
  • After installing this Fix Pack, remove the following packages and start Liferay again:
    • LIFERAY_HOME/osgi/marketplace/Liferay Plugin for OAuth 2.0 - API.lpkg
    • LIFERAY_HOME/osgi/marketplace/Liferay Plugin for OAuth 2.0 - Impl.lpkg

Additional Information

 

Was this article helpful?
1 out of 1 found this helpful