Search Results

ナレッジベース 1403
ソート
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
Client extensions for different business needs
Issue How we can leverage client extensions? Environment Liferay DXP Quarterly releases Resolution As of 2024.Q4 Liferay CLI tool and Liferay Themes Toolkit are deprecated. Instead, a new approach is available....
How to handle Google Fonts locally
Issue For private environments with no access to the internet, we need to handle fonts locally. Environment Liferay DXP Quarterly releases Resolution The recommended way to handle custom fonts (especially in private,...
JavaScript code in Link to URL page gets executed
Issue When creating a new public page of type "Link to URL" and using JavaScript code as the URL, the code gets executed when accessing the page. Environment Liferay DXP 2025.Q1 and prior Quarterly Releases Resolution...
After Upgrading to 2024.Q1 User Public Pages Return 404 Error if Accessed via PlId
Issue After upgrading from Liferay DXP 7.4 u48 to 2024.Q1, user public pages with guest permissions return a 404 error, except for the page owner. The portal administrator also cannot access these pages. Environment...
Step-by-Step SAML Integration with Liferay and Keycloak
Issue Is Keycloak supported with Liferay? If yes, how can SAML be configured with Liferay? Environment Lifeary DXP [All versions] Resolution As per Liferay’s official compatibility matrix, Keycloak is not listed as a...
Unable to use /-/ for redirection rules.
Issue When I use 2024.q3.13 I'm unable to use /-/ for redirection. I receive an error. Steps to reproduce: Start a clean bundle of Liferay DXP 7.4 QR 2024.Q3.13 Go to Configuration -> Redirection and add a new...
How to Enable Audio for CAPTCHA
Issue How can users enable audio for CAPTCHA verification? Environment Liferay DXP 7.4 and above Resolution Liferay does not provide out-of-the-box (OOTB) support for audio CAPTCHA functionality. However, users...
Re-enabling Basic Authentication when Unable to Access the DXP Control Panel
Issue My Basic Authentication was disabled at the Instance Level, and now I am unable to access the DXP Portal because of it. How do I re-enable Basic Authentication without logging in?   Environment Quarterly...
Make certain pages accessible to specific IPs only
Issue How to make certain pages to be accessible only via specific IPs. Environment Liferay DXP [all versions] Resolution In order to allow certain pages to be accessible via specific IPs, users can perform...
How to perform some actions when an OSGi module is started/stopped
Issue I would like to perform some actions when my OSGi module is started/stopped. How can I achieve that? Environment Liferay DXP 7.0+ Resolution NOTE: The following resolution requires customization and should only...
Alternative to using the Registry API in Liferay DXP 7.4
Issue Upgrading from Liferay DXP 7.3 to 7.4 can found issues with a custom module that overrides jsp files and uses the Core Registry API...
Deploy Liferay DXP 7.4 as a Service
Issue How do you deploy Liferay as a service in Linux? Environment Liferay DXP 7.4 Quarterly Release Prerequisites Need Root user level. Resolution Create liferay.service file as root user in...
How to setup custom error page in Nginx webserver
Issue NOTE: Liferay Support does not recommend or endorse specific third-party products over others. The information provided about products not created by Liferay is for reference purposes only, and any...
Liferay logs Timezone
Issue How do change the timezone displayed in the Liferay log files without changing the JVM time zone? Environment Liferay DXP 7.4 [All updates] Liferay Quarterly Release Resolution Get a copy of...
How to implement Bar Chart in DXP?
Issue How to display dynamic data on bar and graph charts in Liferay DXP? Environment Liferay DXP 7.4 Resolution NOTE: The following resolution requires customization and should only be implemented at the...
Obsolete "dl.file.indexing.interval" Portal Property
Issue Migrating from Liferay 7.3 to 7.4, I noticed that the dl.file.indexing.interval property no longer works in 7.4. This is the error I'm getting: ERROR [main][VerifyProperties:172] Portal property...
How to determine the master node?
Issue I am running a clustered environment, and I would like to know whether the node I am currently on is the master node. Environment DXP 7.0+ Resolution Liferay doesn't have a fixed “master” node in the...
Accessing the virtual instance over another machine without using the internet
Issue How to access the virtual instance (of Liferay Server running on Machine A) over Machine B without using the internet? Environment Liferay DXP 7.4 Resolution First, check the domain configured for...
ConfigurationBeanDeclaration related errors
Issue While upgrading from 7.3 to 2024.Q1, we receive errors regarding ConfigurationBeanDeclaration. Environment The information in this article is relevant if you have any implementations with...
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...
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...