Search Results

Knowledge Base 3817
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
Redirect URL configuration does not persist after a restart
Issue We noticed that after changing the Security Mode of Redirect URL configuration from "IP" to "Domain", and subsequently restarting Liferay, the configuration was back to "IP" again. We want to ensure this...
Log4j warnings and error on startup after upgrading to Update 36
Issue After upgrading Liferay DXP 7.3 to Update 36, the following warnings and error are printed in the logs on startup: log4j:WARN Continuable parsing error 3 and column 30 log4j:WARN Document root element...
User session being logged out while using iframe
Issue The user's session is getting logged out while using the iframe. Environment Liferay DXP 2024 Q1.0 Resolution The issue is sometimes related to the web server configuration. Therefore, the below property...
Errors when attempting to create/edit web content from the control panel
Issue After to recently migrated from Liferay 7.3 to 2023.q3.7, an error occurs immediately upon entering the edit (or creation) of content (and it continues to reproduce in the JS console when switching languages in...
java.sql.SQLException: Illegal mix of collations for operation 'UNION'
NOTE: Be sure to take a backup of your database prior to making any changes. Always test the changes in a lower environment before making changes in production. Making manual changes to the database is not...
Unable to include JSP
Issue The following errors are encountered when the user accesses the portal, which increases the log size. ERROR [https-jsse-nio-0.0.0.0-8443-exec-29][DynamicIncludeUtil:81] java.io.IOException: Unable to include...
Missing default Store
Issue When trying to perform an upgrade, the following error appears in logs: ERROR [main][DBUpgrader:70] Missing default Store Environment Quarterly Release: 2023.Q3, 2023.Q4, 2024.Q1, 2024.Q2 Liferay DXP 7.4...
java.lang.Error: factory already defined when starting up 2024.Q2 with JDK 17
Issue Start up an environment with Liferay DXP 2024.Q2 and JDK 17. The following error message appears: ERROR [io.undertow.servlet.request] (ServerService Thread Pool -- 78) UT015005: Error invoking method...
"SAX Security Manager could not be setup" Warns
Issue We are finding many Warns "SAX Security Manager could not be setup" in the Liferay logs. How can we resolve these messages? Environment Liferay Quarterly Release 2024 Resolution The observed behavior is a...
"Custom Field" data for Navigation Menu is not included, while fetching it from 'Navigation Menus Headless API'
Issue When trying to fetch the details of the "Navigation Menus" via the 'getNavigationMenu' Headless API, the 'Custom Field' data is not included in it. Steps to reproduce: 1. Navigate to Control Panel >...
'Pages' option is not visible under the 'Site Builder', after the upgrade
Issue The 'Pages' option is not visible under the 'Site Builder' Steps to Reproduce: Start any DXP 7.4 Update 42 with any Database Navigate to Site Builder> Pages> Create a few pages. After following the above steps,...
Libraries missing in DXP 7.3 update 36
Issue We have observed a couple of errors, while building our project for DXP 7.3 u36, since there are libraries missing. Especially the library com.liferay.petra.string which is missing for u36. Are those libraries...
DB Upgrade to a Q2 release using JDK 21 results in an error
Issue The following error is being encountered when trying to upgrade to a Q2 release running ./db_upgrade_client.sh and using JDK 21 JVM arguments: [-Dfile.encoding=UTF8, -Duser.country=US, -Duser.language=en,...
Some redirects executed from a custom module are not performed in JBoss EAP/Wildfly
Issue Given a custom module with a portlet component which includes the following code: ... @Override public void doView(RenderRequest renderRequest, RenderResponse renderResponse) throws IOException,...
Integrity constraint violation: unique constraint or index violation: IX_
Issue When trying to start a clean Liferay bundle with the Hypersonic database and no portal-ext.properties, the following exception is being encountered:  2024-07-22 18:47:13.741 ERROR...
There was an error when loading the "text" field
Issue 'There was an error when loading the "text" field' is showing if user clicks on any portlet inside System Settings and Instance Settings. Environment 2024.Q1 2024.Q2 Resolution This behavior is only...
I am getting "Someone may be trying to circumvent the permission checker" while accessing Password Policies
Issue When I try to access Control Panel → Password Policies, I get "Password Policies is temporarily unavailable." I get the following error message: 2024-07-30 13:15:07.411 ERROR...
Upgrading to a Quarterly Release fails due to Elasticsearch exceptions in the logs
Issue When upgrading to a Quarterly Release, coming from an old DXP version, the upgrade fails because of some Elasticsearch errors that can be seen in the logs: ERROR [main][ROOT:47] bundle...
"Unable to persist buffered increment value" Error in Liferay Logs
Issue I am seeing the following errors thrown regularly in my Liferay console logs. How can I resolve this? ERROR [BufferedIncrement-default-2][BufferedIncrementRunnable:54] Unable to persist buffered increment...
How to resolve "Attempting to upgrade table UserGroupGroupRole by adding a temporary column" DB2 database upgrade errors
Issue When trying to upgrade Liferay DXP from a 7.4 U release to 2024.q1.3 using a DB2 11.5 database, we encountered the following errors relating to the UserGroupGroupRole table: INFO  [ServerService Thread Pool --...
Unable to login without the sameSiteCookies="none"
Issue Without the sameSiteCookies="none" setting up, some vital cookies (e.g., JSESSIONID) are not created at all, preventing portal access. Environment Liferay DXP  Resolution This article:...
How to create schedulers in DXP 7.4 and above?
Issue We've been using the below classes in our project to create schedulers:  com.liferay.portal.kernel.scheduler.StorageType   com.liferay.portal.kernel.scheduler.StorageTypeAware  After upgrading to a...
Batch Error encountered during upgrade using SQL Server 2019
Issue When upgrading from Liferay 7.2 to Liferay 7.4, the following error may be encountered during the upgrade process when using SQL Server 2019 with MSSQL JDBC Jar Version 12.X ERROR [main][DBUpgrader:79] null...
sun.awt.Win32GraphicsEnvironment ClassCastException in the logs
Issue We started to see the below exception in our logs: Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: sun.java2d.HeadlessGraphicsEnvironment cannot be cast to...
Table already exists upgrade error
Issue An upgrade is failing with a java.sql.SQLSyntaxErrorException: Table [table name] already exists error Environment Quarterly Releases DXP 7.4 DXP 7.3 DXP 7.2 Resolution NOTE: Be sure to take a backup of...
Feature flag LPS-170809/163118/166126 is not available for company 0
Issue After trying to upgrade to DXP 2023.Q4.4, the database upgrade script is failing with the following errors in the logs: Feature flag LPS-170809 is not available for company 0 Feature flag LPS-163118 is not...
Issue in Workflow node ASSIGNMENTS option
Issue We have a portal with multiple custom roles based on business rules and when trying to select roles in the Workflow node ASSIGNMENTS option the portal crashes. The problem lies in the endpoint that lists...
java.lang.StringIndexOutOfBoundsException: begin 0, end -1, length 1
Issue While upgrading to Liferay DXP 7.4, following errors were observed in the logs: ERROR [http-nio-8080-exec-21][OpenIdConnectSessionValidationFilter:53] java.lang.StringIndexOutOfBoundsException: begin 0, end...
View only permission for custom Field does not include frontend restrictions
Issue Facing issues while using 'View' only permissions for 'Custom Field', able to see and even edit the details even after View only permission. Steps to reproduce: 1. Navigate to Control Panel > Roles, and create...
Database connection issue: Failed to validate connection
Issue We are getting some slowness when browsing through DXP and following message is showed in log: HikariPool-1 - WARN … Failed to validate connection …  Possibly consider using a shorter maxLifetime value....
Unsatisfied Reference - Unresolved Declarative Service
Issue When upgrading to the Liferay DXP 7.4, navigate to the Control Panel > System > Gogo Shell and execute the ds:unsatisfied command, then getting the Unsatisfied Reference - Unresolved Declarative Service and...
Need to get values from System Configuration
NOTE: The following resolution requires customization and should only be implemented at the discretion of your team. Liferay Support will not be able to assist with designing or implementing customizations. Issue...
'Your request failed to complete' while saving the values of Mail settings under Instance settings
Issue Issue while saving the values entered for mail settings under instance settings wherein the values do not get saved and the error says: 'Your request failed to complete'.Steps to reproduce: 1. Start the...
Failed upgrade process com.liferay.dynamic.data.mapping.internal.upgrade.v4_0_0.DDMStructureUpgradeProcess
Issue You might encounter an issue when upgrading from 7.2 to 7.4 where the upgrade step for module com.liferay.dynamic.data.mapping.service fails due to a NoSuchGroupException: 2024-05-22 13:18:39.512 INFO...
Liferay Marketplace cannot be accessed via Control Panel
Issue When accessing Liferay Marketplace via Control Panel, the page does not load anything. Environment Liferay DXP 7.3. Resolution Check that your environment can access the URL https://web.liferay.com/marketplace,...
Text Verification field is not showing validator after clicking on Forgot Password
Issue When clicking on 'Forgot Password', Text Verification field does not showing any kind of validator (*). Steps to reproduce: 1. Navigate to localhost:8080/c/portal/login 2. Click on Forgot Password button....
Unminified CSS
Issue Steps to reproduce: 1. Take Liferay DXP 7.2  fix-pack-20 2. Add the below properties in portal-ext.properties: minifier.enabled=true theme.css.fast.load=true javascript.fast.load=true 3. Inspect the page and...
Custom 'renderUrl' is not working for Liferay DXP 2023.Q4.4
Issue Start the server. Navigate to Product Menu > Site Builder > Pages, and create two pages with the names 'Add Blog' and 'Blog Page' with URLs 'add-blog' and 'blog-page'. (Could also be configure the Page name and...
TemplateException: Unsupported template manager ftl
Issue Our environment is not stable, pages don't load properly and we are not even able to log-in. In the log file, these errors are shown: 2024-04-30 16:52:27.467 ERROR...
Upgrade fails for class 'RadioDDMFormFieldTypeReportProcessor' resulting in NullPointerException
Issue The upgrade is failing from Liferay DXP 7.1 FixPack 21 to Liferay-dxp-2023.q4.4 resulting in the below error: Caused by: java.lang.NullPointerException at...
Not able to configure logging
Issue Our previous configurations for logging are no longer working after upgrading to Liferay's Quarterly Releases. This was previously working in DXP 7.3. When we redeploy a module, the module completely stops...
Custom portlets are not logging correctly with SLF4J
Issue Custom plugins (portlets and hooks) are not properly logging with SLF4J implemented, with no log4j2 configurations changed from previous Liferay versions to 7.4 or Quarterly Release. Environment DXP 7.4 Quarterly...
Getting 'unsatisfied references' error after JAR deployment
Issue When creating a service builder project and after deploying the Jars files, it shows the unsatisfied references'' in the GOGO shell. Steps to reproduce: Start the server. Deploy the JAR file. Navigate to...
How to resolve the "Require strangers to verify their email address?" Instance Setting not saving
Issue After initially setting up a clean Liferay bundle (using my own administrator email domain), I am unable to save the "Require strangers to verify their email address?" Instance Setting, as it fails to save with...
CPU activity is high with large number of open sessions
Issue High CPU activity can have multiple causes.  Reviewing heap dumps may show a large number of objects org.apache.catalina.session.StandardSession. Environment Quarterly Release 2023.Q3, 2023.Q4, 2024.Q1...
ORA-00600 error when accessing to Roles Administration
Issue When accessing to Roles Administration, the following error message appears: ERROR [https-jsse-nio-8443-exec-41][PortletServlet:109] Unable to process portlet...
"Column count doesn't match value count at row 2" error occurs while upgrading to 2024.q1.1 using MariaDB as database
Issue Upgrading Liferay DXP 7.3 to Quarterly 2024.q1.1 shows the error "Column count doesn't match value count at row 2" in the log. Environment 2024.q1 MariaDB 10.4 Resolution A possible cause is that the...
Can Liferay run using a JRE instead of a JDK?
Issue I am using a Java JRE and encountering errors such as: A fatal error has been detected by the Java Runtime Environment Environment Liferay DXP Liferay Portal Resolution Liferay DXP/Portal requires a TCK-certified...
Captcha text null when using a captcha portlet
Issue CAPTCHA Verification is being failed. This only occurs when using a custom captcha portlet, captcha components from the portal (for example, the "forgot password" page) work properly. Environment Liferay DXP...
Facing a 403 error while accessing the OOTB APIs
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue Facing a 403 error with the OOTB APIs while...
LDAP causing slowness while logging in
Issue When LDAP is enabled, the login process takes a long time (about 2 to 3 minutes), causing server performance issues. Expected Result: The login should be relatively quick (a few seconds). Actual Result:...
Custom Bag JSP override fails on JBoss
Issue When deploying a module that contains a CustomJSPBag to override a JSP, the file is created at wrong path. After the deployment the files should be created in the correct path, for example:...
ERR_SSL_PROTOCOL_ERROR occured in the browser while attempting to access Liferay login page at http://IP:8080/c/portal/login
Issue While accessing the Liferay login page after hitting http://IP:8080/c/portal/login, it shows the below SSL error on the browser's UI. "This site can’t provide a secure connection IP(10.x.x.x) sent an invalid...
"Elasticsearch node search-1 does not meet the minimum version requirement of 7.16" when updating to u30
Issue During our recent update to Update 30, the portal experienced an issue and did not start correctly. The logs show the following error: Elasticsearch node search-1 does not meet the minimum version requirement...
Language Override key are not reflecting on other Nodes
Issue In the clustered environment, when the user creates a new language override key on one node, it is not displayed on other nodes. Steps to Reproduce: 1. Start a two-node cluster of Liferay 7.4. 2. In one node,...
Java EL Expression Performance Issue after Upgrade
Issue I recently updated to Liferay 7.4 and I'm seeing performance issues. I have custom JSP files with EL Expressions (expressions like ${expressionName}) deployed. In thread dumps taken during the performance...
Email notification using incorrect SMTP server in Virtual Instance
Issue When using virtual instances with separate SMTP server configurations, email notifications are sent using the SMTP server of a different instance instead of the correct instance's SMTP server. Environment...
Non-Productive Nodes can see Productive Nodes after switching to JDBCPing
Issue In the context of having the Non-Productive environment and the Productive environment within the same network, there are MergeView traces in logs where nodes from non-productive and productive environments...
Getting the error 'no schema has been selected' while setting up the connection between Liferay portal and the PostgreSQL database
Issue It was observed that as soon as the Liferay portal starts creating tables and populating with default data (in the new PostgreSQL 15.2 database), the below error prevents it from doing so: ERROR: no...
Getting java.lang.StackOverflowError when starting the server after applying patch
Issue While performing an upgrade to the Liferay 7.0 environment (applying the patch), the server is not starting and the following error is observed: SEVERE [localhost-startStop-1]...