Search Results

Knowledge Base 1394
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
'users.reminder.queries.enabled' portal property can be configurable from the UI on a per-instance basis
Issue Until now, the property 'users.reminder.queries.enabled' has been set to true or false per instance. However, after version DXP 7.3, the user is no longer able to do so (as the per-instance property file mechanism does not work anymore) Environment Liferay DXP 7.3 Resolution Using...
User should be re-directed to the custom page once the session expires
Issue Once the session expires, users should redirect to the custom page Environment Liferay DXP 7.0 Liferay DXP 7.1 Liferay DXP 7.2 Liferay DXP 7.3 Liferay DXP 7.4 Resolution To redirect the user to any page on session expire, the below session timeout redirect property should be set to...
Establish an external data source using JDBC
Issue This article outlines how to set up a connection between Liferay and an external database using JDBC properties. Environment Liferay DXP 7.3 Liferay DXP 7.4 MySQL database Resolution There are two ways to connect Service Builder to an external database in Liferay:...
How to include the gradle dependency of a module into another module project?
Issue How to include the Gradle dependency of a module (Workspace A) into another module (Workspace B) project? Environment Liferay DXP 7.2 Resolution Please Note: Please choose to follow your appropriate discretion in the use of this information as these are not documented by Liferay....
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 Widget for all pages. Enabling the same in all pages(Site Administration -> Site...
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 to the subfolder names in osgi/state/org.eclipse.osgi . To see all the bundle...
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 file, but don't know how to do it in a Cloud environment. Environment Liferay PaaS...
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 are deleted, but they are not regenerated until the thumbnail is...
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 is not allowed" and seemingly unrelated symptoms By using these...
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 are two auxiliary methods available in the JSON WS API than can be...
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 file with the desired number of Sites listed:     #     # Set the maximum...
How to enable Hibernate query parameters logging
Issue Sometimes it can be useful to check which query is executed against the database as well as its parameters. Resolution To show the information in the logs the following has to be done: From Control Panel add the following category to ALL: org.hibernate.SQL From Control Panel add...
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 Liferay DXP, the Liferay Home folder contains the JBoss server folder as...
Adding custom preferences to Spring MVC Portlet
Issue We've create a new Spring MVC Portlet and we'd like to configure it with some custom portlet preference. How can we do it? Environment Liferay DXP Resolution Once you've created your Spring MVC Portlet you need to follow below steps in order to add some custom preferences to it:...
User is required to change their password when they first log in
Issue  User is required to change their password when they first log in Environment DXP 7.2+ Resolution Add the below properties in portal-ext. properties files: users.reminder.queries.custom.question.enabled=false passwords.default.policy.change.required=false...
Configure default database if the one defined in jndi is not available
Issue When the database is configured through the portal property: jdbc.default.jndi.name (and its properties defined in ROOT.xml) and it is, for some reason, not available when the portal starts, the default database is loaded (HSQL) and hence the default home page is shown (the one...
How to disable simultaneous login from multiple sessions
Issue How to disable users to simultaneously login to Liferay DXP using multiple different sessions. Environment Liferay DXP 7.0 Liferay DXP 7.1 Liferay DXP 7.2 Liferay DXP 7.3  Resolution Please add the following properties to your portal-ext.properties file: live.users.enabled=true...
How to generate multiple Java Thread Dumps in Linux and Windows
Issue In case of a throughput issue, the Liferay support service usually asks to take some java thread dumps from the Liferay server, in an interval of 1-2 seconds. Taking several thread dumps, allows you to detect if a Java thread is stuck or taking too long to complete. How can I...
How to execute verify.frequency in Liferay DXP 7.3
Issue The property verify.frequency was deprecated in Liferay DXP 7.3. Environment Liferay DXP 7.3. Resolution To check for available verify processes, go to Control Panel > System > Gogo shell and enter the command verify:list. To run a verify process, enter:...
Logs rotation based on size
Issue How to implement the log rotation for Liferay logs based on the size Environment Liferay Portal 6.2 Liferay DXP 7.0 Resolution The logs can be rotated based on the size and it can be achieved through a very slight change in portal-log4j.xml. This file can be found...

Showing 1,181 to 1,200 of 1,393 entries.