FrameworkEvent ERROR when deploying Liferay to WebSphere
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
You are viewing an article from our legacy "FastTrack"
publication program, made available for informational purposes. Articles
in this program were published without a requirement for independent
editing or verification and are provided"as is" without
guarantee.
Before using any information from this article, independently verify its
suitability for your situation and project.
Issue
- After an upgrade from 7.4 U69 to U73, the following errors are seen when deploying Liferay to 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:?]
Resolution
- The issue might simply be because of the use of HSQL instead of an external database, if you see this line in the startup log:
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 ?