Search Results

ナレッジベース 3704
ソート
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
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. Environment Liferay DXP 7.1 Liferay DXP 7.2 Liferay DXP 7.3 Liferay DXP 7.4...
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 DXP 7.4 2023.Q4.2. release instead. You should update to this, or a...
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 to do now? Environment 2023.q4.0 Resolution You probably see this...
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 SOAP web service, we are getting errors related to...
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 compound PK. 2. Build the service gw buildService Expected Behavior: The...
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 database and connect to it. You can't roll the upgraded database back,...
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 host name null Environment 2023.Q3 Resolution In order...
"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 following error message: ERROR [main][DBUpgrader:70] null...
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 7.4 Liferay Quarterly Release 2023.Q3, 2023.Q4 Resolution This behavior...
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? Environment Quarterly Release 2023.Q3.x 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 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...

該当件数: 3,703 件中 3,001 - 3,060