Search Results

Knowledge Base 1403
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
How to run Liferay Tomcat as a Windows Service?
Issue We are currently running the tomcat from the command line, but I would like to know how to run it as a Windows service. Environment DXP 7.3+ Resolution Create a clean Tomcat Apache service to make sure it...
Configuring CXF Endpoints and Soap Extenders programmatically from 2024.q1
Issue It is created a customization SOAP extension module following the next documentation to create new endpoint. The component has inside in folder resources → configuration next files:...
How to get Javadocs for Quarterly Release or DXP Updates?
Issue Require Javadocs, let's say for DXP 2025.Q2 Environment Liferay DXP [any update/Quarterly Release] Resolution Liferay has Javadocs at Learn (see here). This stores the latest Javadocs. If you are looking for...
Is it Possible to Access the Entire Document Hierarchy Page with API?
Issue How to access the entire document hierarchy page using API? Environment All environments Resolution By default, the GET Documents call in the Liferay API restricts access to the root page, preventing...
How to print a query string with parameter values
Issue When the property hibernate.show_sql=true is set, the SQL statements executed are shown in the system log, but with bind variables. For example: Hibernate: SELECT COUNT(*) AS col_0_0_ FROM BlogsEntry...
How to change Liferay Private default friendly URL
Issue I would like to know how to change the Private default friendly URL from "/group" to "/private" on Liferay DXP bundled with Tomcat. Environment Liferay DXP 7.3 Tomcat 9.0 Resolution Add the following property...
Custom login page instead of default sign-in portlet
Issue Need to have a custom login page instead of a default sign-in portlet when a user tries to access a private page without being logged in. The private and public pages are not having Guest user’s VIEW...
How to write some logs to a different log file
Issue We would like to move a trace from the main log file to a separate log file. Environment DXP 7.3+ Quarterly Release Resolution We can use a portal-log4j-ext.xml file to to add a new appender where we...
How to disable NetVibes and Google Gadget in widget's sharing options
Issue Netvibes and Google Gadget widget sharing options could reveal some information. Is it possible to disable them? Environment Liferay DXP 7.2 Resolution The url of those servlets are managed by this...
Need to clone a Production environment to a lower one
Issue We had some issues upgrading our Production environment about a year ago and had to roll it back. Our Non Production and Pre-production environments remained on the newer version of Liferay (at the time) and we...
com.liferay.petra.content.ContentUtil is not available in Liferay DXP
Issue After upgrading Liferay DXP 7.3 to DXP 7.4, the below class is not available in DXP 7.4 but was present in DXP 7.3. Is there any alternative for this? com.liferay.petra.content.ContentUtil Environment...
After upgrading 7.4, a new Tunnel Authentication entry is created
Issue After upgrading to 7.4 from previous versions or Updates, there is a new /api/liferay/do entry in Tunnel Authentication configuration (Control Panel > System Settings > API authentication > Tunnel...
How to modify web content by editing database field
Issue On 7.4 there is no content field on JournalArticle table, so you can't search here this content or modify it quickly. Environment DXP 7.4 Resolution Knowing that on DXP 7.4 content field was removed...
Change the trace level for code_jsp
Issue How to change the trace level for the following 'WARN', code-404: WARN  [default task-2629][code_jsp:154] {code="404", msg="Not Found", uri=/code.png Environment Liferay DXP 7.3 Resolution The user can...
Which folders can be cleared in the Tomcat bundle while restarting Liferay?
Issue which folders can be cleared in the Tomcat bundle before restarting Liferay? Environment Liferay DXP 7.0 - 7.4 Resolution The following folders can be cleared: osgi/state {Liferay_home}/work {tomcat_home}/temp...
Calling OSGI Service in fragments
Issue Is there an option/API available to call OSGI Services directly in fragments like it's possible using serviceUtil and staticUtil? Environment DXP 7.4 Resolution Yes, you can obtain this by...
Template to be part of VCS
Issue We are using Github as VCS for our modules and themes code. Structure and Template changes are done manually on the server and they are moved to next server either by export-import or we have to again make the...
How to add Sample Data to Liferay DXP?
Issue While this might be a simple thing to do, the way to do this may be unknown to most Liferay users. Environment Liferay DXP Resolution Whenever you're first setting up your Liferay DXP server, you'll...
Remove "Danger" alert for users when session times out
Issue In Liferay portal, when the session is inactive, the users are seeing "Danger: Due to inactivity your session timed out." Environment Liferay DXP 7.0+ Resolution It is possible to disable the notification, by...
Update database indexes
Issue You might face a requirement where you need to update your database indexes, such as during an upgrade process or a database migration process Environment Liferay DXP 7.0+ Resolution Up until Liferay DXP 7.3:...
How to override Liferay logs configuration
Issue How to override Liferay logs default configuration. Environment Liferay DXP 7.4 Resolution Liferay logs default configuration is defined in WEB-INF/shielded-container-lib/portal-impl.jar inside the file...
I want to disable Basic Auth for JSONWS
Issue I want to disable Basic Auth for JSONWS (JSON web services) in Liferay so that only OAuth is used for a specific jsonws method (i.e. expandovalue) Environment DXP 7.4 Resolution Basic Auth can be entirely disabled,...
The Chat Provider I want to use is not in the list of available Chat Providers
Issue I would like to enable Click To Chat in our Liferay instance. I have checked the documentation: Enabling Automated Live Chat Systems The Chat Provider I want is not in the supported list: Getting The Chat...
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?  ...
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...
Deploy Liferay DXP 7.3 as a Windows Service in a Liferay Bundle
Issue How to deploy a Liferay DXP 7.3 bundle as a Windows Service Environment Windows OS Resolution  Download from Apache Tomcat windows binaries. Copy the missing files from the bin folder in the downloaded...
How to interpretate order in event actions like logout.events.post
Issue Imposing an order to event actions that can be defined either in portal-ext.properties or as an OSGi component (using key property) is somehow tricky. Environment Configuring an event action that needs to...
How can jQuery be enabled by default without using the Control Panel?
, knowledgeArticleType: howTo, legacy: true, name: How can jQuery be enabled by default without using the Control Panel?, showDisclaimerMessage: true, sourceTeam: Support, ticketNumber: 67486, title:...
Log level of jsonwebservice
Please be aware that the page you are viewing has been machine translated from Japanese into English and may contain some translation errors. If you observe any issues with the translation, please contact us. event...
User wants to setup a scheduler job, but only with one specific node within the cluster.
Issue User wants a scheduler job to run on only one specific node of the cluster. Environment Liferay DXP 7.1 Liferay DXP 7.2 Liferay DXP 7.3 Liferay DXP 7.4 Resolution A cron job can be disabled in a certain node...
Audit logs for site page deletion
Issue Need to get audit logs for site page deletion/ update. Environment Liferay DXP 7.0 Liferay DXP 7.1 Liferay DXP 7.2 Liferay DXP 7.3 Resolution There are no OOTB configuration available for getting the Audit...
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...
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...
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...
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 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...
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...