Search Results

Knowledge Base 3817
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
Database Upgrade Fails with "Invalid object name 'Configuration_'"
Issue When running the upgrade, we see the following error: 2025-03-05 07:05:33.290 ERROR [Apache Felix Configurator Worker Thread][LogService:47] Error processing taskInvalid object name 'Configuration_'....
SCIM Token Generation Fails with JavaScript Error in French Language
Issue When Liferay’s interface language is set to French, clicking the Generate button to create a SCIM access token results in a JavaScript error, preventing the token generation popup from opening. The following...
During portlet WAR deployment getting unresolved requirement errors
Issue When deploying a spring portlet WAR using JDK 17 or JDK 21, the following deployment error appears in the Liferay logs: Unresolved requirement: Import-Package:...
[PortletServlet:109] Unable to process portlet com_liferay_dispatch_web_internal_portlet_DispatchPortlet: java.lang.reflect.UndeclaredThrowableException
Issue Navigate to Control Panel > Configuration > Job Scheduler > Scheduled Jobs, and after clicking the "Run Now" button, it redirects back to the "Job Scheduler Triggers" page instead of executing the job. The...
Not able to get results for internal categories when fetching via APIs
Issue Not getting similar results from Headless APIs when filtering content by internal categories. However, everything works fine with Public categories. The following are the steps: 1. Create an Asset...
'Unresolved Requirement' error for a custom module post upgrading DXP 7.4 from U24 to U92
Issue Receiving the 'Unresolved Requirement' error below for a custom module post upgrading DXP 7.4 from u24 to u92: ERROR [Framework Event Dispatcher: Equinox Container:...
Property "redirect.url.security.mode" has invalid value: domain,domain
Issue After setting the property redirect.url.security.mode=domain we are now seeing WARN messages such as Property "redirect.url.security.mode" has invalid value: domain,domain Environment Liferay DXP Resolution Please...
Upgrading Liferay fails with "Data too long for column 'smallAttributeValue'"
Issue I am trying to upgrade Liferay to 2024.Q3 or 2024.Q4 The upgrade fails with the following error: 2024-12-17 14:45:21.409 ERROR [main][UpgradeExecutor:333] Failed upgrade process for module...
URL scheme must be "http" or "https" for CORS request
Issue CORS errors "Failed to fetch" when accessing headless APIs through the API Explorer. Environment Liferay DXP 7.4  Resolution CORS issues arise from mismatches between the origin of the API request and the...
Groovy Scripts not working on Partner Portal
Issue While filling out the upgrade request form on Partner Portal, the groovy scripts 'ee_6_2-all.groovy' and 'PrintDatabaseInfo_DXP_Modified.groovy' are not working. Environment Liferay Portal 6.2...
URL redirection between sites in Liferay DXP 7.4
Issue After migrating from Liferay DXP 7.3 to DXP 7.4, URL redirection rules defined in rewriteurl.xml (no longer supported in 7.4) and through .config files stopped working. Liferay’s built-in redirection...
JournalContentSearchLocalServiceUtil.getLayoutIds returns an empty list
Issue When trying to retrieve the pages where a web content article is displayed using its articleId, an empty list is returned. After instantiating a web content in a Content Viewer, the following...
Null Values for PortalInetSocketAddress and PortalProtocol for Cluster Nodes
Issue When running a Groovy script to check cluster formation, the output shows "null" for PortalInetSocketAddress and PortalProtocol for some nodes. Environment DXP 7.4 Quarterly Releases Resolution...
Unwanted spaces appearing after HTML tags in translated text
Issue When using HTML tags like <strong>, <b>, <h1>, <span>, and <i> within internationalized text in the Language Override functionality, an unnecessary space is generated after the closing tag when the text is rendered...
ERR_CONTENT_DECODING_FAILED
Issue When the user is accessing their DMS application, sometimes they encounter the below error in the browser console: Error : Failed to load resource: net::ERR_CONTENT_DECODING_FAILED....
Receiving resource not found error when creating commerce product through headless API
Issue When creating a product using headless API. After creating it, the product status shows 'Approved'; however, when searching for the product or clicking the product to open it, that shows the resource not...
String ¿¿¿¿¿¿ is displayed in several Web Contents after upgrading
Issue After upgrading, some Web Contents are displayed with the string ¿¿¿¿¿¿¿. Environment Quarterly Releases: 2023.Q3, 2023.Q4, 2024.Q1, 2024.Q2, 2024.Q3 Resolution The string ¿¿¿¿¿¿ is codification of the...
Liferay REST Module Failing After Adding JJWT Dependencies
NOTE: The following resolution requires customization and should only be implemented at the discretion of your team. Liferay Support will not be able to assist with designing or implementing customizations. Issue...
Client Extension Batch Not Inserting Object Entries
Issue We have a batch client extension to deploy List Definitions and Object Definitions, and we tried to use the same batch CX to insert object entries for an object definition. However, the batch seems to ignore the...
Video loads multiple times on page refresh/ page navigation
Issue When a video is added to the page and the page is refreshed, the video gets loaded multiple times which is ultimately impacting the performance of the page. Steps to reproduce: 1. Go to Documents and...
ERROR [SystemExecutorServiceUtil-5][BundleBlacklist:198] Unable to uninstall org.eclipse.osgi
Issue After restarting the server, the system shuts down and displays a 503 error. The following error appears in the logs: 2024-11-29 22:12:03.912 ERROR [SystemExecutorServiceUtil-5][BundleBlacklist:198]...
Database Upgrade from Liferay 6.2 to DXP 2024.Q4 Fails on Oracle 19
Issue When upgrading from Liferay 6.2 to DXP 2024.Q4 quarterly release using the `db_upgrade_client.sh` script, the process fails with the following error: Type change is not allowed when altering column name. Column...
When a virtual instance is created via a headless API, the admin user's email address changes
Issue When a virtual instance is created via a headless API, the admin user's email address changes. Environment 2024.q2.2 Resolution Update to 2024.q3+ or implement a portal property as a workaround: Set...
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...