Capability

Development and Tooling

Liferay offers a comprehensive toolkit to extend or customize your digital experience. Build applications quickly with low-code/no-code features like Objects, or leverage developer tools like Liferay Workspace and Blade CLI for further customizations.

For users on PaaS or running Self-Hosted, Liferay also offers tools deploying customizations.

Feature
Deployment Approach
Failed upgrade process for Analytics when upgrading to DXP 7.3
Issue When upgrading to DXP 7.3, I'm encountering the following error in the upgrade process:  2021-05-12 04:16:12.918 ERROR [main][UpgradeStepRegistratorTracker:144] Failed upgrade process for module...
Session timeout auto extend fails with Google Chrome
Issue The user session expires in about 10-15 minutes inactivity, even if session.timeout.auto.extend is set to true, and session.timeout and session.timeout.auto.extend.offset are all configured. The...
"javax.crypto.BadPaddingException" warning in server console.
Issue While startup below warnings can be observed in the server console: ERROR [tomcat-http--1][AutoLoginFilter:259] Current URL / generates exception: com.liferay.portal.kernel.exception.SystemException:...
Table 'OA2Auths_OA2ScopeGrants' already exists
Issue The following error occurs while upgrading a database to DXP 7.1 or higher Table 'OA2Auths_OA2ScopeGrants' already exists Environment Upgrading Portal 6.2 or DXP 7.0 -> DXP 7.1 or higher Resolution This...
Unable to configure instances using portal-{WebID}.properties
Issue Steps to Reproduce Add -Dcompany-id-properties=true to the JAVA_OPTS on $LIFERAY_HOME/tomcat/x.y.z-bin/setenv.sh; Add a file $LIFERAY_HOME/portal-test1.properties with the...
Dependency manager sync timeout after waiting 60s
Issue The following WARN can appear during the startup: WARN [http-nio-8080-exec-1][DependencyManagerSyncImpl:85] Dependency manager sync timeout after waiting 60s Environment Liferay DXP 7.2, 7.3 Resolution...
>", "" when outputting HTML source<"などのHTML特殊文字がエスケープされません。
Please be aware that the page you are viewing has been machine translated from Japanese into English and may contain some translation errors. If you observe any issues with the translation, please contact us. >", ""...
How to restrict the JSON web services to certain IP addresses
Issue JSON web services API page is being exposed through the URL http://[address]:[port]/api/jsonws. I would like to restrict the IP addresses that will have access to this servlet. Environment Liferay DXP 7.2...
AUI Ajax Call Classes
Issue An AUI Ajax call is being used to fetch data. The call has changed slightly between Liferay 6.2 and Liferay DXP 7.3 1)In 6.2 the code is: AUI().use("aui-base", "aui-io-request", function(A) {...
Why does my Liferay instance rejoin a cluster that it was previously a part of?
Issue My Liferay instance was once a part of a cluster. Now I've separated it from the cluster, but the cluster keeps detecting the instance and re-adding it. I use TCPPING for both of my environments, but I've...
Although I access DXP using https, CDN urls use http
Issue If there is a load balancer in front of the DXP nodes responsible of the SSL offloading and the use of a CDN has been configured, when DXP is accessed using the https protocol, the content is downloaded from...
In a thread dump there are many blocked threads inside InitFilter class
Issue When I analyze a thread dump there are multiple threads in BLOCKED status with stacktraces such as this: "http-nio-8080-exec-129" Id=325 BLOCKED on...
Where can I test Liferay APIs in Liferay DXP?
Issue Where can I test Liferay APIs to confirm their behavior? Environment Liferay DXP 7.3 Resolution An API Explorer interface was made available in Liferay DXP 7.3 The API Explorer can be accessed at <ip...
Session lost on page redirect using POST method when request header is SameSite=LAX
Issue The problem is happening when using POST method to receive data from another portal on a different domain, which is considered unsafe when request header is SameSite=LAX, that because if this header is not...
"Illegal HTTP status in response" error when configuring an F5 BIG-IP ASM before a Liferay Server
Issue After configuring the F5 BIG-IP® Application Security Manager™ (ASM) product before a Liferay Server, several requests are blocked by the ASM module and following error is displayed: Illegal HTTP status in response...
Session unexpectedly lost in Google Chrome
Issue Session is suddenly lost in Google Chrome even when session.timeout.auto.extend=true has been set in portal-ext.properties file. Environment Liferay DXP Liferay Portal 6.2 Resolution This is only happening...
java.lang.IllegalArgumentException at jodd.asm5.ClassReader. when calling a remote JSON service
Issue When we call a JSON remote service of a custom service builder entity, it doesn't work when it has parameters. For example if we define this service builder method: public Foo getFooById(long userId) { <code> } And...
Tables from version 7.0 still persist in DB after upgrade
Issue Is there any specific reason for not removing 'old unused' tables from the database after the upgrade? For example, Liferay Bookmarks were archived with no direct replacements in Liferay 7.3 but after the...
Liferay trigger execution during Daylight saving time
Issue In the case of days in which there is a time change in summer, what happens in these cases with the Quartz library? Could some process not trigger? Environment Liferay DXP 7.1 Liferay DXP 7.2 Liferay DXP...
PrimKeyId field with NULL value in ResourcePermission table
Issue After upgrading there are problems with the permissions: Some users cannot access the "Document and Media" section from the site administration They cannot see the "Document and Media" widget either If you...
ServiceConfigurationError is thrown when trying to call a SOAP web service from a 7.2 Spring/Faces WAR portlet
Issue When trying to call a SOAP web service from a 7.2 Spring/Faces WAR portlet, the following ServiceConfigurationError is thrown: java.util.ServiceConfigurationError: javax.xml.ws.spi.Provider:...
"invalid keyLength value" error in console at the time of login post upgrade from Liferay 6.1 to DXP 7.1
Issue Post upgrade from Liferay 6.1 to DXP 7.1 user is unable to login and "invalid keyLength value" error observed in the server console. 2021-07-16 12:42:48.447 ERROR [http-nio-8080-exec-6][LoginMVCActionCommand:147]...
Unable to add the token in Analytics Cloud configuration
Issue Unable to add the token in Analytics Cloud configuration of Liferay DXP Instance Settings. The below errors are observed in the console 2021-05-09 12:14:26.660 ERROR [WebContainer : 189][PortletServlet:112]...
Declarative Service Unsatisfied Component Checker Warning when upgrading from DXP 7.3 GA1 to Fix Pack 1
Issue After installing Fix Pack 1 and running the upgrade tool, I get a warning about an unsatisfied component for analytics modules. The following warning shows up in the startup logs if I have...
Application Throwing IBM error
Issue The below error are observed in the application due to which the application goes into the hang state and works fine after restart. com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0068E: Uncaught...
Can I Only Use Market Place Apps for Personal Use
Issue Whenever I go to download a market place app for Liferay I am asked to enter my project details and a legal entity name. However, even if I enter those it says for personal use only. Environment Liferay...
SYSERR(root) rewrite excessive recursion (max 50) ruleset canonify exception when mail triggers
Issue When mailing triggers, exception [SYSERR(root): rewrite: excessive recursion (max 50), ruleset canonify] throws in the server, and mail is not received by recipients. Environment DXP 7.0 Resolution This kind of...
Stopping application server takes too much time
Issue Shutting down the application server waits indefinitely so we have to use kill command. Environment Liferay DXP 7.0+ Resolution It can happen that a latch countdown to stop an OSGi service takes a lot of...
S3Store error during upgrade in case of missing s3Endpoint parameter
Issue During upgrade, you might encounter the following error if the s3Endpoint parameter is not configured properly in the com.liferay.portal.store.s3.configuration.S3StoreConfiguration.config file:...
Will a Custom Portlet Require a Restart After Deployment in Liferay DXP?
Issue When creating a custom portlet, sometimes a restart will be required to complete installation, but other times it will not Environment Liferay DXP 7.0+ Resolution Any customization that modifies...
How to acquire Liferay PaaS logs in a file on a local machine without requiring browser interaction
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue Our team would like to transfer Liferay PaaS logging into a...
Liferay application is not reconnecting with database server
Issue Why Liferay application is not reconnecting with the database server? Environment Liferay DXP 7.0 Resolution In case the database services have been restarted, Liferay would need a restart to re-establish the...
Client-side HTTP parameter pollution vulnerabilities
Issue  How to address the Client-side HTTP parameter pollution vulnerabilities Environment Liferay DXP 7.2 Resolution Encode the URLs or user input to avoid the HTTP parameter pollution vulnerabilities. Additional...
Liferay application servers getting unresponsive while switching the database
Issue The below exceptions have been observed in the Liferay application servers.  It's getting unresponsive while switching the database.  ERROR...
'Unable to determine GroupId' warning when upgrading to DXP
Issue I'm encountering a warning like the following when upgrading from 6.2 to DXP 7.0 or higher: [main][UpgradeSubscription:108] Unable to determine the group ID for the class name...
Integrating Outlook certificate for User Authentication
Issue How to integrate authentication certificate introduced by the outlook for user authentication?    Environment Liferay DXP 7.0 Liferay DXP 7.1 Liferay DXP 7.2 Liferay DXP 7.3 Resolution While configuring mail-in...
'flatten' parameter does not work for Knowledge Base Articles headless delivery API
Issue When calling the KB Article headless-delivery API with the flatten parameter, the results are not flattened as expected. For example, if you have KB Articles and folders in this structure: root │ └─►Folder A │...
How to enable web content and user logs in server console?
Issue In this article, we'll know how to display logs of web content and user creation in the server console. Environment Liferay DXP 7.1 Resolution For Web Content logs: Navigate to Control Panel→ Server...
Setting up Microsoft Server AD with Liferay
Issue This article provides you detailed steps to set up and configure Microsoft Server AD to Liferay. Environment Liferay DXP 7.1 Resolution Changing Computer Name: Control Panel → System and Security → System...
Certified vs Supported Environments
Issue Difference between "Certified" and "Supported" Environments Environment Liferay Portal 6.2 Resolution The difference between certified and supported is related to amount of testing the technology by our...