Search Results

ナレッジベース 3704
ソート
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
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:...
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 symbolic name .... 2024-11-19 05:16:24.874 ERROR...
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 web contents, where it is possible to search over all content...
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 com.liferay.commerce.price.list.service:4.0.79...
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 02:50:56,664 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool --...
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' \ 'http://www.localhost:8080/o/c/as/?filter=aB%2Ftext eq 'BBB' &nestedFields=aB' \ -H 'accept: application/json' \ -H...
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 [main][ModuleFrameworkImpl:1002] Unable to install bundle at...
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. Create a folder hierarchy: /home/me/Downloads/Test/1. testing 4. Add any files...
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 com.liferay.layout.page.template.service...
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 Liferay DXP Quarterly Release 2024.q3.1 Resolution CVE-2024-7254...
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 file:/path/to/osgi/modules/biz.aQute.remote.agent-6.4.0.jar to /path/to/osgi/state/org.eclipse.osgi/1460/0/bundleFile...
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 enable XML Sitemap feature flag by navigating to Control Panel > Instance...
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 [jgroups-11,liferay-channel-control,node1-62578][JGroupsReceiver:78] Unable to deserialize message payload...
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 external load balancer level and shared the same certificates with the integrated...
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 "auto-extend" Environment Quarterly Releases:...
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 that can be carried out to achieve this: NOTE: The following resolution...
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: https://localhost:8080/o/js/resolved-module/frontend-js-node-shims$path-browserify@0.0.0/index.js?languageId=en_US Can you please solve this security issue? Environment DXP 7.2...
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 = liferayOAuth2AccessTokenManager.getOAuth2AccessToken(clientRegistrationId); When we launch the Spring Boot application via...
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 URL's xxxx part is expected to change: Is it possible to use wildcards...
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: http://localhost:8080/o/test-theme-css/images/logo.jpg SaaS 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" Environment Quarterly Releases: 2024.Q3,2024.Q2,2024.Q1,2023.Q4,2023.Q3...
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 java.lang.NullPointerException: null at...
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" field within Instance Settings → Email), and the following error was...
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 Resolution Navigate to: Menu → Control Panel → System Settings → PLATFORM → Module...
Redirect URL configuration does not persist after a restart
Issue We noticed that after changing the Security Mode of Redirect URL configuration from "IP" to "Domain", and subsequently restarting Liferay, the configuration was back to "IP" again. We want to ensure this change in configuration persists even after a restart. How can we achieve...
Log4j warnings and error on startup after upgrading to Update 36
Issue After upgrading Liferay DXP 7.3 to Update 36, the following warnings and error are printed in the logs on startup: log4j:WARN Continuable parsing error 3 and column 30 log4j:WARN Document root element "Configuration", must match DOCTYPE root "null". log4j:WARN Continuable parsing...
Errors when attempting to create/edit web content from the control panel
Issue After to recently migrated from Liferay 7.3 to 2023.q3.7, an error occurs immediately upon entering the edit (or creation) of content (and it continues to reproduce in the JS console when switching languages in the contribution). This error makes content management impossible The...
java.sql.SQLException: Illegal mix of collations for operation 'UNION'
NOTE: Be sure to take a backup of your database prior to making any changes. Always test the changes in a lower environment before making changes in production. Making manual changes to the database is not recommended, and should be carefully assessed based on your own business needs and...
Unable to include JSP
Issue The following errors are encountered when the user accesses the portal, which increases the log size. ERROR [https-jsse-nio-0.0.0.0-8443-exec-29][DynamicIncludeUtil:81] java.io.IOException: Unable to include JSP /html/portal/dynamic_include/view.jsp java.io.IOException: Unable to...
Missing default Store
Issue When trying to perform an upgrade, the following error appears in logs: ERROR [main][DBUpgrader:70] Missing default Store Environment Quarterly Release: 2023.Q3, 2023.Q4, 2024.Q1, 2024.Q2 Liferay DXP 7.4 Resolution Check that the path specified in your file...
java.lang.Error: factory already defined when starting up 2024.Q2 with JDK 17
Issue Start up an environment with Liferay DXP 2024.Q2 and JDK 17. The following error message appears: ERROR [io.undertow.servlet.request] (ServerService Thread Pool -- 78) UT015005: Error invoking method contextDestroyed on listener class jdk.proxy10.$Proxy40:...
"SAX Security Manager could not be setup" Warns
Issue We are finding many Warns "SAX Security Manager could not be setup" in the Liferay logs. How can we resolve these messages? Environment Liferay Quarterly Release 2024 Resolution The observed behavior is a known issue addressed by LPD-20262. Please update to DXP 2024.Q2.0 Quarterly...
"Custom Field" data for Navigation Menu is not included, while fetching it from 'Navigation Menus Headless API'
Issue When trying to fetch the details of the "Navigation Menus" via the 'getNavigationMenu' Headless API, the 'Custom Field' data is not included in it. Steps to reproduce: 1. Navigate to Control Panel > Configuration > Custom Fields > 'Site Navigation Menu Item' > Create a field using...
'Pages' option is not visible under the 'Site Builder', after the upgrade
Issue The 'Pages' option is not visible under the 'Site Builder' Steps to Reproduce: Start any DXP 7.4 Update 42 with any Database Navigate to Site Builder> Pages> Create a few pages. After following the above steps, upgrade the DXP 7.4 Update 42 to DXP 7.4 Update 43 or below using the...
Libraries missing in DXP 7.3 update 36
Issue We have observed a couple of errors, while building our project for DXP 7.3 u36, since there are libraries missing. Especially the library com.liferay.petra.string which is missing for u36. Are those libraries missing by accident or are they just not supported anymore?  ...
DB Upgrade to a Q2 release using JDK 21 results in an error
Issue The following error is being encountered when trying to upgrade to a Q2 release running ./db_upgrade_client.sh and using JDK 21 JVM arguments: [-Dfile.encoding=UTF8, -Duser.country=US, -Duser.language=en, -Duser.timezone=GMT, -Xmx2048m,...
Some redirects executed from a custom module are not performed in JBoss EAP/Wildfly
Issue Given a custom module with a portlet component which includes the following code: ... @Override public void doView(RenderRequest renderRequest, RenderResponse renderResponse) throws IOException, PortletException { HttpServletResponse response=...
Integrity constraint violation: unique constraint or index violation: IX_
Issue When trying to start a clean Liferay bundle with the Hypersonic database and no portal-ext.properties, the following exception is being encountered:  2024-07-22 18:47:13.741 ERROR [http-nio-8080-exec-6][BatchingBatch:134] HHH000315: Exception executing batch...
There was an error when loading the "text" field
Issue 'There was an error when loading the "text" field' is showing if user clicks on any portlet inside System Settings and Instance Settings. Environment 2024.Q1 2024.Q2 Resolution This behavior is only observed in 'Brave Browser', though it's working fine in other browsers like Chrome...
I am getting "Someone may be trying to circumvent the permission checker" while accessing Password Policies
Issue When I try to access Control Panel → Password Policies, I get "Password Policies is temporarily unavailable." I get the following error message: 2024-07-30 13:15:07.411 ERROR [http-nio-8080-exec-9][PortletRequestDispatcherImpl:295] Unable to dispatch request:...
Upgrading to a Quarterly Release fails due to Elasticsearch exceptions in the logs
Issue When upgrading to a Quarterly Release, coming from an old DXP version, the upgrade fails because of some Elasticsearch errors that can be seen in the logs: ERROR [main][ROOT:47] bundle com.liferay.portal.search.elasticsearch7.impl:6.0.111...
"Unable to persist buffered increment value" Error in Liferay Logs
Issue I am seeing the following errors thrown regularly in my Liferay console logs. How can I resolve this? ERROR [BufferedIncrement-default-2][BufferedIncrementRunnable:54] Unable to persist buffered increment value:...
How to resolve "Attempting to upgrade table UserGroupGroupRole by adding a temporary column" DB2 database upgrade errors
Issue When trying to upgrade Liferay DXP from a 7.4 U release to 2024.q1.3 using a DB2 11.5 database, we encountered the following errors relating to the UserGroupGroupRole table: INFO  [ServerService Thread Pool -- 78][UpgradeProcess:119] Upgrading...
Unable to login without the sameSiteCookies="none"
Issue Without the sameSiteCookies="none" setting up, some vital cookies (e.g., JSESSIONID) are not created at all, preventing portal access. Environment Liferay DXP  Resolution This article: https://web.dev/samesite-cookies-explained/ explains the origin of the SameSite cookie and how it...
How to create schedulers in DXP 7.4 and above?
Issue We've been using the below classes in our project to create schedulers:  com.liferay.portal.kernel.scheduler.StorageType   com.liferay.portal.kernel.scheduler.StorageTypeAware  After upgrading to a Quarterly release, it throws an error that it cannot find a symbol as the classes...
Batch Error encountered during upgrade using SQL Server 2019
Issue When upgrading from Liferay 7.2 to Liferay 7.4, the following error may be encountered during the upgrade process when using SQL Server 2019 with MSSQL JDBC Jar Version 12.X ERROR [main][DBUpgrader:79] null org.springframework.orm.hibernate5.HibernateJdbcException: JDBC exception...
sun.awt.Win32GraphicsEnvironment ClassCastException in the logs
Issue We started to see the below exception in our logs: Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: sun.java2d.HeadlessGraphicsEnvironment cannot be cast to sun.awt.Win32GraphicsEnvironment at sun.awt.windows.WToolkit.lambda$displayChanged$2(WToolkit.java:843)...
Table already exists upgrade error
Issue An upgrade is failing with a java.sql.SQLSyntaxErrorException: Table [table name] already exists error Environment Quarterly Releases DXP 7.4 DXP 7.3 DXP 7.2 Resolution NOTE: Be sure to take a backup of your database prior to making any changes. Always test the changes in a lower...
Feature flag LPS-170809/163118/166126 is not available for company 0
Issue After trying to upgrade to DXP 2023.Q4.4, the database upgrade script is failing with the following errors in the logs: Feature flag LPS-170809 is not available for company 0 Feature flag LPS-163118 is not available for company 0 Feature flag LPS-166126 is not available for company...

該当件数: 3,703 件中 2,881 - 2,940