Search Results

All Results 6977
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
Is there a way to find out which osgi module owns a jar that's been written to the $liferay_home/osgi/state directory?
Issue I would like to find out which osgi module owns a jar that's been written to the $liferay_home/osgi/state directory. Environment DXP 7.2 DXP 7.3 Resolution  The id of the bundles in Gogo Shell corresponds to the subfolder names in osgi/state/org.eclipse.osgi . To see all the bundle...
Why are Exports Slow In a Site With a Large Number of PDF Documents?
Issue When I attempt an export of a site containing a large number of PDF documents in DXP 7.3, the export takes a very long time. Environment DXP 7.3 Resolution This issue is resolved by LPS-142761   Additionally, the following workaround speeds up export time: On the export screen,...
Liferay fails to start up after installing fix pack
Issue After installing a fix pack, sometimes the environment may not start back up and will encounter the following error: 10-Nov-2021 18:14:07.441 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to...
Cannot start up server after applying a new patch
Issue After installing a new fix pack / hotfix, the portal is not starting up, even though the temporary folders have been deleted. 06-Dec-2021 13:15:32.439 SEVERE [main] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener...
Liferay fails to manage unique session and displays the mismatched data of the users
Issue Liferay fails to manage unique sessions and displays the mismatched data of the users when using the below code ThemeDisplay td = (ThemeDisplay) renderRequest.getAttribute(WebKeys.THEME_DISPLAY); User user = td.getUser(); String clientId = user.getScreenName().toUpperCase();...
Service "com.liferay.portal.kernel.messaging.DestinationFactory" is unavailable
Issue What does this error mean? When it will occur? 2021-07-21 00: 02: 06.207 ERROR [ServerService Thread Pool - 111] [ServiceProxyFactory: 109] Service "com.liferay.portal.kernel.messaging.DestinationFactory" is unavailable in 60000 milliseconds while setting field "...
Errors when executing upgrade process for com.liferay.exportimport.service
Issue The ExportImport Service failed during the upgrade from Liferay 6.2 to DXP 7.2: ERROR - Failed upgrade process for module com.liferay.exportimport.service com.liferay.portal.kernel.upgrade.UpgradeException: com.liferay.portal.kernel.exception.SystemException:...
How apply changes to Tomcat's server.xml file in Liferay PaaS
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue I need to make some changes in Tomcat's server.xml file, but don't know how to do it in a Cloud environment. Environment Liferay PaaS...
The jgroupsping entries not getting deleted from table in Kubernetes environment
Issue In case of using Kubernetes, you might encounter a problem in your cluster using JDBC_PING, as the entries from the jgroupsping table related to the shutdown pods are not getting deleted. Environment DXP 7.3+ Kubernetes Resolution Set the following property:...
Upgrading from Fix Pack 1 to Fix Pack 2 in Liferay DXP 7.3, a NoSuchGroupException occurs
Issue When upgrading from Fix Pack 1 to Fix Pack 2, issues with the control panel options arise, such as being unable to use the page building option and having no portlets visible on the home page. The console errors seen during server startup are listed below. ERROR...
com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption
Issue The server is down with the below exception. What does this error mean? ERROR [https-jsse-nio-8443-exec-144] [JDBCExceptionReporter: 234] The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "Connection reset...
Application performance comparison between Unicast and Multicast configurations
Issue As per the business-specific requirement, modified the configurations by changing from default multicast with unicast clustering. While doing so, how the application performance will be impacted between Unicast and Multicast configurations? Environment Liferay 6.2  Resolution There...
Create custom notification module
Issue Unable to get notification over UI even after adding entry in usernotificationevent table through UserNotificationEvent API. Environment Liferay DXP 7.2 Resolution Even after adding entry in usernotificationentry, in order to interpret the notification event and determine whether...
Using JSONFactoryUtil.looseDeserialize method deserilizes to HashMap instead of my class.
Issue We have a WAR portlet that uses JSONFactoryUtil.looseDeserialize method. Also, our class is defined as whitelisted. See following: json.deserialization.whitelist.class.names=\ com.liferay.portal.kernel.cal.DayAndPosition,\ com.liferay.portal.kernel.cal.Duration,\...
Getting com.mysql.cj.jdbc.exceptions.CommunicationsException on server startup
Issue User gets below error on server startup/restart: ERROR [main][DialectDetector:147] com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure__The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from...
NullPointerException in service builder methods after upgrade to DXP 7.3
Issue After upgrading the portal to DXP 7.3, the following stack trace in some custom modules is reported: Caused by: java.lang.NullPointerException at com.liferay.portal.cache.internal.dao.orm.FinderCacheImpl._getArguments(FinderCacheImpl.java:466) at...
"Your request failed to complete" error is displayed on the user interface but there is no more information about it
Issue If there is an unexpected error, sometimes a "Your request failed to complete" error is displayed on the user interface, but no additional information is given. How can I get more information on this error? Environment Any Liferay DXP version Resolution In order to get more...
How can I manually force the generation of document thumbnails?
Issue It is necessary to regenerate all thumbnails of the documents in documents and media. After executing "Reset preview and thumbnail file for Documents and Media" in the server administration section, the thumbnails are deleted, but they are not regenerated until the thumbnail is...
Multiple Spring MVC Portlets names are not displayed in Add Widget menu when added in the same WAR file
Issue When creating custom widgets, if multiple widgets are deployed within the same war file, the individual names of the widgets are not seen in the Add Widget menu within Liferay Instead, each widget shares the same name Environment Liferay DXP 7.3 Resolution This occurs if a widget...
Known Issue [Resolved]: Staging publications in the Global site fail due to duplicate categories after upgrade to 7.3 or 7.4
Issue After upgrading our 7.0 bundle (where we had some categories in the Global site used for various assets) to 7.3, the vocabularies look to be duplicated in the post-upgrade environment (one list that cannot be edited/deleted), and new staging publishing events in the Global site are...
Fetching the web contents with the "Accept-Language" header returns different languages
Issue Fetching the web contents using the headless API with the "Accept-Language" header returns the selected language variation if there is a translation for it, but otherwise, it returns the default language version. curl -X GET...
Known Issue: "PermissionChecker not initialized" errors are observed and no pages are rendered following upgrade to 7.3
Issue After upgrading from 7.0 to 7.3, when we start up our bundle for the first time the site does not render any pages (other than to show "powered by" on the home page) and the following error can be observed in the logs: Caused by: java.lang.RuntimeException:...
How to connect to API Rest using Digest Auth in 7.1
Issue It's not possible to accces to an endpoint in 7.1 when using Digest Auth using the same configuration as used in higher versions (for our example we'll use 7.3). For the reproduction steps we'll use: the same endpoint used in How To Invoke A Service, namely...
After upgrading from 7.2 to 7.3, Style Books throws IllegalArgumentException
Issue After upgrading from 7.2 to 7.3, Style Books is inaccessible Steps to Reproduce: Launch a clean 7.2 DXP bundle Shut down the bundle once the portal appears in the browser Upgrade to 7.3 and launch the 7.3 bundle Navigate to [Site_Administration] > Design > Style Books Actual...
SQLRecoverableException
Issue The server is down with the below exception java.sql.SQLRecoverableException. What will be the possible root cause which triggers this exception? 2021-10-12 10:25:54,807 SEVERE [Common.CommonUtils] (default task-48) null: java.sql.SQLRecoverableException: IO Error: The Network...
7.2 to 7.3 upgrade fails with "Failed upgrade process for module com.liferay.asset.display.page.service"
Issue The upgrade fails with an error message that includes the following line: ERROR [main][UpgradeStepRegistratorTracker:144] Failed upgrade process for module com.liferay.asset.display.page.service Environment DXP 7.2 DXP 7.3 Resolution Important: make sure to test the following steps...
Restricting redirection to whitelisted URLs
Issue I want to specify the URLs my users get redirected from our site.  Environment DXP 7.0+ Resolution You have more information about this settings in this article: Errors in the log file of the type "Redirect URL is not allowed" and seemingly unrelated symptoms By using these...
Bulk deployment state loop
Issue When trying to deploy the modules in bulk, the modules got stuck in a start-stop loop. Environment Liferay DXP 7.2, 7.3 Resolution It's an already known issue LPS-139889 and will be fixed in the upcoming fix pack. Please create a support ticket to request a hotfix. Additional...
How to resolve a Jenkins "Failed to rotate logs" error when executing the Project Build Discarder
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue In our -infra service's CI logging, we are seeing frequent errors such as the following: build-10 [ci-0] WARNING   ...
How to get the groups associated to organizations using JSON Web Services
Issue There is no method available in the JSON Web Services API to obtain the groups (i.e. sites) associated to organizations. Is there a way to get them? Environment Liferay DXP 7.0, 7.1, 7.2, 7.3 Resolution There are two auxiliary methods available in the JSON WS API than can be...
After updating to DXP 7.2 FP dxp-13 the Spring portlets show an Unsatisfied dependency error
Issue After updating to DXP 7.2 FP dxp-13 the Spring portlets show an Unsatisfied dependency error. The trace is: ERROR [fileinstall-directory-watcher][ContextLoader:350] Context initialization failed org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean...
Unresolved requirements using a class from util-java in custom development
Issue Trying to use a class from /util-java, such as com.liferay.util.Normalizer, in a custom development by adding to build.gradle the dependency compileOnly group: "com.liferay.portal", name: "com.liferay.util.java" will lead to unresolved requirements such as: 2021-08-19 09:56:31.228...
How do we set the number of Recent Sites that show up in the Control Panel's Sites column?
Issue We would like to control how many Recent Sites are listed on the Control Panel's Sites column. Environment Liferay DXP 7.3 Resolution The following property can be declared within the portal-ext.properties file with the desired number of Sites listed:     #     # Set the maximum...
How can I resolve "Unable to get portal cache manager MULTI_VM_PORTAL_CACHE_MANAGER" errors?
Issue I am seeing the following error in my clustered environment: com.liferay.portal.kernel.messaging.MessageListenerException: java.lang.IllegalStateException: Unable to get portal cache manager MULTI_VM_PORTAL_CACHE_MANAGER   Environment DXP 7.2 DXP 7.3 Resolution LPS-123495 prevents...
Are directories "document_preview" and "document_thumbnail" strictly necessary to upgrade to DXP?
Issue During the upgrade, there are usually many thumbnails and previews, which could significantly increase the duration of the upgrade. Environment Liferay DXP 7.0, 7.1, 7.2, 7.3 Resolution It's not necessary to copy these directories to new installation. In order to avoid high CPU...
Fetch forms through API in Liferay DXP 7.1 and above
Issue I would like to fetch forms with the DDLRecordSetLocalServiceUtil.getRecordSets(groupId) API call, but it only returns DDL records and not any forms.  Environment DXP 7.1 - DXP 7.3 Resolution Since DXP 7.1, forms have been separated into other tables from the DDLRecordSet table,...
Session timeout problems in Azure related environments
Issue OIDC and SAML2 connections with Azure-related services can experience session timeout related problems where the session expires before its intended lifetime. Environment Liferay DXP 7.2 Liferay DXP 7.3 Resolution To resolve issues like this there are a few things that need to be...
How do I disable the Trial license within a Liferay DXP image?
Issue My Liferay Docker Image is giving a warning message that the Activation Key needs to be updated: ERROR [fileinstall-directory-watcher][LicenseManager:?] DXP Development license is expired We have noticed that the Liferay DXP Trial key is still being processed despite us deploying...
Liferay 6.2 upgrade stops at UpgradeDynamicDataMapping#upgradeXMLStorageAdapter step
Issue The Liferay upgrade process hangs at one specific part for a longer period of time (several hours)  com.liferay.dynamic.data.mapping.internal.upgrade.v1_0_0.UpgradeDynamicDataMapping#upgradeXMLStorageAdapter Environment Portal 6.2 while upgrading to DXP 7.0 and above  Resolution...
How to enable Hibernate query parameters logging
Issue Sometimes it can be useful to check which query is executed against the database as well as its parameters. Resolution To show the information in the logs the following has to be done: From Control Panel add the following category to ALL: org.hibernate.SQL From Control Panel add...

Showing 4,441 to 4,480 of 8,761 entries.