Capability

Cloud

Liferay Cloud Platform provides the infrastructure and tooling necessary to simplify, secure, and deliver applications on Liferay DXP when using the SaaS or PaaS deployment approaches. Using Liferay’s Cloud infrastructure provides a secure, reliable, and scalable platform for building Liferay solutions.

The Liferay Cloud Platform includes DevOps CI/CD tools, automated backups, real-time logs, and much more.

Feature
Deployment Approach
Log4j warnings after upgrading to Fix Pack 15
Issue After upgrading Liferay DXP 7.2 to Fix Pack 15, 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...
"Going to buffer response body of large or unknown size" warning triggers
Issue Why does the below warning trigger?  2021-08-18 20:14:27.334 WARN  [ajp-nio-8009-exec-795][HttpMethodBase:185] Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is...
Unable to delete navigation menu from page
Issue Unable to remove the navigation menu widget from the page. Environment Liferay DXP 7.0 Resolution It is the intended behavior of Liferay as there is an option to enable Hidden from Navigation Menu...
java.lang.RuntimeException: com.liferay.portal.lpkg.deployer.LPKGVerifyException: LPKG validation failed
Issue Why "LPKGVerify RuntimeException" triggers? SEVERE: Exception sending context initialized event to listener instance of class com.liferay.portal.spring.context.PortalContextLoaderListener...
Options are not available to configure while selecting the "Remote Cluster Connection ID"
Issue After portal upgrade, when updating the elastic search in DXP 7.3, options are not available to configure while selecting the "Remote Cluster Connection ID". And the below error triggers at the same time span...
TypeError: str.indexOf is not a function error is encountered while doing `gulp-upgrade`
Issue While upgrading Liferay themes from Portal 6.2 to 7.2, the following error is coming. bash-4.4# gulp upgrade [20:01:07] Using gulpfile /home/node/devcenter-theme/gulpfile.js [20:01:07] Starting 'upgrade'......
After upgrading from 6.1 or 6.2 to DXP 7.0, Wiki pages have the wrong portlet ID in URLs that are embedded in the content
Issue Steps to reproduce: (in order to keep things as simple, I started the upgrade from 6.2, where the ID of the portlet is still 54. The problem is where we upgrade from 6.2 to 7.0) 0. Vanilla 6.2 SP20 1. Create a...
"The activate method has thrown an exception java.nio.file.NoSuchFileException:" reported for bundle com.liferay.portal.osgi.web.wab.generator.impl when starting server
Issue "The activate method has thrown an exception java.nio.file.NoSuchFileException: + {path}" reported for bundle com.liferay.portal.osgi.web.wab.generator.impl when starting server. 2021-12-23 05:46:17.220 ERROR...
What file upload protocol is used by Liferay?
Issue We need information about the file upload protocol that is used by Liferay in the file upload functionality from the users' browsers. This information is necessary to fix some network issues in the firewall and...
Upgrading From Fix Pack 8 to 11 Failed Due To NPE
Issue After upgrading from fix pack 8 to 11, the portal starts up with NPE. 2022-01-06 12:42:49.469 ERROR [default task-1][MainServlet:1168] com.liferay.portal.kernel.events.ActionException: java.lang.NullPointerException...
SearchEngineUtil.search equivalent in Liferay 7.2
Issue Liferay 6.2 class SearchEngineUtil equivalent in Liferay 7.2. Environment Liferay DXP 7.2 Resolution The below document includes the replaced classes of the deprecated ones....
When entries in the jgroupsping table are not removed, clustering does not always work properly
Issue With two Liferay 7.2 SP3 nodes, configured unicast clustering. However, it has been observed that clustering does not always work properly and that the cluster returns to normal operation when the entries in...
Liferay fails to start up after installing fix pack
Issue After installing a fix pack, sometimes the environment may not start back up and will encounter the following error: 10-Nov-2021 18:14:07.441 SEVERE [localhost-startStop-1]...
Is that NTLM solution works when the user should land on the home page automatically instead of getting a login page as long as the portal has connected to the client machine or the network?
Issue Is that NTLM solution works when the user should land on the home page automatically instead of getting a login page as long as the portal has connected to the client machine or the network? Environment Liferay...
Some management toolbars do not display the stored display style
Issue Changing the display view when in the People section does not remain if you navigate away to a different page. Steps to reproduce Start a clean bundle of Liferay DXP 7.2. Go to People -> Memberships and change...
Cannot start up server after applying a new patch
Issue After installing a new fix pack / hotfix, the portal is not starting up, even though the temporary folders have been deleted. 06-Dec-2021 13:15:32.439 SEVERE [main]...
Why are Exports Slow In a Site With a Large Number of PDF Documents?
Issue When I attempt an export of a site containing a large number of PDF documents in DXP 7.3, the export takes a very long time. Environment DXP 7.3 Resolution This issue is resolved by LPS-142761  ...
Is there a way to find out which osgi module owns a jar that's been written to the $liferay_home/osgi/state directory?
Issue I would like to find out which osgi module owns a jar that's been written to the $liferay_home/osgi/state directory. Environment DXP 7.2 DXP 7.3 Resolution  The id of the bundles in Gogo Shell corresponds...
Unable to create a SAML certificate using Document Library Keystore Manager
Issue Unable to create a SAML certificate using Document Library Keystore Manager with Google Cloud Storage There was a problem loading the SAML Keystore. Please contact your system administrator....
Why aren't Headless API calls working after I change the Root context?
Issue I changed Liferay's root context to a custom context, and now headless API calls are returning "access denied" errors. Environment DXP 7.3 Resolution This issue is fixed by LPS-143355  Additional...
Errors when executing upgrade process for com.liferay.exportimport.service
Issue The ExportImport Service failed during the upgrade from Liferay 6.2 to DXP 7.2: ERROR - Failed upgrade process for module com.liferay.exportimport.service com.liferay.portal.kernel.upgrade.UpgradeException:...
Upgrading from Fix Pack 1 to Fix Pack 2 in Liferay DXP 7.3, a NoSuchGroupException occurs
Issue When upgrading from Fix Pack 1 to Fix Pack 2, issues with the control panel options arise, such as being unable to use the page building option and having no portlets visible on the home page. The console...
com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption
Issue The server is down with the below exception. What does this error mean? ERROR [https-jsse-nio-8443-exec-144] [JDBCExceptionReporter: 234] The driver could not establish a secure connection to SQL Server by...
Service "com.liferay.portal.kernel.messaging.DestinationFactory" is unavailable
Issue What does this error mean? When it will occur? 2021-07-21 00: 02: 06.207 ERROR [ServerService Thread Pool - 111] [ServiceProxyFactory: 109] Service "com.liferay.portal.kernel.messaging.DestinationFactory" is...
Liferay fails to manage unique session and displays the mismatched data of the users
Issue Liferay fails to manage unique sessions and displays the mismatched data of the users when using the below code ThemeDisplay td = (ThemeDisplay) renderRequest.getAttribute(WebKeys.THEME_DISPLAY); User user =...
How apply changes to Tomcat's server.xml file in Liferay PaaS
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue I need to make some changes in Tomcat's server.xml...
The jgroupsping entries not getting deleted from table in Kubernetes environment
Issue In case of using Kubernetes, you might encounter a problem in your cluster using JDBC_PING, as the entries from the jgroupsping table related to the shutdown pods are not getting deleted. Environment DXP 7.3+...
Application performance comparison between Unicast and Multicast configurations
Issue As per the business-specific requirement, modified the configurations by changing from default multicast with unicast clustering. While doing so, how the application performance will be impacted between Unicast...
"Your request failed to complete" error is displayed on the user interface but there is no more information about it
Issue If there is an unexpected error, sometimes a "Your request failed to complete" error is displayed on the user interface, but no additional information is given. How can I get more information on this error?...
Using JSONFactoryUtil.looseDeserialize method deserilizes to HashMap instead of my class.
Issue We have a WAR portlet that uses JSONFactoryUtil.looseDeserialize method. Also, our class is defined as whitelisted. See following: json.deserialization.whitelist.class.names=\...
How can I manually force the generation of document thumbnails?
Issue It is necessary to regenerate all thumbnails of the documents in documents and media. After executing "Reset preview and thumbnail file for Documents and Media" in the server administration section, the thumbnails...
Multiple Spring MVC Portlets names are not displayed in Add Widget menu when added in the same WAR file
Issue When creating custom widgets, if multiple widgets are deployed within the same war file, the individual names of the widgets are not seen in the Add Widget menu within Liferay Instead, each widget shares the same...
NullPointerException in service builder methods after upgrade to DXP 7.3
Issue After upgrading the portal to DXP 7.3, the following stack trace in some custom modules is reported: Caused by: java.lang.NullPointerException at...
Getting com.mysql.cj.jdbc.exceptions.CommunicationsException on server startup
Issue User gets below error on server startup/restart: ERROR [main][DialectDetector:147] com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure__The last packet sent successfully to the...
Create custom notification module
Issue Unable to get notification over UI even after adding entry in usernotificationevent table through UserNotificationEvent API. Environment Liferay DXP 7.2 Resolution Even after adding entry in...
SQLRecoverableException
Issue The server is down with the below exception java.sql.SQLRecoverableException. What will be the possible root cause which triggers this exception? 2021-10-12 10:25:54,807 SEVERE [Common.CommonUtils] (default...
Known Issue: "PermissionChecker not initialized" errors are observed and no pages are rendered following upgrade to 7.3
Issue After upgrading from 7.0 to 7.3, when we start up our bundle for the first time the site does not render any pages (other than to show "powered by" on the home page) and the following error can be observed in...
How to connect to API Rest using Digest Auth in 7.1
Issue It's not possible to accces to an endpoint in 7.1 when using Digest Auth using the same configuration as used in higher versions (for our example we'll use 7.3). For the reproduction steps we'll use: the same...
Known Issue [Resolved]: Staging publications in the Global site fail due to duplicate categories after upgrade to 7.3 or 7.4
Issue After upgrading our 7.0 bundle (where we had some categories in the Global site used for various assets) to 7.3, the vocabularies look to be duplicated in the post-upgrade environment (one list that cannot be...
Fetching the web contents with the "Accept-Language" header returns different languages
Issue Fetching the web contents using the headless API with the "Accept-Language" header returns the selected language variation if there is a translation for it, but otherwise, it returns the default...
Restricting redirection to whitelisted URLs
Issue I want to specify the URLs my users get redirected from our site.  Environment DXP 7.0+ Resolution You have more information about this settings in this article: Errors in the log file of the type "Redirect URL...
After upgrading from 7.2 to 7.3, Style Books throws IllegalArgumentException
Issue After upgrading from 7.2 to 7.3, Style Books is inaccessible Steps to Reproduce: Launch a clean 7.2 DXP bundle Shut down the bundle once the portal appears in the browser Upgrade to 7.3 and launch the...
7.2 to 7.3 upgrade fails with "Failed upgrade process for module com.liferay.asset.display.page.service"
Issue The upgrade fails with an error message that includes the following line: ERROR [main][UpgradeStepRegistratorTracker:144] Failed upgrade process for module com.liferay.asset.display.page.service Environment DXP...
Bulk deployment state loop
Issue When trying to deploy the modules in bulk, the modules got stuck in a start-stop loop. Environment Liferay DXP 7.2, 7.3 Resolution It's an already known issue LPS-139889 and will be fixed in the...
After updating to DXP 7.2 FP dxp-13 the Spring portlets show an Unsatisfied dependency error
Issue After updating to DXP 7.2 FP dxp-13 the Spring portlets show an Unsatisfied dependency error. The trace is: ERROR [fileinstall-directory-watcher][ContextLoader:350] Context initialization failed...
How to resolve a Jenkins "Failed to rotate logs" error when executing the Project Build Discarder
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue In our -infra service's CI logging, we are seeing frequent...
Unresolved requirements using a class from util-java in custom development
Issue Trying to use a class from /util-java, such as com.liferay.util.Normalizer, in a custom development by adding to build.gradle the dependency compileOnly group: "com.liferay.portal", name:...
How to get the groups associated to organizations using JSON Web Services
Issue There is no method available in the JSON Web Services API to obtain the groups (i.e. sites) associated to organizations. Is there a way to get them? Environment Liferay DXP 7.0, 7.1, 7.2, 7.3 Resolution There...
How can I resolve "Unable to get portal cache manager MULTI_VM_PORTAL_CACHE_MANAGER" errors?
Issue I am seeing the following error in my clustered environment: com.liferay.portal.kernel.messaging.MessageListenerException: java.lang.IllegalStateException: Unable to get portal cache manager...
Session timeout problems in Azure related environments
Issue OIDC and SAML2 connections with Azure-related services can experience session timeout related problems where the session expires before its intended lifetime. Environment Liferay DXP 7.2 Liferay DXP...
Are directories "document_preview" and "document_thumbnail" strictly necessary to upgrade to DXP?
Issue During the upgrade, there are usually many thumbnails and previews, which could significantly increase the duration of the upgrade. Environment Liferay DXP 7.0, 7.1, 7.2, 7.3 Resolution It's not necessary to...
How do we set the number of Recent Sites that show up in the Control Panel's Sites column?
Issue We would like to control how many Recent Sites are listed on the Control Panel's Sites column. Environment Liferay DXP 7.3 Resolution The following property can be declared within the portal-ext.properties...
Fetch forms through API in Liferay DXP 7.1 and above
Issue I would like to fetch forms with the DDLRecordSetLocalServiceUtil.getRecordSets(groupId) API call, but it only returns DDL records and not any forms.  Environment DXP 7.1 - DXP 7.3 Resolution Since DXP...
Deploying Liferay DXP 7.3 on JBoss EAP 7.3.0
Issue Detailed steps to Install Liferay DXP on JBoss EAP Environment Liferay DXP 7.3 JBoss EAP 7.3.0 JDK 1.8 Resolution 1. Liferay Home is the folder that consists JBoss server folder. After installing and deploying...
java.lang.IllegalStateException: UT010006: Cannot call getWriter(), getOutputStream() already called
Issue When this error "java.lang.IllegalStateException: UT010006: Cannot call getWriter(), getOutputStream() already called" occurs? 2021-10-04 09:09:58.095 ERROR [default task-34][IncludeTag:128] Current URL /...
How do I disable the Trial license within a Liferay DXP image?
Issue My Liferay Docker Image is giving a warning message that the Activation Key needs to be updated: ERROR [fileinstall-directory-watcher][LicenseManager:?] DXP Development license is expired We have noticed...
SSL protocol errors are observed in the browser while attempting to access Liferay at http://localhost:8080
Issue This document will discuss some cases where SSL protocol errors are observed in the browser after opening the default address to the Liferay DXP instance (i.e., http://localhost:8080). This is especially true when...
Liferay 6.2 upgrade stops at UpgradeDynamicDataMapping#upgradeXMLStorageAdapter step
Issue The Liferay upgrade process hangs at one specific part for a longer period of time (several hours)  com.liferay.dynamic.data.mapping.internal.upgrade.v1_0_0.UpgradeDynamicDataMapping#upgradeXMLStorageAdapter...
Ext module is not deployed with the cloud deployment process
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue The modules_ext style projects in workspace will...
Layout module upgrade fails with NoSuchGroupException when moving up to dxp-14 fix pack
Issue After installing dxp-14 fix pack, start up fails due to the layout module upgrade failure. ERROR [main][UpgradeStepRegistratorTracker:184] Failed upgrade process for module com.liferay.layout.impl...