Capability

Security

Liferay DXP is built with security in mind. A variety of standards based authentication methods and integrations can be used to ensure secure access to a site and its resources. Robust role-based access control with permissions gives you fine grained control over what authenticated and unauthenticated users can access, share, or edit. Liferay DXP’s web services also have a multi-layered and configurable approach to security and authorization.

Feature
Deployment Approach
java.sql.SQLException: Incorrect string value and no Display Templates listed for the Breadcrumb widget
Issue On startup, the server will print errors similar to these: ERROR [main][JDBCExceptionReporter:234] Incorrect string value: '\xE5\x9F\xBA\xE6\x9C\xAC...' for column 'name' at row 1 WARN...
Using singleton_name in tcp.xml, Liferay 7.2 (fix pack 1) TCPping cluster fails to start up
Issue After installing fix pack 1 on our 7.2 TCPping cluster, the nodes fail to start up with numerous errors. It seems that Liferay cannot create JgroupsClusterChannels and singleton_name is not recognized: ERROR...
About log rotations
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...
Why is the server now timing out users after 15 minutes instead of 30?
Issue After updating past de-68 for Liferay DXP 7.0 or past dxp-5 for Liferay DXP 7.1 users are now timing out after 15 minutes. Environment Liferay DXP 7.0 using the Tomcat application server Liferay DXP...
No portlet bag for {id=0, companyId=0, portletId=xxxxx, roles=, active=true} reported during import process
Issue When publishing from staging to live, or importing lar into a new site, the following error is reported: 11:09:48,470 ERROR [liferay/background_task-1][StagingServiceHttp:153]...
Redirection is not happening
Issue After setting the below property with the following values in portal-ext.properties, redirection to the defined domain has not happened rather its showing warning messages. #...
Workarounds for "The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes limit"
Issue Eventually, the JSP compiler might show error messages like: The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes limit Environment DXP 7.2 DXP 7.1 DXP 7.0...
Upgrading from Liferay DXP 7.1 to 7.2
This paper is a high-level overview of the effort involved in moving from Liferay DXP 7.1 to 7.2. It contains an upgrade checklist, the upgrade steps, and what to do after a successful...
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...
DXP 7.2 Service Pack 1 (SP1) - New Improvements for Data Consistency
Liferay DXP 7.2 Service Pack 1 (SP1) includes changes that further improve data consistency within the Liferay platform. Highlights: Additional Liferay services now have Multiversion Concurrency Control (MVCC) enabled...
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 search results which are greater than 10000
Issue  The total number of count displayed in pagination is 10,000 due to which the assets present after 10,000 are not searchable. For Example: If there are 12,000 users in the portal, the users above 10,000...
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...
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...
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...
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...
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...
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...
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...
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...
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,...
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 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...
Setting different landing pages on different cluster nodes upon session timeout
Issue The users have to be redirected to different pages - depending on the nodes -, when the sessions expire. A possible use case: One of the Application Servers is an admin server, thus the admins need to...
Guest User can download the attachment from Knowledge Base
Issue The guest user can download the attachments present in the Knowledge Base Article  1. Create a Knowledge Base Article add an attachment to that article.  2. Now remove all the guest permission from that article....
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...
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...
Tips for minor updates in the infrastructure (application server, database server, ...)
Issue Sometimes, there is the need to update the infrastructure (application server, database server, elasticsearch server, etc.), to benefit from security fixes, performance improvements or others. Minor...
JGroups IllegalArgumentException After Installing Fix Pack 1 on Liferay DXP 7.2
Issue After installing fix pack dxp-1-7210 with cluster.link.enabled=true the following exception is generated: Caused by: java.lang.IllegalArgumentException: JGRP000001: configuration error: the following properties...
How to restrict the JSON web services API page
Issue JSON web services API page is being exposed through the URL http://[address]:[port]/api/jsonws. Environment Liferay Portal 6.2 Resolution Liferay Portal 6.2 doesn't have any out of the box option to...
Action Button on pages are not working as expected
Issue While clicking the action button of the Public Pages the menu appears and then disappears. Environment Liferay DXP 7.1 Resolution The observed behavior is a known issue and is fixed in liferay-fix-pack-dxp-10 and...
Nested Applications portlet causes com.liferay.portal.kernel.servlet.NonSerializableObjectHandler on Weblogic
Issue When adding the Nested Applications to a page, the logs show the error com.liferay.portal.kernel.servlet.NonSerializableObjectHandler You can't add portlets to the Nested Applications Environment...
Change root context to custom context
Issue How to change the portal context from ROOT to something else? Can I append "xxx" to all the portal URL? Environment Liferay DXP 7.4 Liferay DXP 7.3 Liferay DXP 7.2 Liferay DXP 7.1 Liferay Portal 6.2 JBoss EAP 7.1 /...
How to know which of the nodes is being displayed
Issue On a cluster environment, sometimes its helpful to know in which of the nodes you are. This could be useful to check the load balanced or cluster replication issues. Environment Portal 6.2 DXP 7.0 DXP 7.1 DXP...
Work folder under Liferay Home
Issue After upgrading to Liferay DXP we noticed that a work folder is created in {Liferay_Home}, in addition to {Tomcat_Home}/work directory. Is this the normal behaviour? Environment Liferay DXP 7.0 Liferay...