Search Results

Knowledge Base 3817
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
Error after installing Liferay Reports App
Issue After installing the Reports App in Marketplace, the bundle starts with the following errors in the logs and the Reports App is not available. 2023-12-22 12:03:06.499 ERROR [Framework Event Dispatcher: Equinox...
Segments API taking more time
Issue When there are around 230 user segments, it displays content based on the segment when the user logs in. Since there are more segments, the segment API takes more time to get the user segment. long[]...
Theme style is not minified
Issue While building themes, user has noticed that theme's style files are not being minified. Environment Liferay DXP 7.4 Resolution Please change NODE_ENV=production by using the environment variable as per your...
Cannot sign in to marketplace
Issue Steps to reproduce: Go to Control Panel > Marketplace Store Click the Sign In button Expected Behavior: Can sign in to the marketplace Observed Behavior: Clicking the Sign In button doesn’t do anything....
ServletException during Liferay startup caused by a NullPointerException
Issue You might encounter an issue where you face an error when starting up Liferay which prevents proper functioning: javax.servlet.ServletException: java.lang.NullPointerException at...
LPS-200065 is in the 2023.Q4.1 Quarterly release notes but is missing from the bundle
Issue LPS-200065 was included in the DXP 7.4 2023.Q4.1 release notes, but it was missing from the bundle Environment Liferay DXP 7.4 2023.Q4.1 bundles and docker images Resolution LPS-200065 has been included in the...
com.liferay.portal.servlet.filters.i18n.I18nFilter has been removed. What do I need to do?
Issue During startup (or upgrade) we see this error in the logs ERROR [main][VerifyProperties:163] Portal property "com.liferay.portal.servlet.filters.i18n.I18nFilter" is obsolete Why was this removed, and what do we need...
Errors calling an external SOAP web service related to javax.xml.ws.spi.Provider or com.sun.xml.ws.spi.ProviderImpl after upgrading to Java 11
Issue We have developed a custom login pre-action module where we want to call an external SOAP web service, this module was working on older Liferay versions. After upgrading to Java 11, if we try calling this external...
Service builder does not generate correct class package
Issue Service Builder does not generate the correct class package when both "com" and "org" are included in the package path. Steps to Reproduce: 1. Create a service.xml with package-path com.liferay.org and a...
How to rollback to a previous version of Liferay?
Issue We would like for some guidance on how to revert Liferay 7.3 to 7.1. Environment DXP 7.0+ Resolution If you have a backup copy of your 7.1 database and instance, you should be able to redeploy the pre-upgrade...
Suppressing an InvalidHost Warning
Issue Is it possible to suppress InvalidHost warnings that are similar to the following: 2023-12-18 18:15:55.485 WARN  [https-jsse-nio-8443-exec-5][code_jsp:161] {code="500", msg="", uri=/} java.lang.RuntimeException: Invalid...
"Constraint Violation in UpgradeListTypeType" error in upgrade
Issue When attempting to upgrade, it has been observed an error when transitioning from a bundle prior to U100 to a bundle between U100 and U103. Any attempt to upgrade beyond U103 results in a failure with the...
Environment becomes unstable after number of file descriptors has steadily increased
Issue A Liferay environment with a frontal element has become unstable after running for a few days. Checking the system's health, there has been a steady increase of open file descriptors. Environment Liferay DXP...
Is it possible to separate Liferay module jars and custom jars in osgi/modules directory in the Quarterly Release
Issue After upgrading to Quarterly Release 2023.Q3, Liferay modules are now stored in osgi/modules directory. Is it possible to separate Liferay module jars and custom jars in osgi/modules directory in the Quarterly Release?...
Cache is not alive (STATUS_SHUTDOWN) errors
Issue I see Cache is not alive (STATUS_SHUTDOWN) errors in the logs of my clustered environment. I have modules that override com.liferay.portal.kernel.dao.orm.EntityCache.com.liferay.portal.model.impl.GroupImpl...
BatchUpdateException when upgrading to Liferay Quarterly Release with SQL Server
Issue We have received a recent report where a BatchUpdateException was identified while upgrading from an earlier Liferay DXP 7.4 update to Liferay Quarterly Release while using SQL Server You may see an error such as the...
JBoss Datasource Error Causing Production Outages
Issue We had two production outages today and observed the following error: ERROR [liferay/search_writer/SYSTEM_ENGINE-7][ElasticsearchIndexWriter:143] java.lang.IllegalStateException: Future got interrupted Caused by:...
Audit OSGi Dependency Error Post Upgrade
Issue We are observing the below error after upgrading: WARN  [main][DependencyManagerSyncUtil:73] Declarative Service Unsatisfied Component Checker check result: _Bundle {id: 148, name:...
PortalUtil.getPortalURL() is returning http response
Issue While trying to fetch some data using PortalUtil.getPortalURL(httpServletRequest) method, it returns http response even on a SSL enabled website. Environment Liferay DXP 7.3 Liferay DXP 7.4 Resolution There...
Upgrade to 7.4 Error - DDMFormFieldValue
Issue When attempting to upgrade to DXP 7.4, users encounter the following error: WARN [main][DDMFieldUpgradeProcess:616] null java.lang.NullPointerException: null at...
Context initialization failed errors on deploying custom layout template
Issue Cannot deploy custom layout template to the portal Steps to reproduce: Startup Deploy the attached custom layout template Expected Behavior: It should be deployed successfully. Observed Behavior: The...
Cannot start a cluster with java.lang.IllegalAccessException: class javax.naming.spi.NamingManager
Issue After configuring the cluster using DNS_PING we obtain below stacktrace and the cluster doesn't start: com.liferay.portal.kernel.exception.SystemException: Unable to create JGroupsClusterChannel at...
ORA-01795: maximum number of expressions in a list is 1000_ [Sanitized]
Issue After performing an upgrade between DXP versions and using an Oracle database, the following errors are observed: ERROR [main][UpgradeStepRegistratorTracker:185] Failed upgrade process for module...
Custom fragments containing drop-zone not getting duplicate properly
Issue Not able to duplicate the custom fragments containing dropzone. Steps to reproduce: 1. Start Liferay DXP 7.4. (Between update 60 and 2023.Q3.2 Quarterly Release) 2. Import the custom fragments.zip...
GraphQL multipart requests in DXP 7.4
Issue Trying to upload image to DXP 7.4 via GraphQL API (createDocumentFolderDocument method). This approach seems not be valid after DXP 7.2:...
We cannot see Global Widget Templates when logged in as Site Administrator
Issue We are Site administrators and when trying to configure some components, as Language Selector, we cannot select some default widget templates that belongs to the module. Environment Liferay DXP 7.4...
Resolving ORA-01450
Issue When starting a Liferay instance connected to an Oracle Database, the following error is encountered and Liferay does not start : Caused by: com.liferay.portal.kernel.log.LogSanitizerException: Error : 1450, Positi...
The Error "org.hibernate.HibernateException: Unable to determine Dialect to use" Occurs When Connecting to MariaDB Server
Issue The server cannot start up due to the following error Liferay log: ERROR [ServerService Thread Pool -- 106][DialectDetector:147] org.hibernate.HibernateException: Unable to determine Dialect to use [name=MariaDB,...
Href lang URLs wrongly formatted (with trailing slash)
Issue The presence of trailing slash is inconsistent in the href lang URLs impacting Search engine indexing. For example: https://www.mysite.com/en https://www.mysite.com/de/ https://www.mysite.com/fr Environment...
Unable to copy from file:/opt/liferay/osgi/modules error when starting docker
Issue When starting Liferay docker environment, the user gets the following error:  ERROR [main][ModuleReadHookImpl:88] Unable to copy from file:/opt/liferay/osgi/modules Environment Docker Liferay Quarterly Release...
CAPTCHA_TEXT Not Set In The Portlet Session
Issue While validating the captcha in the custom module, the following exception shows: "CAPTCHA text is null. User null may be trying to circumvent the CAPTCHA." Steps to reproduce: Deploy...
Scheduled jobs running right after activation, no matter their trigger schedule
Issue When activating a new task from Control Panel -> Job Scheduler -> Job Scheduler Triggers, it is fired immediately, regardless of the trigger schedule. Environment Liferay 7.4, 2023.Q3, 2024.Q3...
Resolving Job Scheduler Stuck in "In Progress" Status
Issue The Job Scheduler log status remains stuck in "In Progress" after a server outage during a triggered job and can not be deleted. Environment Liferay DXP 7.4 Quarterly Release 2023.Q3 Resolution...
Moving to SAML w/ Upgrade Encountering Landing Page Issues
Issue We just tested upgrading to 7.4 changing to SAML (coming from CAS) in the process and believe we have encountered the issue as described in this...
Custom OSGi module needs to be redeployed after application server restart
Issue Custom OSGi module stops working and fails after an application server (i.e. Tomcat) restarts, and needs to be redeployed to get it to work again. Environment DXP 7.4 Resolution Blacklist the OSGi components before...
Getting timeout exception during application restart in a cluster environment
Issue Getting the below error (TimeoutException) during application restart in a cluster environment: Error: ERROR [localhost-startStop-1][ClusterSchedulerEngine:604] Unable to load memory clustered jobs...
Upgrade Tool in 2023.Q3.1 Bundle uses Wrong Version of Tomcat
Issue When upgrading to 2023.Q3.1 Quarterly Release, the wrong version of Tomcat is suggested by the Upgrade Tool as below: Please enter your application server directory ([Your Liferay Home]/tomcat-9.0.80): Environment...
Cannot insert the value NULL into column 'classNameId'
Issue During an upgrade process, you might encounter an issue where the following error occurs: ERROR [main][BatchingBatch:134] HHH000315: Exception executing batch [java.sql.BatchUpdateException: Cannot insert the...
Client-Extension gets created with an empty folder using Blade CLI
Issue I would like to create new Client-Extension modules using Blade CLI When I create a new workspace and run the command blade create client-extensions, I get the message "Successfully created project...
Freemarker templates and httpUtil errors
Issue When upgrading to Liferay DXP 7.4+ from 7.3 or prior versions, we have found some issues regarding httpUtil class. While the class is still available, but its methods are not. An example error could be the following one:...