Search Results

Knowledge Base 3703
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
java.lang.ClassNotFoundException: org.hibernate.proxy.HibernateProxy cannot be found when blob column is used in service builder
Issue I use a blob column type in service builder. On deployment i get Caused by: java.lang.ClassNotFoundException: org.hibernate.proxy.HibernateProxy cannot be found Environment 7.4 Resolution Add the followings to your portal-ext.properties:...
Sync and AsyncExportImportLifecycleMessageListener unsatisfied references
Issue When you execute the command ds:unsatisfied in the Gogo Shell, you get this output: Declarative Service {id: 2457, name: com.liferay.exportimport.lifecycle.SyncExportImportLifecycleMessageListener, unsatisfied references: {name: _destination, target:...
"No CommerceChannel exists with the key" when starting Liferay
Issue After upgrading from Portal 6.2 to DXP 7.4 Update 66, we see the following error in the log when starting Liferay: ERROR [http-nio-8080-exec-10][MiniCartTag:123] null com.liferay.commerce.product.exception.NoSuchChannelException: No CommerceChannel exists with the key...
User's IP address registered as IP address of web server
Issue After configuring Liferay in a frontend server (e.g., Apache, Nginx) and Load Balancers, when a user logs in, the value of the loginIp column in the User_ table is registered as the same local IP addresses of the Load Balancers instead of the user's own address. The log files of...
Liferay is unable to configure MySQL because of to an authentication error
Issue The issue of being unable to load authentication occurs while configuring the MySQL database with Liferay: java.sql.SQLException: Unable to load authentication plugin "caching_sha2_password" Environment Liferay DXP 7.4 Resolution To overcome this issue, run the MySQL command below:...
Error updating time zone definition - n.f.ical4j.model.TimeZoneUpdater
Issue The following logging error is observed on a regular basis: n.f.ical4j.model.TimeZoneUpdater - Error updating timezone definition java.net.ConnectException: Connection timed out (Connection timed out) How can this Liferay server-side request be disabled? Environment DXP 7.0+...
Taglib throws an exception after redeploy the JAR file
Issue The taglib throws the freemarker.template.TemplateModelException error after redeploying the JAR file. Steps to reproduce: 1. Start the server 2. Navigate to Site Menu> Content & Data > Blogs 3. Create a new Blog, navigate to Site Menu > Design > Templates > Widget Templates 4....
Deploying a Portlet to Liferay 6.2 on Tomcat 8, causes listerner tags in Web.xml of portlet to change to Context-param tags
Issue Deploying a portlet developed for Liferay 6.2 on Tomcat 7, on a Liferay 6.2 instance running on Tomcat 8 causes the portlet's web.xml file to reflect the following changes:  The web.xml before it is deployed had the following listener tags <listener>...
Firewall blocks URI for reserved characters
Issue URI contains reserved characters such as "$" and certain firewall rules block these URI's. Environment DXP 7.4 Resolution Many URL schemes reserve certain characters for a special meaning. However, this is not true for reserved characters: Encoding a character reserved for a...
OutOfMemoryError on startup when there are a lot of very large FragmentEntryLinks
Issue Liferay takes a very long time to startup, and throws the following Heap Space error: ERROR [Framework Event Dispatcher: Equinox Container: d97119a4-f960-4e1c-839b-88c78fbc6cc6][Framework:93] FrameworkEvent ERROR java.lang.OutOfMemoryError: Java heap space at...
"Portlet must not be null" error during upgrade
Issue You might encounter an issue where you face an error during upgrade such as follows: 2023-03-29 08:09:14.891 ERROR [Framework Event Dispatcher: Equinox Container: 6a56b6f1-2524-4207-a9fb-dfe9b3dab41e][Framework:56] FrameworkEvent ERROR java.lang.IllegalArgumentException: Portlet...
java.sql.BatchUpdateException: Duplicate entry errors
Issue Duplicate entry error when switching from Hypersonic to MySQL using the setup wizard Steps to reproduce 1) Start portal with hypersonic 2) In Setup Wizard, add test@liferay.com as an email 3) Click to change the default database 4) Change database type to MySQL 5) Change username...
User clicks not tracked correctly
Issue The number of hits goes up by 2 Steps to reproduce: 1) Add "live.users.enabled=true" to portal-ext.properties and start portal 2) Navigate to Control Panel > Monitoring 3) View the number of hits 4) Refresh the page (should count as one click) 5) the number of hits goes up by one...
Web content with special characters in their title, their friendly URL is populated with C% code
Issue The Friendly URL presented when editing a Web Content is displayed with C% code in the special characters, making it difficult to forward that URL. Environment Liferay DXP 7.4 (equal to or below Update 40) Resolution Upgrade to Liferay DXP 7.4 Update 41 or higher to resolve the...
java.lang.ClassCastException: class javax.mail.Session cannot be cast to class javax.mail.Session error when configuring email delivery using JNDI
Issue We have configured email delivery using the application server JNDI mail resource, adding the following property to the portal-ext.properties file mail.session.jndi.name=mail/Session  We followed this Liferay documentation to configure it: Alternative Email Configuration Methods -...
Exceptions from class "freemarker.core.FMParser$LookaheadSuccess" when using java mission control while doing perfomance analysis
Issue We are doing a performance analysis using Java Mission Control and while checking the errors tab we see a lot of exceptions coming from freemarker.core.FMParser$LookaheadSuccess class Environment Liferay DXP 7.3 Resolution If those errors only arise while doing a recording with JMC...
Failed upgrade process com.liferay.dynamic.data.mapping.internal.upgrade.v5_2_2.DLFileEntryDDMFormInstanceRecordUpgradeProcess
Issue During the upgrade process from DXP 7.3 to DXP 7.4, a NullPointerException is being reported with the following stack trace: 2023-04-04 17:03:17.835 INFO [main][UpgradeProcess:145] Failed upgrade process...
Fragment's Edit/Update Date Isn't Getting Updated
Issue When making edits to fragments and publishing those fragments, the "Modified time" of the fragment is not updated accordingly. Steps to Reproduce: Navigate to Design > Fragments Add a Fragment Collection and create two new fragments in the new Collection After 3-5 minutes, edit the...
Saving Site Settings - Languages takes a long time
Issue The issue can be reproduced with the following steps: 1. Go to configuration then select site setting. 2. Select Define a custom default language and additional available languages for this site. 3. Click on save. Result: It takes a long time to complete saving the changes.  ...
Navigating to URL after setting Redirect Pattern is giving 404 error
Issue When Redirect Pattern is defined such as below to redirect pages, navigating to the URL gives 404 error instead of redirecting properly. Environment DXP 7.4 u65 and lower Resolution By default, patterns defined with / in the front should automatically update to start with ^/...

Showing 3,121 to 3,140 of 3,702 entries.