LiferayをWebSphereにデプロイする際のFrameworkEvent ERROR
written-by
Marcos da Silva Xavier
How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!
While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.
legacy-article
learn-legacy-article-disclaimer-text
ご覧のページは、お客様の利便性のために一部機械翻訳されています。また、ドキュメントは頻繁に更新が加えられており、翻訳は未完成の部分が含まれることをご了承ください。最新情報は都度公開されておりますため、必ず英語版をご参照ください。翻訳に問題がある場合は、こちら までご連絡ください。
問題
7.4 U69からU73にアップグレードした後、LiferayをWebSphereにデプロイすると以下のエラーが発生します:
ERROR [Framework Event Dispatcher: Equinox Container: a2a85eaa-5ae8-4b66-87a5-4315e923a260][Framework:56] FrameworkEvent ERROR com.liferay.portal.kernel.log.LogSanitizerException: org.osgi.framework.BundleException: Could not resolve module: com.liferay.announcements.uad [123]_ Unresolved requirement: Import-Package: com.liferay.user.associated.data.anonymizer; version="1.2.0"_ -> Export-Package: com.liferay.user.associated.data.anonymizer; bundle-symbolic-name="com.liferay.user.associated.data.api"; bundle-version="7.0.1"; version="1.2.0"; uses:="com.liferay.portal.kernel.dao.orm,com.liferay.portal.kernel.exception,com.liferay.portal.kernel.model,com.liferay.user.associated.data.component"_ com.liferay.user.associated.data.api [1312]_ Unresolved requirement: Import-Package: com.liferay.petra.xml; version="3.0.0"_ Unresolved requirement: Import-Package: com.liferay.user.associated.data.display; version="2.1.0"_ -> Export-Package: com.liferay.user.associated.data.display; bundle-symbolic-name="com.liferay.user.associated.data.api"; bundle-version="7.0.1"; version="2.1.0"; uses:="com.liferay.portal.kernel.dao.orm,com.liferay.portal.kernel.model,com.liferay.portal.kernel.portlet,com.liferay.portal.kernel.util,com.liferay.user.associated.data.component"_ [Sanitized] at org.eclipse.osgi.container.Module.start(Module.java:444) ~[org.eclipse.osgi.jar:?]
解決策
起動ログにこのような行がある場合、問題は単に外部データベースの代わりにHSQLを使用していることが原因かもしれない:
INFO [server.startup : 0][DialectDetector:153] Using dialect com.liferay.portal.dao.orm.hibernate.HSQLDialect for HSQL Database Engine 2.7 [6/14/23 14:11:45:343 GMT] 0000005f webapp I com.ibm.ws.webcontainer.webapp.WebApp log SRVE0292I: Servlet Message - [liferay-dxp#liferay-dxp-7.4.13.u73-20230419073742119.war]:.Initializing Spring root WebApplicationContext
did-this-article-resolve-your-issue