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
Company/Instance name is reset to 'Liferay DXP' after restart
Issue Having chaged the name of the main instance, it is reset to 'Liferay DXP' after restarting the portal. Neither portal-ext.properties nor Config Admin name change is preserved. Environment Liferay DXP 7.1...
Unable to resolve portal host java.net.UnknownHostException:[HOSTNAME] Name or service not known
Issue When starting up the Tomcat server I get the following stacktrace: WARN [catalina-exec-15][PortalImpl:7173] Unable to resolve portal host java.net.UnknownHostException: [tomcat-host] Name or service not...
Liferay DXP Feature Comparison
Each version of Liferay improves on the features and functionality of previous versions.  Since the release of Liferay Portal 6.2 EE, the Liferay platform has continued to evolve to...
Benchmark Study of Liferay DXP 7.2
This whitepaper is a benchmark study of Liferay Digital Enterprise 7.2 and describes optimal configuration, settings, and the methodology used for this study. The whitepaper also...
Liferay DXP 7.2 Database Portal Properties
This document has been updated and ported to Liferay Learn and is no longer maintained here. This article is intended to provide a list of all the Liferay DXP 7.2 properties that can be used to connect the database of your...
NoSuchFileException o NullPointer exceptions while upgrading the DB for DXP 7.2 SP1
Issue When running the DB_Upgrade tool for installing the SP1 on DXP 7.2, the following errors may appear and the upgrade will not complete: ERROR [ServerService Thread Pool -- 89][ModuleReadHookImpl:85] Unable to...
Emails are not sent and "Email xxxx will be ignored because it is included in mail.send.blacklist" warning is written to log file
Issue Emails are not sent and some MailMessageListener warn traces are written to the log file: [liferay/mail-1][MailMessageListener:135] Email test@domain.invalid will be ignored because it is included in...
Is there a limit to the number of calendar events that can be displayed?
This article has been machine translated from its original language for your convenience. Please use discretion as this translation may include some inaccuracies. If you encounter issues with the translation, please...
Cannot see calendar events after upgrade from 6.1 to DXP
Issue After performing an upgrade from a Liferay 6.1 version to a DXP version, I cannot see the calendar events. Apparently the upgrade didn't handle them. Environment Portal 6.1 -> DXP Resolution There is s separate tool...
Service builder does not respect service.xml setting json-enabled
Issue The json-enabled value specifies whether or not the entity should be annotated for JSON serialization. By default, if the remote-service value is true, then the json-enabled value is true. When setting this...
After building the theme with code changes, the changes are not reflected in the UI as well as in the source code.
Issue When customizing the theme by modifying the source code of Liferay 7.1, the changes are not reflected in the UI as well as in the source code of the theme. Environment Liferay DXP 7.1 Resolution Please Note:...
robots.txt is not updated despite being saved correctly in UI
Issue Updating robots information for pages will show outdated information despite being saved correctly. Environment Liferay DXP 7.0, 7.1, 7.2 Resolution The value of host header in the request and the...
A StaleObjectStateException is Thrown When Using a Liferay Service
Issue After installing Liferay DXP 7.2 Service Pack 1 or Fix Pack 2 a StaleObjectStateException is generated when a customization uses a Liferay service to update or modify data: Caused by:...
DB2 SQL Errors during the database creation
Issue There are DB2 SQL errors during the database creation in the server startup, causing messages in the log like the following:  2019-09-19 07:38:30.286 ERROR [main][ReleaseManagerOSGiCommands:93] bundle...
Blogs Image Properties Moved to OSGi Config
Issue After installing 7.2 fix pack 1 the blogs.image.max size and blogs.image.extentions settings do not persist. Resolution The blogs.image. portal properties have been modularized and need to be set in the Control...
ClientAbortException is thrown while navigating from one page to another
Issue While navigating from one page to another, the following warning messages are thrown.  WARN [http-nio-8080-exec-4][PortalImpl:6751] org.apache.catalina.connector.ClientAbortException:...
How to check which applications you have installed from Marketplace
This article has been machine translated from its original language for your convenience. Please use discretion as this translation may include some inaccuracies. If you encounter issues with the translation, please...
Overwrite Cache-Control header settings for resources in liferay-web.xml file
Issue How can I overwrite the Cache-Control header settings for resources that are served via the /documents/ path? We have tried updating the lifery-web.xml to add a servlet filter for that url-pattern, but the...
When I shut down DXP from the Control Panel, the end users get a blank page and no warning message
Issue I go to Control Panel > Server Administration > Shutdown and shut down the server After DXP was shut down and I refresh the page, only a blank screen appears There used to be a warning message in Liferay 6.2...
How can I include my JSP in a Liferay Blade Servlet?
Issue I'd like to include a JSP in the doGet method of my Servlet plugin. The following gives NullPointerException:  this.getServletContext().getRequestDispatcher("index.jsp").include(httpServletRequest,...
Access denied error message is thrown in the browser with XML format of the rest API
Issue After passing the authorization in the HTTP header and while hitting the URL http://localhost:8080/o/greetings/morning, the web service responds to the request with the below error message [XML format] in the...
Portal has upgraded successfully and NullPointerException is thrown with the server startup
Issue Successfully upgraded the Liferay portal from 6.2EE to DXP 7.1 GA but the server is not started and thrown the NPE Null pointer Exception: 2019-09-13 01:11:59.750 ERROR [http-nio-8080-exec-1][MainServlet:1225]...
Retrieving custom cache entity fails with error
Issue The custom cache entity we introduced to Liferay is inaccessible. We configured our custom cache in override-liferay-multi-vm-clustered.xml. When trying to access the custom cache entity from scripting console...
Errors in the log file of the type "Redirect URL is not allowed" and seemingly unrelated symptoms
Issue There are traces in the log of this type: 2019-08-27 08:46:42.641 WARN  [http-nio-8080-exec-4][PortalImpl:1003] Redirect URL .... is not allowed Additionally, some other issues appear at the same time: Some buttons...
Tomcat trimSpaces feature breaks Liferay styling and functionalities
Issue When setting trimSpaces in tomcat-9.0.6/conf/web.xml: <init-param> <param-name>trimSpaces</param-name> <param-value>true</param-value> </init-param> some functionalities on the Liferay User Interface...
LCS Activation Page redirect
Issue The portal redirects automatically to the LCS Activation Page even with activation tokens deployed. Environment Liferay DXP 7.0+ Resolution  Regenerate the LCS tokens, but with "Liferay Instance Activation"...
Calendar Event invitation mail is sent to the user before the approval of event
Issue If the workflow is applied for the Calendar Event, the user who is invited to that particular event gets an email invitation even before the approver approves the event. Environment Liferay DXP 7.0...
EXT Plugin not deploying
Issue EXT Plugin not deploying correctly through the methods presented in the documentation: Deploying an Ext Plugin Environment Liferay DXP 7.1 Resolution Deploy the EXT Plugin to marketplace/override folder...
DXP 7.2 Upgrade Reference Guide
An upgrade to Liferay DXP 7.2 gives you access to the latest Liferay technology, complete with all of the newest features, and the assurance of continued support for your Liferay environment. Our Subscription Services Team...
How can I execute a bulk update of the time zone of all users?
Issue After installing Liferay and creating all users, customer has realized that Liferay instance and all users are configured with the default timezone (UTC) but it should be updated to a correct one (ie: Europe/Paris)...
Page not found (404) redirects to the 'default' (Guest) web site
Issue When an incorrect URL is hit on the portal, the "The requested resource could not be found" error or Page not found error redirects to the default site and not to that particular site. Environment...
How to remove unnecessary parts from the URL / shorten URL / make URL friendlier
Issue We would like to remove the web/guest part of the URL, to shorten it e.g. http://www.example.com/web/guest/home-> http://www.example.com/home  Environment Liferay Portal 6.2 Liferay DXP 7.0-7.4...
External images inside OpenOffice/LibreOffice document are not resolved when converted to PDF
Issue Upload to Document Library a new OpenOffice document with external link to image. Export the document to PDF. The document is converted to PDF but the image is blank. Environment Liferay DXP 7.0, 7.1,...
How to get the total number of documents once migrated from File System to DB Store?
Issue If the data is moved from the File System to DB Store, then how to get the number of documents from the portal. Environment Liferay DXP 7.0 Resolution When DB Store is used as a repository, the files...
Audience Targeting is deployed but unavailable
Issue After deploying and restarting, Audience Targeting is not available in site's Configuration > Audience Targeting. Tables corresponding to Audience Targeting are not created. Environment Liferay DXP 7.0, 7.1...
After upgrading to Liferay 7.1+, guest users cannot see some web contents
Issue After upgrading to Liferay DXP 7.1+, guests users cannot see some web contents. This is also reproduced for users that aren't members of one site. They cannot see web contents that belong to that site. Environment...
"Too Many Open Files" error in log
Issue "Too Many Open Files" error is reported in the log. For example: 2019-05-06 09:41:20,142 SEVERE [org.apache.tomcat.util.net.NioEndpoint] Socket accept failed java.io.IOException: Too many open files at...
After upgrading to JDK 11, Tomcat can not be started due to "NoClassDefFoundError: javax/xml/bind/DatatypeConverter"
Issue After upgrading to JDK 11, Tomcat can not be started due to "NoClassDefFoundError: javax/xml/bind/DatatypeConverter" 28-Aug-2019 05:40:11.346 SEVERE [main] org.apache.catalina.core.StandardContext.listenerStart...
How to programmatically undeploy a module in DXP 7.1?
Issue I want to undeploy a module from my code, usig API I tried using DeployManagerUtil.undeploy(context), but nothing happens Environment Liferay DXP 7.1 Resolution If you are trying to undeploy a module by its context...
How to resolve AnnotationExceptions encountered during startup when updating 7.0 to de-67+ while using WebSphere
Issue Using WebSphere FP 11 as our application server, we are unable to start up a 7.0 deployment after patching to de-67, and are receiving an AnnotationException in the log, as follows: Annotation processing failed...