Search Results

Knowledge Base 3693
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
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 and ...
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 following: ERROR [main][UpgradeStepRegistratorTracker:178] Failed...
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: javax.resource.ResourceException: IJ000470: You are trying to use a...
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: com.liferay.portal.security.audit.event.generators, version: 5.0.15}_ Declarative Service {id: 279,...
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 might be multiple reasons for this behavior. One of the usual reason is...
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 com.liferay.dynamic.data.mapping.storage.DDMFormFieldValue.getType(DDMFormFieldValue.java:131) Environment Liferay DXP...
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 following error is thrown in the server console  INFO...
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 com.liferay.dynamic.data.mapping.service...
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 file by navigating to Product Menu > Design > Fragments > Three Dots > Import (Choose...
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: https://help.liferay.com/hc/en-us/articles/360039026272-Multipart-Requests The approach used in DXP 7.2 now produces the following error: ERROR...
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 Resolution You have to create a custom role and add the "VIEW" Permission over each...
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 on : 28, Sql = create index IX_8DE7A0B5 on CPAttachmentFileEntry...
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, majorVersion=10]; user must register resolver or explicitly set...
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 Liferay DXP 7.4 Resolution Make sure your settings are consistent at all of...
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 2023.Q3 Resolution Because in 2023.Q3 the directory osgi/modulesalso...
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 my-test-captcha-1.0.0.jar. This is located in the /build/lib. Add it to a page, as a widget. It's...
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 Resolution The start date of a task is managed by a third party library, quartz,...
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 To address the issue of the Job Scheduler log being stuck in "In Progress" status follow...
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 article: https://help.liferay.com/hc/en-us/articles/4487682140813-Default-landing-page-option-is-not-working-after-configuring-SAML  and...
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 restarting the server, using the following steps: In the Control...
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 from master in 10 seconds, you might need to increase value set to...
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 Liferay DXP 2023.Q3.1 Resolution The Tomcat directory will be not...
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 value NULL into column 'classNameId', table 'DB_NAME.dbo.ClassName_';...
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 client-extensions" but the generated folder is empty. Environment Liferay DXP 7.4...
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: Error executing FreeMarker template...
Custom deployment error "Require-Capability: osgi.ee=JavaSE"
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue Cannot deploy a custom module due to the following error: ERROR [fileinstall-directory-watcher][DirectoryWatcher:1141] Unable to...
java.lang.StackOverflowError while upgrading caused by getSuperLocale
Issue Upgrading the database with the database upgrade tool fails, with the following (or similar) messages in the logs INFO  [main][UpgradeProcess:145] Failed upgrade process com.liferay.dynamic.data.mapping.internal.upgrade.v3_7_3.DDMFormInstanceReportUpgradeProcess in 37 ms ERROR...
Headless API call returns 500
Issue When performing a request to the Headless API without authentication, it throws a 500 error code. Steps to reproduce: 1. Perform a GET request to http://localhost:8080/o/headless-delivery/v1.0/sites/Guest/structured-contents Expected Result: If any headless API request is...
Search Blueprints feature is not shown in Liferay
Issue According to this documentation, Search Blueprints, the Search Blueprints functionality is available in DXP 7.3 starting with Update 6. However, after installing DXP 7.3 Update 6, the Search Blueprints feature does not appear in the Portal menu. Environment Liferay DXP 7.3...
When creating a Panel App Module, the instance becomes unresponsive
Issue When trying to create a Panel App Module, the portal instance becomes unresponsive after signing in.  Environment DXP 7.4 Resolution This issue will be fixed in LPS-186113 and is caused by the conversion of method references to field references in class extends the BasePanelApp.  A...
Liferay's Upgrade Tool isn't compatible with JNDI
Issue When trying to upgrade our Liferay environment when using JNDI, normal upgrade tools don't work. What would be another method to update our Liferay environment without using the normal upgrade tools?  Environment DXP 7.4 Resolution Liferay normally requires database configuration...
Blank screen when downloading a folder as a zip file from the document library, when the title contains special characters
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue When trying to download a folder containing special characters (for example, accents) in its name from the document library, a blank...
"java.sql.SQLSyntaxErrorException: Specified key was too long; max key length is 767 bytes" is thrown when upgrade Liferay
Issue I tried to upgrade the portal from DXP 7.3 U33 to DXP 7.4 U92, but the process failed. The upgrade logs show this message: ERROR [main][UpgradeStepRegistratorTracker:187] Failed upgrade process for module com.liferay.portal.configuration.persistence.impl...
Upgrading Liferay using a JNDI connection
Issue When trying to upgrade a Liferay environment using a JNDI connection to the database the upgrade fails and produces errors. Auto upgrade portal properties ("upgrade.database.auto.run=true" and "schema.module.build.auto.upgrade=true") do not work with JNDI. Environment DXP 7.4 ...
The search does not return the page
Issue The search does not return the page Steps to reproduce: 1. Create a Minium site 2. Navigate to Commerce>Channels >Minium Site Portal 3. Go to the tab Product/Category display pages 4. Click “Choose” on the card titled “Default Produce Display Page” 5. In the search input look for a...
SQLSyntaxErrorException is Thrown When Liferay Starts up
Issue We set up a new environment deploying Liferay 7.4 U92 on JBoss EAP 7.4. When Liferay starts up, we observe the following error in the log: Caused by: com.liferay.portal.kernel.log.LogSanitizerException: java.sql.SQLSyntaxErrorException: (conn=78714) You have an error in your SQL...
tcp.xml file path not mapped properly in clustering setup
Issue The tcp.xml file path provided inside portal-ext.properties is unable to map it properly. The file is placed at ${Liferay_Home}/tomcat/webapps/ROOT/WEB-INF/classes/tcp.xml and the path provided inside portal-ext.properties is /tcp.xml. Environment Liferay DXP 7.2+ Resolution The...
The requested resource could not be found errors
Issue The user dashboard and profile page are not accessible on the JBoss server Steps to reproduce: 1) Set up a clean instance of Liferay 7.4 on JBoss EAP 7.4 2) login with admin (test user) 3) Navigate to the Dashboard and profile page Expected behavior: Dashboard and profile page to...
ExportImportServiceConfigurationUpgradeProcess hangs indefinitely
Issue Upgrading to DXP 74U82+ hangs in ExportImportServiceConfigurationUpgradeProcess (v1.0.2) upgrade process: INFO [main][UpgradeProcess:127] Upgrading com.liferay.exportimport.internal.upgrade.v1_0_2.ExportImportServiceConfigurationUpgradeProcess Environment DXP 7.4 U82+ DB Upgrade...
How to send notification based on site with groupid
Issue When having two separate sites, we want to create different notification for each, but we can't set separate notifications for different sites with the condition: groupId==<groupId of your site>. If we create "A notification" for "A site" and "B notification" for "B site", the...
How to create GraphQL request to Filter Content Structures
Issue When trying to filter Content Structure ( WebContent > Structures ), and using a wrong syntax, you might get any of the following errors: Exception while fetching data (/contentStructureStructuredContents) : null "Internal Server Error",classification": "DataFetchingException"...
"Someone may be trying to circumvent the permission checker" errors shown in the logs
Issue The following message is identified in the logs: May 10 11:28:27.159 build-3348 liferay[liferay-64c4b97d99-nvp2x] [dxp] ERROR [http-nio2-8080-exec-18][IncludeTag:128] Current URL...
Log4J 2 is required
Issue When system starts, following error message is showed in the log: ERROR [Start Level: Equinox Container: 6841ecc3-6984-4344-8287-86848c86a132][Log4jConfigUtil:53] Log4J 2 <Configuration> is required Environment DXP 7.4 Resolution This error denotes an incorrect syntax in...
Error updating DXP 7.4: Major upgrade finished with result failure
Issue We are updating DXP 7.4 from Update-X to Update-Y following this article https://help.liferay.com/hc/es/articles/4415761553677 Also we followed this article too: https://help.liferay.com/hc/en-us/articles/19663140037517 But when system ends the upgrade process, the following...
Multiple Nullpointer warnings while upgrading in DDMFieldUpgradeProcess
Issue Many warnings appears while upgrading Liferay DXP 7.4 from previous versions, affecting the DDMFieldUpgradeProcess (v4_1_0): INFO [main][UpgradeProcess:118] Upgrading com.liferay.dynamic.data.mapping.internal.upgrade.v4_1_0.DDMFieldUpgradeProcess WARN...
Custom Service builder cannot satisfy some dependencies when Liferay-Require-SchemaVersion is not present or incorrect
Issue Dependency issues when deploying a custom Service Builder module, because Liferay-Require-SchemaVersion is missing or not correct. Some issues are found after running ds:unsatisfied in the GoGo shell: Bundle {id: 1735, name: com.liferay.example.service, version: 1.0.0} Declarative...
Error: Could not find or load main class when upgrading Liferay version using Upgrade Tool
Issue When attempting to upgrade the Liferay version using the Upgrade Tool users are met with the following error message: "Error: Could not find or load main class [class name]", and the upgrade fails to process. Environment Liferay DXP 7.4 Resolution This error can be caused by spaces...
SOAP service list API is exposed to non-authorized guest users
Issue SOAP service list API found at http://[host]:[port]/api/axis is exposed to external guest users even with it configured to display locally only. The following property is set in portal-ext.properties: axis.servlet.hosts.allowed=127.0.0.1 Environment DXP 7.2, DXP 7.1 Resolution To...
StackOverflowError related to locales during upgrade
Issue You might encounter an issue where you receive a StackOverflowError during your upgrade process, such as this: ERROR [main][ROOT:56] bundle com.liferay.portal.verify.extender:7.0.24...
Error updating DXP 7.4: Upgrade process failed or upgrade dependencies are not resolved
Issue We are updating DXP 7.4 from Update-X to Update-Y following this article https://help.liferay.com/hc/es/articles/4415761553677 But when system boots with the Update-Y installed, following message is showed in the logs: 2023-09-20 12:37:03.357 INFO  [main][UpgradeRecorder:147]...
Unable to see upload option under 'Talend' tab
Issue The user is not able to see the upload option for the file in the 'Talend tab' of the job scheduler. Steps to reproduce: Start DXP server Navigate to Control Panel > Job Scheduler Click on the add button to create a 'Job scheduler Trigger', select the Talend option, and create a...
Error ORA-01461 and Oracle ojdbc11.jar version
Issue During upgrade to DXP 7.4 using an Oracle database, some errors happen with this pattern: ... ORA-01461: can bind a LONG value only for insert into a LONG column_ ... Environment Liferay DXP 7.4 ojdbc11.jar as database driver . Resolution We must have into account the OJDBC driver...
How to reduce disk space used by Document previews
Issue We have noticed that half of the backup size corresponds to Document previews from the Document Library. Is there a way to clean up these files and reduce the backup size? Environment Liferay DXP 7.1 Liferay DXP 7.2 Liferay DXP 7.3 Resolution You can delete the preview and...
Interval is either equal or less than 0 error during upgrade
Issue You might encounter the following error during upgrade attempt to Liferay DXP 7.4 U69+: ERROR [main][ROOT:47] bundle com.liferay.portal.scheduler:8.0.32 (654)[com.liferay.portal.scheduler.internal.SchedulerEngineHelperImpl(2334)] : The activate method has thrown an exception...
SQLException: Index column size too large. The maximum column size is 767 bytes.
Issue I used a copy of Production database (MySQL) to test upgrading from Liferay 7.4 U62 to U90. The upgrade was failed with the following error: INFO [main][UpgradeProcess:118] Upgrading...
Portal stuck on startup at 'Starting initial bundles'
Issue When trying to start Liferay, the starting process gets stuck at : 'Starting initial bundles'.  Environment Liferay DXP 7.2 with a database connected Resolution Restarting the database server and the portal should solve the issue. Checking the max number of clients on the DB side...
AnalyticsEventModelImpl error during upgrade via Liferay Upgrade Planner
Issue While upgrading using Liferay Upgrade Planner, the AnalyticsEventModelImpl.java class encounter some errors The following errors are readable:...
OOB Category Filter widget configuration failed
Issue When updating the order of vocabularies in the Category Filter widget configurations, it fails with an error: ERROR [http-nio-8080-exec-10][render_portlet_jsp:131] null java.lang.NumberFormatException: Unable to parse 132602,132601,20140         at...
Admin will not be allowed if they doesn't contain the domain @liferay.com
Issue Users are unable to use any emails unless they have @liferay.com and are observing the "java.lang.IllegalStateException: Unable to get default company ID errors": SEVERE [http-nio-8080-exec-4] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet...

Showing 3,001 to 3,060 of 3,692 entries.