Search Results

Knowledge Base 3693
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
Can I use per-instance portal-[companyId].properties files in my enviroment?
Issue You would like to have a per-instance properties file after adding -Dcompany-id-properties=true in setenv or system-ext properties. While infrequent, a StackOverflowError can be reproduced and potentially flooding the log file: ... at...
Upgrade to 2024.Q4.5/6 fails with "Unable to upgrade com.liferay.object.service to 10.2.0 from 10.0.0"
Issue I am trying to upgrade to 2024.Q4.5 or 2024.Q4.6. The upgrade fails with the following error: 2025-02-03 15:56:10.160 ERROR [main][UpgradeExecutor:333] Failed upgrade process for module com.liferay.object.service java.lang.IllegalStateException: Unable to upgrade...
Resolving ClassNotFound Exceptions in JSPs and TLDs
Issue A ClassNotFound exception occurs when referencing classes from JSPs or TLDs, even when using a wildcard (*) in the import-package header of liferay-plugin-package.properties. Example error message: Unable to dispatch request: The class com.example.package.Class specified in the...
Seeing "A JSON web service action is already registered at" WARN messages after upgrading Liferay
Issue After upgrading Liferay, I'm seeing the following WARN message repeatedly in the logs: WARN [main][JSONWebServiceActionsManagerImpl:590] A JSON web service action is already registered at ... Environment Quarterly Release Resolution These WARN messages are often caused by...
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_'. com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name...
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 error message is displayed in the browser console: Uncaught SyntaxError:...
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: com.liferay.portal.osgi.web.servlet.jsp.compiler; resolution:="optional"_ 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 following errors appear in the logs. 2024-06-25 12:02:56.631 ERROR...
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 Library, Vocabulary (internal), Category, Folder, and Web Contents 2. Assign the...
'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: a66dab4b-cb78-460e-aa7f-8ea2748a79be][Framework:47] FrameworkEvent ERROR...
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 check all of your environment's PROPERTIES files to ensure that...
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 com.liferay.dynamic.data.mapping.service com.liferay.portal.kernel.upgrade.UpgradeException:...
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 allowed origins configured in Liferay. If the issue persists even after...
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 Resolution Try with the attached updated Groovy scripts. If the issue persists, please...
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 settings only handle site-level redirections and do not support redirection for...
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 method is used to obtain the layoutIds: List<Long> layoutIds =...
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 This behavior is expected when not all cluster nodes have been accessed through a web...
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 in a fragment This extra space is visible in both the displayed...
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 found error on the UI. Steps to reproduce: 1. Start Liferay DXP 7.4 U90. 2....
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 characters E2 80 8B related to the character ZERO WIDTH SPACE interpreted by a...
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 After adding the following dependencies to the build.gradle file of a...
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 object entry json, with no messages in the logs and no ImportTask ID...
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 Media and add a video. 2. Copy the path of the video. 3. Now create a fragment 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] Unable to uninstall org.eclipse.osgi_3.13.0.LIFERAY-PATCHED-19 [0]...
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 LayoutBranch.LayoutBranchId has different type than LONG not null Here...
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 company.security.strangers.verify to false Additional Information LPD-40015    ,...
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 currently overriding the default value managed by the liferay.workspace.product setting....
'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: com.liferay.petra.process.ProcessException: java.lang.OutOfMemoryError:Java heap space...
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, ddmfaTable.fieldId.eq(ddmfTable.fieldId).and(ddmfaTable.storageId.eq(ddmfTable.storageId)))...
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 Release Resolution This is a known issue that has been resolved...
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 used and may cause conflicts in certain circumstances, particularly when...
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. Environment DXP 7.3, 7.4 Quarterly Releases Resolution This issue is normally fixed by...
"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 Date is shown as "Not Scheduled" Environment Liferay DXP 2024.Q1.1...
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 packages. ERROR [Framework Event Dispatcher: Equinox Container:...
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 com.liferay.portal.cache.ehcache.impl:4.0.33...
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 closed.). Possibly consider using a shorter maxLifetime value. Environment Liferay DXP...
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 clicking on the edit button, the page keeps loading for around 30 minutes and a white...
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 we can see in logs:...

Showing 2,841 to 2,880 of 3,692 entries.