Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Unable to register portal instance
hello every one i am using liferay DXP 7 and SQL server data base i have the below exception and i am not able to figure out what is the problem
Note : the portal works fine even with this exception
08:57:13,979 WARN [ServerService Thread Pool -- 233][PortalInstanceLifecycleListenerManagerImpl:111] Unable to register portal instance {mvccVersion=1, companyId=20116, accountId=20118, webId=liferay.com,
Note : the portal works fine even with this exception
08:57:13,979 WARN [ServerService Thread Pool -- 233][PortalInstanceLifecycleListenerManagerImpl:111] Unable to register portal instance {mvccVersion=1, companyId=20116, accountId=20118, webId=liferay.com,
That warn trace is written in PortalInstanceLifecycleListenerManagerImpl.java in case of error during PortalInstanceLifecycleListener instances registration:
In that line, you can see exception is also written to log. Please post the full stacktrace.
Perhaps portal is working fine, but there is a unregistered PortalInstanceLifecycleListener that will cause trouble in one module
_log.warn("Unable to register portal instance " + company, e);
In that line, you can see exception is also written to log. Please post the full stacktrace.
Perhaps portal is working fine, but there is a unregistered PortalInstanceLifecycleListener that will cause trouble in one module
Your exception is a known issue of Liferay DXP: LPS-59510 - java.sql.BatchUpdateException: Data truncation on startup of Liferay on SQL Server 2012 and SQL Server 2008r2.
The root cause of the issue is in SQL Server database schema that sometimes causes a data truncation.
The LPS is private so you will not be able to see it.
You can ask for a solution to Liferay support or you can change to other database, error seems to be reproduced only in SQL Server.
The root cause of the issue is in SQL Server database schema that sometimes causes a data truncation.
The LPS is private so you will not be able to see it.
You can ask for a solution to Liferay support or you can change to other database, error seems to be reproduced only in SQL Server.
thank you for clarification
This is still the case with MySQL 5.6.
2019-01-23 06:44:24.204 WARN
[main][PortalInstanceLifecycleListenerManagerImpl:140] Unable to
register portal instance {mvccVersion=1, companyId=20099,
accountId=20101, webId= ....
Hi,
DXP 7.1 is certified for MySQL 5.7, not sure on 5.6 . Since its DXP, you can open a ticket with Liferay.
Arun
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™