Search Results

Knowledge Base 3817
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
REST Builder fails after upgrading to DXP 2024.Q1.5
Issue: We have observed that the REST Builder is failing after upgrading from DXP 2023.Q4.4 to DXP 2024.Q1.5, and the following error occurs: The liferay.workspace.docker.image.liferay property is...
'OutOfMemoryError' during PDF preview generation
Issue  Application nodes frequently crash. The following error appears in the logs: ERROR [liferay/document_library_pdf_processor-1][PDFProcessorImpl:795] java.util.concurrent.ExecutionException:...
Error when projecting a clob field in a DSL query with an Oracle database
Issue Given the following DSL query: DSLQuery testQuery = DSLQueryFactoryUtil.select(ddmfaTable.largeAttributeValue) .from(ddmfTable) .innerJoinON(ddmfaTable,...
Unable to disable Email Verification in the Control Panel Instance Settings
Issue When attempting to uncheck the "Require strangers to verify their email address?" option under Instance Settings → User Authentication and clicking Save, the setting reverts to being checked.  Environment Quarterly...
The per-virtual instance portal properties file feature has been removed
Issue The per-virtual instance portal properties file feature is deprecated. Files such as  portal-[companyId].properties will no longer be considered The JVM property -Dcompany-id-properties=true is also no longer...
WAR Deployment Issue with Java 17
Issue I'm seeing the following error when deploying a war portlet that was compiled using Java 17: ERROR [fileinstall-directory-watcher][DirectoryWatcher:988] Unable to start bundle:...
Null captcha text in a custom development using liferay-captcha taglib
Issue After adding the captcha taglib in a custom JSP, for example: <liferay-captcha:captcha url="${captchaURL}" /> CaptchaUtil.check(actionRequest) is returning an error since CAPTCHA_TEXT is null....
"Single Node (Memory Clustered)" type of jobs are not scheduled
Issue When restarting the Liferay portal, the job schedulers are not auto-scheduled in a Single Node (Memory Clustered) environment. Expected result: Next Run Date will show an actual date Actual result: Next Run...
Framework Event Dispatcher error is seen reporting missing packages when trying to connect an upgraded database to a new environment
Issue After upgrading to a Liferay Quarterly Release version and trying to connect the upgraded database to the production environment, a Framework Event Dispatcher error is seen reporting missing...
Using the "ehcache.multi.vm.config.location" property, the "java.lang.NullPointerException: Configuration Path is Null" error occured
Issue After configuring the "ehcache.multi.vm.config.location" property in portal-ext.properties, the following errors occurred. ERROR [SCR Component Actor][ROOT:47] bundle...
Error: HikariPool-1 - Failed to validate connection org.postgresql.jdbc.PgConnection@xxxxxx (This connection has been closed.). Possibly consider using a shorter maxLifetime value
Issue Facing the following error in the logs and the Liferay node became unresponsive: HikariPool-1 - Failed to validate connection org.postgresql.jdbc.PgConnection@6c009ca1 (This connection has been...
Performance issues while automatically propagating default fragments changes during deploy process
Issue Facing slowness issues when trying to add/edit a content page (other types of pages work fine). The slowness is observed when starting the portal and trying to add/edit the content page. After...
HotDeployException thrown at startup sometimes for some of our custom portlets
Issue we have a problem with our portlets. Sometimes when we restart Liferay, some portlets are failing to deploy. We do not have exact scenario. It can happen for any of our portlet during restart. Here is exception that...
Unable to start Liferay Portal with error: Current URL / generates exception: java.lang.NullPointerException
Issue I am unable to start my Liferay Portal. The following errors are present in the log.  2024-11-19 05:16:09.815 ERROR [main][BundleStartStopLogger:62] file:/opt/liferay/osgi/modules/activation.jar has a null...
Can we retrieve the list of Collections/ContentSets' names using headless API?
Issue Using Liferay's headless-delivery API, it’s not possible to retrieve Collections' (referred as ContentSets in the API) names. The user wants to retrieve the collection by its name. There is a similar feature for...
com.liferay.expando.kernel.model.ExpandoBridge cannot be found after upgrading to Quarterly Release
Issue After upgrading to Liferay Quarterly Release 2024.Q1.1, the portal logs are displaying an error related to Commerce: ERROR [SystemExecutorServiceUtil-1][ROOT:47] bundle...
In Liferay DXP 2023.q4.4, clustered environment fails to load additional nodes
Issue When using Liferay DXP 2023.q4.4 deployed in an environment, the initial node loads up without any issues, but any additional nodes result with the following traces: In JBoss EAP 7.4 Update 17: 2024-10-05...
Filtering objects by their NestedFields.
Issue Having a relationship between two objects A and B. It is possible to make queries to the /o/c/as api filtering by a field of object B as nestedField. curl -X 'GET' \...
Getting dozens of "BundleException: A bundle is already installed with the name XXX" errors on sever startup
Issue When starting the server, multiple messages similar to the following are logged, indicating failed module installations (typically after an upgrade): 2024-11-19 10:05:39.082 ERROR...
Receiving the 'Unable to parse upload request' when try to upload folder
Issue Receiving the error in the logs when trying to upload the folder using the custom module. Steps to reproduce: 1. Start the server. 2. Deploy the sample portlet for uploading the folder in the bundle. 3....
Upgrade Failed due to the Error "No User exists with the primary key..."
Issue When doing the database upgrade from 7.2 DXP-20 to Liferay DXP 7.4 QR 2024.Q3.0, the upgrade can fail with the following error: ERROR [main][UpgradeExecutor:333] Failed upgrade process for module...
Is Liferay vulnerable to CVE-2024-7254?
Issue I would like to know if Liferay is vulnerable to CVE-2024-7254. Is Liferay affected by CVE-2024-7254? This article outlines the concerns of CVE-2024-7254 vulnerability with respect to the Liferay DXP. Environment...
Error: Unable to copy from file:/opt/liferay/osgi/modules/biz.aQute.remote.agent-6.4.0.jar
Issue When starting the server, the following exception is printed in the logs: 2024-09-25 17:50:18.363 ERROR [main][ModuleReadHookImpl:88] Unable to copy from...
Unable to see the 'SEO' icon in Quarterly Release 2024.Q2
Issue According to Configuring XML Sitemaps documentation, users are unable to locate the 'SEO' icon in 2024.Q2 Environment Quarterly Release 2024.Q2 Resolution In order to see the 'SEO' icon, users need to...
jgroups WARN in the Logs When Starting the Second Node in a Two Node Cluster
Issue During restart of a node in a clustered environment, WARN logs are thrown due to jgroup jgroups receive failures are logged as warnings during cluster node startup WARN...
Certificate details of internal load balancer
Issue There are few static IPs for private S2S connectivity, over different services like webserver and database. However, for webserver whose static IP is 172.xx.xx.xx, the certificate is updated at the...
Error message: Portal property "session.timeout.auto.extend" was modularized to com.liferay.frontend.js.web as "auto-extend"
Issue When starting up Liferay DXP, the following error message is displayed in logs: ERROR [main][VerifyProperties:138] Portal property "session.timeout.auto.extend" was modularized to com.liferay.frontend.js.web as...
Log Directory for Liferay
Issue The log folder may become oversized, causing server hang-ups, so how do I configure the logging directory for Liferay? Environment Liferay DXP  7.3 Liferay DXP 7.4 Resolution The following are the steps...
Security scan detected a "Reference to Windows file path is present in HTML"
Issue Our security scan detected a "Reference to Windows file path is present in HTML" in the following URL:...
Spring Boot Client Extension fails with [invalid_token_response] An error occurred while attempting to retrieve the OAuth 2.0
Issue We have a Spring Boot extension client that interacts with the Liferay APIs and that makes the OAuth2 challenge via OAuth2AccessToken oAuth2AccessToken =...
Is it possible to use wildcards with virtual hosts?
Issue We are using Azure and we set the virtual hosts in the portal-ext.properties with virtual.hosts.valid.hosts with oursite-xxxx.region.azurecontainerapps.io We receive a blank landing page like this because the...
How to reference static assets by URL from a client extension on SaaS?
Issue I am trying to use static assets (images) from the test-theme-css client extension that I deployed. When running the project locally, I am able to do this, but on SaaS, the URL does not work. Local URL:...
Error message: Portal property "cluster.executor.debug.enabled" was renamed to "cluster.link.debug.enabled"
Issue When starting up Liferay DXP, the following error message is displayed in logs: ERROR [main][VerifyProperties:220] Portal property "cluster.executor.debug.enabled" was renamed to "cluster.link.debug.enabled"...
Unable to initialize bundle
Issue Tomcat folder is missing after running blade gw initbundle command. Steps to reproduce: 1. blade init -v dxp-7.4-u102 liferay-workspace 2. echo >> liferay-workspace/gradle.properties 3. echo...
NullPointerException when evaluating AuthLoginGroupSettingsUtil.isPromptEnabled
Issue The following error is thrown in the logs every once in a while: 2024-07-29 06:55:37.018 ERROR [http-nio-8080-exec-7][CTCollectionPreviewFilter:53] java.lang.NullPointerException...
How to resolve "From address not allowed" email errors in a Liferay SaaS environment
Issue In our SaaS environment, email notifications are failing when the "From Address" domain does not end in "@lxc.app" in our notification template for creating objects (even after adjusting the "Email Sender"...
Custom module fails to start with error "Stopping blacklisted bundle"
Issue I have deployed a custom module, but it is failing to start and does not work. The logs show this message: Stopping blacklisted bundle my-custom-portlet_1.0.0 Environment Liferay DXP 7.4 Liferay PaaS...
Redirect URL configuration does not persist after a restart
Issue We noticed that after changing the Security Mode of Redirect URL configuration from "IP" to "Domain", and subsequently restarting Liferay, the configuration was back to "IP" again. We want to ensure this...
Log4j warnings and error on startup after upgrading to Update 36
Issue After upgrading Liferay DXP 7.3 to Update 36, the following warnings and error are printed in the logs on startup: log4j:WARN Continuable parsing error 3 and column 30 log4j:WARN Document root element...
User session being logged out while using iframe
Issue The user's session is getting logged out while using the iframe. Environment Liferay DXP 2024 Q1.0 Resolution The issue is sometimes related to the web server configuration. Therefore, the below property...