Search Results

Knowledge Base 1413
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
How to Have the Deploy Folder in the initcontainer Persist to be Available to the Container
Issue Is there a way for the deploy folder created in the initcontainer to persist and be available to the container? Environment DXP 7.4 Resolution A potential solution would be to use a shared volume between the...
How to configure asynchronous logging in Liferay
Issue How can I configure Log4j to use asynchronous logging in Liferay? Environment DXP 7.2 DXP 7.3 DXP 7.4 Quarterly Releases Resolution DXP 7.2 and DXP 7.3 NOTE: The following resolution requires customization...
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...
Set up the Apache web server and connect it to Tomcat-based Liferay using mod_jk
Issue How can we install an apache web server and connect the same with the application server over a Linux-based operating system? Environment Liferay DXP 7.4 Resolution The following are the steps that...
Where can I extract the tcp.xml file in Quarterly Releases?
Issue Prior to Quarterly Releases, thetcp.xml file could be extracted from $LIFERAY.HOME/osgi/marketplace/Liferay Foundation-Liferay Portal-Impl.lpkg/com . liferay . portal . cluster . multiple - [version]. jar/lib /...
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...
How can I tell if a portlet is being used?
Issue I would like to know if a portlet is being used or not in my Liferay instance Our Liferay instance has many virtual hosts, each virtual host has many sites, each site with many pages We cannot do the check manually...
Configure Custom 404 error Page on WebLogic Server
Issue How to redirect users to a Custom Page for Error Code 404 when Liferay DXP is deployed on the WebLogic Server? Environment Liferay DXP 7.4 Resolution Create a 404 Custom Error page (e.g mypage.html)...
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...
Upgrade Liferay From 7.4 to Quarterly Release
Issue Please provide details on how we can upgrade from 7.4 Update 20 to Quarterly Release 2023.Q3.2. Environment Liferay 7.4 Update 20, Liferay 2023.Q3.2 Resolution Replace the content in...
Can I change a single configuration value with the help of a .config file?
Issue I would like to change just a single configuration value with the help of a .config file. I would like to know if it is possible to enter this single value in my .config file or whether the file has to contain...
Which Liferay version should I use in gradle.properties for the 2023.Q3 Quarterly Release?
Issue Which version do I need to use for the liferay.workspace.product= property in gradle.properties for Liferay Workspace? Environment Liferay Workspace Liferay DXP 2023.Q3 Resolution As of Oct. 20, for...
Enabling agent and adding packages in Bootdelegation properties to monitor Liferay application
Issue Enable Java agent (AppDynamics) on Liferay for monitoring the Liferay application. Required to add the packages from the agent to the...
Deploying DXP 7.4 on JBoss EAP 7.4.0
Issue This article outlined the detailed steps to deploy Liferay DXP 7.4 on JBoss EAP. Environment Liferay DXP 7.4 JBoss EAP 7.4.0 Resolution JBoss_Home/Liferay_Home contains jboss-eap-7.4 folder which is shown below...
Configure New Relic 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). Note: New Relic is a third party monitoring tool, use this...
GZIP filter disabled by default
Issue GZIP filter is not enabled after upgrading from DXP 7.0. Environment DXP 7.0, 7.1, 7.2, 7.3, 7.4 Resolution This functionality has been disabled due to the potential security risk over HTTPS. ...
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...
Manually Installing Liferay Connector to SAML 2.0
Issue We need to manually install and/or update the Liferay Connector to SAML 2.0. This is primarily done for security reasons, such as a Liferay bundle being firewalled off the internet.  Environment DXP 7.3...
The custom scheduler is not working after upgrading from 7.4 U62 to U90
Issue We have written a scheduler which works perfectly in 7.4 U62, but when we updated our bundle to 7.4 U90, it is not working.    Environment Liferay DXP 7.4   Resolution Due to the changes by LPS-176754, please adapt...
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...
SchedulerEngineHelper changes
Issue The register() and unregister() methods have been removed from SchedulerEngineHelper therefore you might encounter some issues in your code after you upgrade to a recent version Environment Liferay DXP 7.4...
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...
How to trigger test emails from Liferay?
Issue We have configured our SMTP in Liferay. We would like to test if emails are sent and received. How can we trigger a test email from Liferay?   Environment Liferay DXP 7.4   Resolution You can use the attached...
How to check jar versions of certain marketplace apps
Issue You might use our OOTB jars to build your modules and for that reason you wish to know the version before an upgrade process, for example Environment Liferay DXP 7.0+ Resolution Navigate to...
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 can I invoke Liferay Objects REST APIs from a backend OSGI module?
Issue We are implementing a backend OSGI module, where we have to call the Liferay Objects API. We have noticed that the only available API of this functionality is the REST API / GraphQL API explained here:...
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...