Search Results

Knowledge Base 1404
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:...