Search Results

All Results 6961
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
Custom portlets are not logging correctly with SLF4J
Issue Custom plugins (portlets and hooks) are not properly logging with SLF4J implemented, with no log4j2 configurations changed from previous Liferay versions to 7.4 or Quarterly Release. Environment DXP 7.4 Quarterly Release lower than 2024.Q1.7 Resolution NOTE: The following...
Does the Timezone Needs to be Converted Manually When Fetching Database Entries Programmatically?
Issue We changed the default timezone by doing the following: 1. Instance settings > localization > time zone > change to eastern daylight time 2. User Account settings > preferences > display settings > change to eastern daylight time But now we have a question regarding custom code in...
Getting 'unsatisfied references' error after JAR deployment
Issue When creating a service builder project and after deploying the Jars files, it shows the unsatisfied references'' in the GOGO shell. Steps to reproduce: Start the server. Deploy the JAR file. Navigate to the Control Panel > Configuration > Gogo shell. Enter 'lb', and can see that...
Cookie consent persistence: how to check the history of responses?
Issue We have enabled Liferay's cookie consent banner for our site. Could you please guide us on where to locate the log of cookies accepted by our site visitors? Environment DXP 7.4+ Quarterly Release 2023.Q4 Resolution Cookie configuration was implemented in the following ticket:...
Compatibility of Liferay with Spring 6.1
Issue When is Liferay going to be compatible with Spring 6.1? Environment Liferay DXP 2023.Q4.0 Resolution Spring 6.1.x also requires Jakarta EE 9+ API, which is not currently supported by DXP. The initial release of Java 21 this year (at the time of writing this article) will still be...
How to resolve the "Require strangers to verify their email address?" Instance Setting not saving
Issue After initially setting up a clean Liferay bundle (using my own administrator email domain), I am unable to save the "Require strangers to verify their email address?" Instance Setting, as it fails to save with a generic Error:Your request failed to complete popup Environment...
CPU activity is high with large number of open sessions
Issue High CPU activity can have multiple causes.  Reviewing heap dumps may show a large number of objects org.apache.catalina.session.StandardSession. Environment Quarterly Release 2023.Q3, 2023.Q4, 2024.Q1 Resolution A high number of open sessions could point to a misconfiguration of...
How to configure asynchronous logging in Liferay
Issue How can I configure Log4j to use asynchronous logging in Liferay? Environment DXP 7.2 DXP 7.3 DXP 7.4 Quarterly Releases Resolution DXP 7.2 and DXP 7.3 NOTE: The following resolution requires customization and should only be implemented at the discretion of your team. Liferay...
ORA-00600 error when accessing to Roles Administration
Issue When accessing to Roles Administration, the following error message appears: ERROR [https-jsse-nio-8443-exec-41][PortletServlet:109] Unable to process portlet com_liferay_roles_admin_web_portlet_RolesAdminPortlet: org.apache.jasper.JasperException:...
How to run Liferay Tomcat as a Windows Service?
Issue We are currently running the tomcat from the command line, but I would like to know how to run it as a Windows service. Environment DXP 7.3+ Resolution Create a clean Tomcat Apache service to make sure it installs correctly 1. Create a sample directory like...
Configuring CXF Endpoints and Soap Extenders programmatically from 2024.q1
Issue It is created a customization SOAP extension module following the next documentation to create new endpoint. The component has inside in folder resources → configuration next files:...
"Column count doesn't match value count at row 2" error occurs while upgrading to 2024.q1.1 using MariaDB as database
Issue Upgrading Liferay DXP 7.3 to Quarterly 2024.q1.1 shows the error "Column count doesn't match value count at row 2" in the log. Environment 2024.q1 MariaDB 10.4 Resolution A possible cause is that the rewriteBatchedStatements=true parameter is being used in the connection url for...
Can Liferay run using a JRE instead of a JDK?
Issue I am using a Java JRE and encountering errors such as: A fatal error has been detected by the Java Runtime Environment Environment Liferay DXP Liferay Portal Resolution Liferay DXP/Portal requires a TCK-certified Java JDK.  See the Liferay DXP compatibility matrix to choose a JDK...
Captcha text null when using a captcha portlet
Issue CAPTCHA Verification is being failed. This only occurs when using a custom captcha portlet, captcha components from the portal (for example, the "forgot password" page) work properly. Environment Liferay DXP 7.4 Resolution There is a serveImage method for ResourceRequest (portlet)...
Some database tables are created per company
Issue When upgrading from 7.2 to 7.4, it seems that there are tables that appear multiple times with the only difference being the corresponding company ID. e.g., AccountEntry_x_COMPANY_ID Address_x_COMPANY_ID CommerceOrder_x_COMPANY_ID CommercePricingClass_x_COMPANY_ID...
Facing a 403 error while accessing the OOTB APIs
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue Facing a 403 error with the OOTB APIs while accessing '/headless-delivery/v1.0/sites/145009/content-structures' using Postman....
LDAP causing slowness while logging in
Issue When LDAP is enabled, the login process takes a long time (about 2 to 3 minutes), causing server performance issues. Expected Result: The login should be relatively quick (a few seconds). Actual Result: The login takes roughly 2–3 minutes. Environment Liferay DXP 7.3 Liferay DXP...
How to get Javadocs for Quarterly Release or DXP Updates?
Issue Require Javadocs, let's say for DXP 2025.Q2 Environment Liferay DXP [any update/Quarterly Release] Resolution Liferay has Javadocs at Learn (see here). This stores the latest Javadocs. If you are looking for a specific release, go to https://releases.liferay.com/dxp/, find your...
Custom Bag JSP override fails on JBoss
Issue When deploying a module that contains a CustomJSPBag to override a JSP, the file is created at wrong path. After the deployment the files should be created in the correct path, for example: '/standalone/deployments/ROOT.war/html/taglib/ui', but it wrongly creates...
ERR_SSL_PROTOCOL_ERROR occured in the browser while attempting to access Liferay login page at http://IP:8080/c/portal/login
Issue While accessing the Liferay login page after hitting http://IP:8080/c/portal/login, it shows the below SSL error on the browser's UI. "This site can’t provide a secure connection IP(10.x.x.x) sent an invalid response. ERR_SSL_PROTOCOL_ERROR" Environment Liferay DXP 7.0+ Resolution...
When will Java 17 be supported?
Issue I believe Java 17 is necessary for Spring 6 compatibility, and for being ready for the future of many Java libraries, I think Liferay should be compatible to Java 17 as soon as possible. Resolution We are working on making Java 21 supported. For further information about the...
"Elasticsearch node search-1 does not meet the minimum version requirement of 7.16" when updating to u30
Issue During our recent update to Update 30, the portal experienced an issue and did not start correctly. The logs show the following error: Elasticsearch node search-1 does not meet the minimum version requirement of 7.16 Environment Liferay DXP 7.3 Resolution This error indicates the...
Language Override key are not reflecting on other Nodes
Issue In the clustered environment, when the user creates a new language override key on one node, it is not displayed on other nodes. Steps to Reproduce: 1. Start a two-node cluster of Liferay 7.4. 2. In one node, navigate to Control Panel→ Language Override and create a language...
Does Liferay support Enums as Request Parameters?
Issue We have a custom module that was created using a REST Builder Template and have observed that our query parameters are not functioning correctly after setting an enum. We tried executing through both Postman and the Liferay API Explorer, but it does not work as expected. ...
Java EL Expression Performance Issue after Upgrade
Issue I recently updated to Liferay 7.4 and I'm seeing performance issues. I have custom JSP files with EL Expressions (expressions like ${expressionName}) deployed. In thread dumps taken during the performance issues, and I see a large number of threads that are in the BLOCKED state...
Email notification using incorrect SMTP server in Virtual Instance
Issue When using virtual instances with separate SMTP server configurations, email notifications are sent using the SMTP server of a different instance instead of the correct instance's SMTP server. Environment Liferay DXP 7.4 Resolution To resolve this behavior, open a help center...
Non-Productive Nodes can see Productive Nodes after switching to JDBCPing
Issue In the context of having the Non-Productive environment and the Productive environment within the same network, there are MergeView traces in logs where nodes from non-productive and productive environments appear altogether after switching to JDBCPing. Environment Quarterly...
The Minification of JS Files are Being Downloaded as Separate Files to the Browser
Issue Whenever we deploy an NPM portlet (Angular / React), it does not do the minification of js files it has in the package.json file and rather they are downloaded as separate files to the browser which is impacting my application performance. Is there a solution to this? Environment...
Can We Use Different JDKs for Elasticsearch and Liferay Containers?
Issue We are running Liferay w/ Elasticsearch and have observed that the specific versions are compatible only with different JDKs. How does this work? Can we use two different JDKs per container? Environment DXP 7.4 Resolution Yes, that is correct. Using different containers and...
Getting the error 'no schema has been selected' while setting up the connection between Liferay portal and the PostgreSQL database
Issue It was observed that as soon as the Liferay portal starts creating tables and populating with default data (in the new PostgreSQL 15.2 database), the below error prevents it from doing so: ERROR: no schema has been selected to create Environment Liferay DXP 7.4 Resolution The error...
ReadCount column removed from DLFileEntry table
Issue We are upgrading from Liferay DXP 7.0 to 7.4 and noticed that the ReadCount column of the DLFileEntry table has disappeared post-upgrade. Could you please provide us with some information how this column is migrated and where/how the data is kept in Liferay DXP 7.4? Environment...
Not able to change the change the Hello World in Client extension
Issue Javascript client extension is not working, which can change the Hello World! text with Hello UserName! when the user deploys the below Liferay sample module:...
Set up the Apache web server and connect it to Tomcat-based Liferay using mod_jk
Issue How can we install an apache web server and connect the same with the application server over a Linux-based operating system? Environment Liferay DXP 7.4 Resolution The following are the steps that will help you set up the Apache web server and connect it to Tomcat-based Liferay...
Getting java.lang.StackOverflowError when starting the server after applying patch
Issue While performing an upgrade to the Liferay 7.0 environment (applying the patch), the server is not starting and the following error is observed: SEVERE [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log StandardWrapper.Throwable java.lang.StackOverflowError at...
"No JSON web service action with path /assetcategoryproperty/get-category-properties and method null for null" when upgrading to 7.4
Issue After upgrading Liferay to DXP 7.4, I encountered multiple errors in the logs related to the get-category-properties method: 2024-01-31 00:01:37.016 ERROR [https-jsse-nio-443-exec-80][JSONWebServiceServiceAction:117] No JSON web service action with path...
Encountering LPKGBundleTrackerCustomizer Rollback bundle installation error
Issue The following error is encountered in the logs after installing fixpack-1 on Liferay DXP 7.2 GA1 ERROR [ModuleFramework-Static-Bundles-1][LPKGBundleTrackerCustomizer:344] Rollback bundle installation for [] java.nio.file.NoSuchFileException:...
Error upgrading from a Quarterly Release due to a "1_WAR_lcsportlet"
Issue Our terminal is populating the following errors: ERROR [main][DBUpgrader:70] com.liferay.portal.kernel.upgrade.UpgradeException: java.sql.BatchUpdateException: (conn=574269) Data too long for column 'name' at row 1 After conducting a further investigation, the portlet that is...
Incorrect time displayed for all-day events
Issue When the "All Day" checkbox is selected and saved in the Calendar widget, default times are shown when the event details are opened. This behavior is unexpected, as the start and end times should not be displayed when the event is set to "All Day". Environment Liferay DXP 7.4...
Upgrading to Quarterly Release 2024.q1.1+ fails with a Duplicate entry in v3_4_1.LayoutFriendlyURLEntryUpgradeProcess#doUpgrade error
Issue I tried to upgrade to the Quarterly Release 2024.q1.1. However, the upgrade fails with the following error in the log: Duplicate entry in v3_4_1.LayoutFriendlyURLEntryUpgradeProcess#doUpgrade  Environment Below Liferay DXP 7.4 Quarterly Release 2024.q1.6 Resolution This upgrade...
Glowroot page broken using a custom portal context
Issue If we define a context other than ROOT in our portal, for example myportal, the Glowroot administration pages are not displayed or are displayed with visual errors. Environment Liferay DXP 2023.Q4 Resolution Currently, to use Glowroot with a custom context other than ROOT, it is...
Liferay hard session timeout
Issue Is there any configuration available in Liferay OOTB (out-of-the-box) for forcing logout users after 4 hours? Environment Liferay DXP 7.2 Liferay DXP 7.3 Liferay DXP 7.4 Quarterly Release Resolution A session is considered active as long as a user is interacting with the server...
Custom login page redirection with child page
Issue The properties: "auth.login.site.url=/sign-in", "auth.login.url=/sign-in" are not working for the custom login page redirection if a user is working with child pages who does not have Guest user’s VIEW permission.   Environment Liferay DXP 7.4 Resolution This behavior is considered...
Where can I extract the tcp.xml file in Quarterly Releases?
Issue Prior to Quarterly Releases, thetcp.xml file could be extracted from $LIFERAY.HOME/osgi/marketplace/Liferay Foundation-Liferay Portal-Impl.lpkg/com . liferay . portal . cluster . multiple - [version]. jar/lib / jgroups - [version]. Final . jar/tcp.xml, however, .lpkg files have now...
ORA-38029 during upgrade when statistics tables are locked
Issue While upgrading from DXP 7.2 to DXP 7.4, the below errors were encountered: ERROR [main][DBUpgrader:70] null com.liferay.portal.kernel.log.LogSanitizerException: com.liferay.portal.kernel.upgrade.Upg radeException: com.liferay.portal.kernel.upgrade.UpgradeException:...
ConfigurationModelListener runs in both nodes
Issue I developed a module to track system configuration changes using a model listener that implements ConfigurationModelListener. While everything is functioning correctly, there's an issue where this module executes on both nodes. Typically, when a request occurs on node 1, the...
Connect a single portlet to a different database other than the Liferay Database
Issue How to connect portlet to some other database which is separate from Liferay database using the conventional method like Connection and DriverManager of Java SQL classes and interface where the Database name with Username and Password should be provided.  Environment Liferay DXP...
ORMException buffer increment error when using the multiple files upload feature
Issue When the users are trying to upload more than one document through multiple files option, they are having a performance issue in their portal. Steps to reproduce: 1. Start Liferay DXP 7.3 DXP 1 2. Navigate to Documents and Media and try to upload at least 2 files from the system...
Warn message populates when upgrading to Quarterly Release 2023.Q4.6 from 7.4: sun/misc/Cleaner
Issue The following WARN message populates in the terminal when reindexing: WARN  [liferay/background_task-2][IndexerWriterImpl:188] Error reindexing all com.liferay.document.library.kernel.model.DLFileEntry for company: xxxxx com.liferay.portal.kernel.exception.SystemException:...
Upgrade process fails with the following ERROR: Failed upgrade process for module com.liferay.search.experiences.service
Issue When trying to upgrade from 7.4 to Quarterly Release 2023, the upgrade fails with the following error. Failed upgrade process for module com.liferay.search.experiences.service com.liferay.portal.kernel.log.LogSanitizerException: com.liferay.portal.kernel.upgrade.UpgradeException:...
PostgreSQL JAR file can be safely removed?
Issue We are deploying Liferay using the Tomcat bundle and noticed the inclusion of a postgresql.jar file. Since our environment utilizes MySQL, can we safely remove this file from all our deployments? It's being stored in...
Is it Possible to Access the Entire Document Hierarchy Page with API?
Issue How to access the entire document hierarchy page using API? Environment All environments Resolution By default, the GET Documents call in the Liferay API restricts access to the root page, preventing retrieval of the complete document hierarchy. To access the entire document...
Calendar displays incorrect time when creating event in Month view
Issue The Calendar Widget does not reflect the correct time when creating an event in the "Month" view. After configuring the event time and publishing it, the displayed time in the event window does not match the configured time. Environment Liferay DXP 7.4 Resolution This issue is...
No JSON web service action with path /journal.journalarticle/get-articles and method GET for journal and similar JSONWS API errors
Issue When invoking a JSONWS API method like /journal.journalarticle/get-articles the following error is sometimes thrown: No JSON web service action with path /journal.journalarticle/get-articles and method GET for journal Environment Liferay 2023.Q4, 2024.Q1 Resolution This error can...
How to print a query string with parameter values
Issue When the property hibernate.show_sql=true is set, the SQL statements executed are shown in the system log, but with bind variables. For example: Hibernate: SELECT COUNT(*) AS col_0_0_ FROM BlogsEntry blogsentry0_ WHERE (blogsentry0_.displayDate < ?) AND (blogsentry0_.status = ?)...
PATCH request is not working for custom fields
Issue Steps to reproduce: 1. Start up Liferay, change the password to 'a' 2. Go to Control Panel >Configuration > Custom Fields 3. Select Organization. 4. Tap the + icon to add a new Custom Field. 5. Select Input Field, and type "Testcustom" to the Field Name, save it. 6. Add a new...
org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of class [com.sun.proxy.$Proxy6] java.lang.reflect.UndeclaredThrowableException
Issue When setting up Liferay with Oracle 19c, the following errors were encountered during Liferay startup. 2024-02-19 11:39:07.830 INFO [main][ModuleFrameworkImpl:1309] Starting initial bundles 19-Feb-2024 11:39:07.910 SEVERE [main]...
How to change Liferay Private default friendly URL
Issue I would like to know how to change the Private default friendly URL from "/group" to "/private" on Liferay DXP bundled with Tomcat. Environment Liferay DXP 7.3 Tomcat 9.0 Resolution Add the following property to portal-ext.properties file:...
Audit log files in 7.4 are not created due to outdated portal-log4j-ext.xml file.
Issue Audit log files are not generated despite following the steps as shown in: https://help.liferay.com/hc/en-us/articles/360029134891-Configuring-Audits#reporting-audit-events-in-liferays-logs-and-console  This is due to portal-log4j-ext.xml file not conforming with newer log4j 2.x...
Accessing login without a server restart after running Liferay setup wizard
Issue Is there a scenario that users would be able to immediately access the login screen after running the setup wizard without a server restart? Environment Any Liferay DXP environment Resolution A Liferay setup would not require a reboot if the database configuration is set to the...
Rollback an upgrade on Liferay DXP
Issue How can user rollback an upgrade to it's earlier version in DXP? Environment Liferay DXP 7.3+ Resolution Liferay's upgrade process upgrades the DB schema to make it compatible with the specific higher version update. There is no script to rollback or downgrade an update, therefore,...

Showing 301 to 360 of 8,730 entries.