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
Creating Custom Validation Scripts on Web Form Portlet With DXP 7.0
This article documents how to use the custom validation script feature in the Web Form Portlet on Liferay DXP 7.0. Users might have used the same feature on Liferay Portal 6.2 and wonder which features are the same and...
Configuring Liferay DXP as SP and OKTA as IdP
This article documents the basic steps users need to execute in order to set up their instance of Liferay DXP as SP, and OKTA as IdP. Resolution OKTA Configuration Log in to OKTA and navigate to Admin > Add Application...
Requesting a New Feature or Feature Improvement
As an open-source company, Liferay has always highly valued feedback and suggestions from our community of users on how to continually improve our products. Creating and Upvoting...
Creating High Contrast Color Themes in Liferay DXP 7.0
Beginning with DXP 7.1, the Liferay platform makes use of Clay, which is the implementation of Lexicon 2.0 and the Lexicon Experience Language. This version provides improved accessibility with the offering of...
Adding Custom Password Reminder Questions
This article provides step-by-step instructions on how Liferay Portal, or Liferay Digital Enterprise 7.0, administrators can enable and leverage the user reminder queries. In addition, this article also documents how...
java.lang.ClassCastException: class javax.mail.Session cannot be cast to class javax.mail.Session error when configuring email delivery using JNDI
Issue We have configured email delivery using the application server JNDI mail resource, adding the following property to the portal-ext.properties file mail.session.jndi.name=mail/Session  We followed this Liferay...
POST request with multipart/form-data downloads the file
Issue A POST request with multipart/form-data and appropriately sized attached file downloads the file to the temporary disk folder Antivirus agent may detect malicious file(s) in the folder after a similar...
Cache Control header for other content type
Issue With the following property browser.cache.disabled=false the cache headers are not being set with other content types such as text/css, text/javascript, img/png  Environment Liferay DXP 7.4 Resolution The...
java.sql.BatchUpdateException: Duplicate entry errors
Issue Duplicate entry error when switching from Hypersonic to MySQL using the setup wizard Steps to reproduce 1) Start portal with hypersonic 2) In Setup Wizard, add test@liferay.com as an email 3) Click to change...
Failed upgrade process com.liferay.dynamic.data.mapping.internal.upgrade.v5_2_2.DLFileEntryDDMFormInstanceRecordUpgradeProcess
Issue During the upgrade process from DXP 7.3 to DXP 7.4, a NullPointerException is being reported with the following stack trace: 2023-04-04 17:03:17.835 INFO [main][UpgradeProcess:145] Failed upgrade process...
User clicks not tracked correctly
Issue The number of hits goes up by 2 Steps to reproduce: 1) Add "live.users.enabled=true" to portal-ext.properties and start portal 2) Navigate to Control Panel > Monitoring 3) View the number of hits 4) Refresh...
Exceptions from class "freemarker.core.FMParser$LookaheadSuccess" when using java mission control while doing perfomance analysis
Issue We are doing a performance analysis using Java Mission Control and while checking the errors tab we see a lot of exceptions coming from freemarker.core.FMParser$LookaheadSuccess class Environment...
Web content with special characters in their title, their friendly URL is populated with C% code
Issue The Friendly URL presented when editing a Web Content is displayed with C% code in the special characters, making it difficult to forward that URL. Environment Liferay DXP 7.4 (equal to or below Update 40)...
Is there any Instance Level Configuration for Google Captcha?
Issue Is there any instance level configuration for Google Captcha   Environment Liferay DXP 7.4   Resolution The Google Captcha can only be enabled via System Settings > Security Tools > CAPTCHA, which is a server level...
Make Editable Fields in a Custom Widget Embedded in Fragment
Issue I have a custom widget and write editable fields in the JSP like this. <div class="form-group required"> <label class="required-field-lbl form-field-lbl" data-lfr-editable-id="resume-name"...
Portal getting slow/down frequently
Issue Liferay portal gets too slow or down frequently and below threads are observed in the thread dumps: at java.util.regex.Pattern$BnM.match(Pattern.java:5483) at java.util.regex.Matcher.search(Matcher.java:1248)...
Navigating to URL after setting Redirect Pattern is giving 404 error
Issue When Redirect Pattern is defined such as below to redirect pages, navigating to the URL gives 404 error instead of redirecting properly. Environment DXP 7.4 u65 and lower Resolution By default, patterns defined...
Saving Site Settings - Languages takes a long time
Issue The issue can be reproduced with the following steps: 1. Go to configuration then select site setting. 2. Select Define a custom default language and additional available languages for this site. 3. Click on save....
Fragment's Edit/Update Date Isn't Getting Updated
Issue When making edits to fragments and publishing those fragments, the "Modified time" of the fragment is not updated accordingly. Steps to Reproduce: Navigate to Design > Fragments Add a Fragment Collection and create...
Adding and deleting a Fragment before publishing the page still count
Issue The issue can be reproduced with the following steps: 1. Add a new Fragment Sets. 2. Add a new Basic Fragment. 3. Create a Content Page. 4. Add the newly created fragment to the Page and delete the fragment from the...
Ip and Port for integrating Libreoffice
Issue What IP and Port needs to be added for integrating Libreoffice with Liferay? Environment Liferay DXP 7.2 Liferay DXP 7.3 Liferay DXP 7.4 Resolution In case the application is installed on the same server, IP...
How to rotate Liferay logs per day
Issue Liferay logs can be configured to rotate each day. Environment Liferay DXP 7.4 Resolution Liferay logs default configuration is defined to make logs rotate each day. If you have applied a different...
Frontend server or load balancer IP is displayed in the HTML source code of Liferay pages
Issue We have detected that if you go to the "view page source" option, open the HTML source code of any Liferay page and search the getRemoteAddr text, you will see the internal frontend server (Apache, Nginx) or load...
What are the risks of using the FreeMarker variables utilLocator, objectUtil, and staticUtil
Issue The variables utilLocator, objectUtil, and staticUtil are restricted and inaccessible to the FreeMarker engine. What are the risks of using these variables? Environment All environments Resolution If there...
How to stop generating the redundant logs in {liferay_home}
Issue Liferay logs are generated in multiple locations: Users want to stop generating redundant logs in multiple locations. {liferay_home}/tomcat/logs/catalina.out {liferay_home}/logs/liferay.xyz.log...
Widget Configuration is not visible with custom theme
Issue Steps to Reproduce: Generate a theme with Liferay theme generator. Start the bundle and log in as admin. Deploy the created theme. Add a widget page and drop an out-of-the-box widget on it. Apply the theme to the...
Upgrading Custom Themes not created with Liferay Theme Generator from DXP 7.0 to 7.4
Issue We want to upgrade custom themes from DXP 7.0 to 7.4. But the custom themes were not created using Liferay Theme Generator. Can we upgrade custom themes using Liferay Theme Generator following this article?  ...
Methods (createResponseMessage) and (sendSynchronousMessage) Removed?
Issue We have used the following two methods: (createResponseMessage) and (sendSynchronousMessage) in Liferay 7.0 for a long time. We are now upgrading to Liferay 7.4 and they are no longer working as they did. ...
Headless API returns BAD REQUEST when a friendlyURL contains a forward slash
Issue The Headless API returns "HTTP Status 400 - Bad Request" when a / is included in a friendly URL The error can be thrown using these steps: - Login to Liferay as Admin - Go to the headless API page:...
What is the default Database Connection Timeout?
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 would like to know the default database connection timeout and...
After changing the default language of a site I can no longer create objects
Issue Changing the default language on a site leads to an error when creating an object. The UI shows this error: Unexpected token '<',"<!DOCTYPE "... is not valid JSON Environment Liferay DXP 7.4 Resolution This...
java.lang.RuntimeException: java.lang.NumberFormatException: For input string: "" after upgrading to a new 7.4 Update version
Issue After upgrading from DXP 7.4 Update 55 to Update 58, exception java.lang.RuntimeException: java.lang.NumberFormatException: For input string: "" is thrown during Liferay startup 2023-02-28 12:15:02.136 ERROR...
What is a Vanilla Bundle?
Issue What does it mean to test with a Vanilla Bundle? Environment DXP 7.0 | DXP 7.1 | DXP 7.2 | DXP 7.3 | DXP 7.4 Resolution Firstly, it may also be referred to as a clean, blank, or fresh bundle.  In Liferay Support...
Asset Publishers on Content Pages show error messages in the remote live server
Issue Asset Publishers on Content Pages show error messages in the remote live server. This issue appears in a multi-server environment where a site is configured for remote staging AND the live servers are...
org.jdom dependency can not be resolved in custom development after Liferay DXP 7.3 U10
Issue If you have a dependency of org.apache.velocity, version "1.6.4.LIFERAY-PATCHED-1" (or 2) in a custom development, org.jdom package is not going to be resolved on deployment time after upgrading to Liferay...
DL Reference Observed When Publishing Web Content to a Live Site
Issue When publishing web content to a live site, the following DL Reference may be observed: $dl-reference=/group/123456/com.liferay.document.library.kernel.model.DLFileEntry/123456789.xml$ The root cause of this...
Compilation error in unschedule job
Issue Custom development not compiling due to arguments mismatch in Unschedule method: Compilation failure: method unschedule in interface com.liferay.portal.kernel.scheduler.SchedulerEngineHelper cannot...
'Error:Internal Server Error' when editing field formula in objects
Issue When adding data in the Formula Builder field and then deleting it, it is not possible to save Steps to Reproduce: 1) Navigate to Control Panel -> Objects 2) Create one objects 3) Add a field formula 4) Go to...
Is there a Tool to Whitelist Specific Regex in OSGi?
Issue Is it possible to enable a whitelisting of specific regex for OSGi module configurations? Environment DXP 7.2 Resolution There are not any out of the box tools regarding whitelisting specific regex for OSGi. The...
ConnectionPoolTimeoutException: Timeout waiting for connection from pool exception when using HttpUtil.URLtoString method from a custom development
Issue We are using Liferay URLtoString  method from  com.liferay.portal.kernel.util.HttpUtil in our custom development to call an external web service We are getting ConnectionPoolTimeoutException: Timeout waiting for...
Maximum Days to Display option not working as expected in Calendar event
Issue Steps to Reproduce: 1) Start a Liferay bundle 2) Add Calendar portlet to a page. 3) Go to Configurations of calendar portlet. 4) Go to display settings and do the following settings. i) Enable only the Agenda...
Unable to create message factory for SOAP
Issue When attempting to implement a soap client to call remote soap services, the following error occurred: Caused by: javax.xml.soap.SOAPException: Unable to create message factory for SOAP: Unable to create SAAJ...
Soft Delete for Sites and Pages
Issue When deleting pages and sites, they are permanently deleted, making the process irreversible. Is there any parameters where I can configure this exclusion with the possibility of reverting?  Environment All...
The Layout Page Template Entry Widget Page Template Name could not be imported
Issue A page template cannot be imported Steps to Reproduce: 1) Create a site named 'Test Site 1' 2) In Test Site 1, Design -> Page Templates -> Page Templates, create a new set. 3) Under the set, create a widget...
Virtual instance can’t be accessed after backup recovery
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue After performing a backup restore from one environment...
Task scheduler extending BaseMessageListener not working after restart
Issue A task scheduler component extending BaseMessageListener works correctly when deployed to Liferay. When the server is rebooted, though, the task is not registered and it won't be executed. Environment Liferay...
Is there a way to check the jobs that are being executed and that are in the queue?
Issue Is it possible to check the jobs that are being executed and that are in the queue in the UI? Environment Liferay DXP 7.4.X Resolution As of Liferay DXP 7.4, the UI has a Job Scheduler option where you can...
The webapps folder is re-created
Issue We have moved the $CATALINA_HOME/webapps folder to a separate partition. We have updated the appBase attribute to point to the new directory, and have deleted the original webapps folder under $CATALINA_HOME. We are...
com.liferay.petra.process.ProcessException: java.io.IOException: Broken pipe error during indexation process
Issue We have configured the text extraction functionality in an external process using the configuration: text.extraction.fork.process.enabled=true...
WYSIWYG editor in custom jsp is not working
Issue Adding a WYSIWYG editor to a portlet by following this document is not working with the below error 2023-01-02 10:04:42.080 ERROR [http-nio-8080-exec-6][IncludeTag:128] Current URL /announcements...
Receiving NoSuchMethodError on DLAppService.AddFileEntry function
Issue Using the following method, to add file entries to the portal, at deployment: addFileEntry(   String externalReferenceCode, long repositoryId, long folderId,                 String sourceFileName, String...
The mandatory field Language of object is empty and is possible to save the changes
Issue Why it is possible to save the mandatory Language field without any value? Steps to reproduce: 1) Navigate to Control Panel > Object > Objects 2) Create a custom Object 3) Create a Text field 4) View this...
Unable to define the searchable option with new objects fields
Issue Unable to configure the searchable options of new fields added to an object after it has been published. Steps to reproduce: Create an object: 'Pets' Add a new field: 'petName' (Text, indexed as text) Publish...
Unable to Publish Object Definition Relationships after Importing
Issue The user is not able to publish Object Definition relationships after importing them Steps to reproduce: 1) Navigate to the Applications Menu -> Control Panel -> Objects 2) Import one Object Definition with a...
Unable to sort the entries by using the External Reference Code
Issue It's not possible to sort the entries by using the External Reference Code Steps to Reproduce: 1) Create an object 2) Create Field text 3) Navigate to View tab > Create a Custom View > Mark as default 4)...
How can I get information about my Liferay license?
Issue Is there a way to get information about my Liferay license in the UI? Environment Liferay DXP 7.0+ Resolution On Liferay 7.0, 7.1, 7.2: Go to Control Panel > Apps > License Manager On Liferay 7.3, 7.4: Go to...
The exception "java.lang.NoClassDefFoundError: aries/base/Parameter" occurs after upgrading from 7.3 GA1 to 7.3 Update 21
Issue I am seeing this error after upgrading Liferay 7.3 GA1 to 7.3 Update 21 with WebLogic 12c R2 java.lang.NoClassDefFoundError: aries/base/Parameter   Environment DXP 7.3   Resolution Update the portal property...
How to fix the error: Store is not available. Caller service needs to wait for store factory with "dl.store.impl.enabled=true"
Issue When starting one Liferay node, the following error is written to the log file: Store is not available. Caller service needs to wait for store factory with "dl.store.impl.enabled=true". The Liferay server is using...
How to configure email sender and email logging for Multi-Factor Authentication?
Issue I would like to understand where sender email address for Multi-Factor Authentication comes from. I would like to set the log levels so I can see when emails are sent. Environment Liferay DXP 7.4 Resolution Set...
Error when we create a site with Minium template
Issue When creating a new Site using Minium template, the following stack trace is seen in the logs: 2022-09-22 13:06:24,120 main ERROR Could not create plugin of type class...