まとめ
The 7.1 SP3 build contains LCS v4.2 by default instead of LCS v6.0. This oversight was discovered after the 7.1 SP3 bundle was released and will cause issues for Users upgrading their instance to 7.1 SP3. Please read this article to learn how to mitigate the issue.
問題
After upgrading Liferay DXP 7.1 SP2 to SP3, the console prints the following error due to the LCS version being lower in SP3 than in SP2 (v4.2 compared to v5.0.0+).
ERROR [main][HotDeployImpl:235] com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering hook for lcs-portlet com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering hook for lcs-portlet
Affected Version
Liferay DXP 7.1 SP3
解決
Use the following steps to update the LCS application.
- Download the latest version of LCS for Liferay DXP 7.1.
- Shut down the server running DXP 7.1.
- In the Liferay_Home/osgi/marketplace folder, delete the following files:
- Liferay Connected Services Client - API.lpkg
- Liferay Connected Services Client - Impl.lpkg
- Delete the Liferay_Home/osgi/state directory.
- Delete the 'temp' and 'work' directories from the Liferay_Home/tomcat_home folder.
- Place the latest LCS .LPKG file from step one into the deploy folder.
- Start the server.
会員限定記事
Liferay エンタープライズ サブスクリプションをお持ちのお客様は1500件を超えるベストプラクティス、トラブルシューティング、その他のソリューション記事を閲覧できます。ログインすると、記事全体をお読みいただけます。
ログイン