Search Results

Knowledge Base 1398
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
How to clear only a specific OSGi module directory from osgi/state/
Issue Is it possible to clear only the data from a specific module in osgi/state/ instead of clearing the whole directory? Environment Liferay DXP 7.0+ Resolution Imagine we want to clear the data of module...
Liferay related fields that can be added in Jboss access log
Issue How to add the access-log pattern that includes Liferay related fields in the access log? Environment JBoss 6.x JBoss 7.x Liferay DXP Resolution To enable the access logs, you may follow the...
'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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
In a thread dump there are many blocked threads inside InitFilter class
Issue When I analyze a thread dump there are multiple threads in BLOCKED status with stacktraces such as this: "http-nio-8080-exec-129" Id=325 BLOCKED on...
How to enable web content and user logs in server console?
Issue In this article, we'll know how to display logs of web content and user creation in the server console. Environment Liferay DXP 7.1 Resolution For Web Content logs: Navigate to Control Panel→ Server...
Setting up Microsoft Server AD with Liferay
Issue This article provides you detailed steps to set up and configure Microsoft Server AD to Liferay. Environment Liferay DXP 7.1 Resolution Changing Computer Name: Control Panel → System and Security → System...
Approaching database support
Issue Approaching database support issues in the Liferay. Environment Liferay DXP 7.0 Resolution There are two ways to set up database connections in the portal-ext.properties file. If both JDBC properties and JNDI...
Stopping scheduled tasks in Liferay
Issue I would like to stop the out-of-the-box scheduled tasks in Liferay. Environment Liferay Portal Liferay DXP Resolution Most of the scheduled tasks included in Liferay can be found by searching for .check in the list...