Search Results

All Results 7023
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
ClassCastException in Xerces with JBoss EAP 7.3 and IBMJava
Issue When Liferay 7.3 is deployed on JBoss EAP 7.3 using IBMJava, the following exception is thrown at startup and the server fails to start: ERROR [ServerService Thread Pool --...
Groovy Script to truncate the data of UserTrackPath Table
Issue If you want to truncate the data from UserTrackPath Table Environment Liferay DXP 7.2 Resolution Below is the Groovy Script which might help to truncate the data from UserTrackPath table. import...
Upgrade to DXP 7.3 fails due to error about an already existing column
Issue When running the DB Upgrade Tool, the upgrade fails due to an error regarding a duplicate or already existing defaultvirtualHost column. (See examples of the error below) Upgrading Oracle DB Caused by:...
What Is The Property Layout.url?
Issue What is this property and how it is invoked by Liferay? layout.url=${liferay:mainPath}/portal/layout?p_l_id=${liferay:plid}&p_v_l_s_g_id=${liferay:pvlsgid} Environment Liferay DXP 7.2 Resolution layout.url defines the...
Intermittent LDAP login failures due to LDAP response read time out
Issue With large LDAP directories, user login can sometimes fail if the LDAP query takes longer than the configured read timeout (default value is 500ms)  WARN [http-bio-exec][LDAPAuth:176] Failed to bind to the LDAP...
How to resolve an IllegalArgumentException when attempting to update a Destination Worker's Core Size and Maximum Size
Issue When attempting to update the Worker Core Size and Worker Maximum Size (for example, changing the liferay/background_task destination name to a core size of 5 and a max size of 10), though the update appears...
Delay when fetching data from headless-admin-user/v1.0/user-accounts for the first time after server restart
Issue When running a REST API call as below:...
Caching js_resolve_modules calls
Issue The load time and the amount of data that is requested from the server by caching resolved_modules should be reduced. Environment Liferay 7.2 with DXP-8 Resolution A hotfix has been provided and below is the...
Local development Liferay bundle will stop working with IllegalStateException: Send redirect after commit
Issue Portal developers running a local Liferay bundle with a developer Activation Key may suddenly be unable to use the server. The interface will redirect to /c/portal/license URL showing the License Server...
Unable to override lpkg files in hotfix
Issue I attempted to override an lpkg file in a hotfix through these steps: Create a customized .jar file and place the file in /osgi/marketplace/override Clear osgi/state and restart Liferay See that Liferay is unable...
Violation of PRIMARY KEY constraint on startup after DB upgrade
Issue After successfully upgrading your DB with the db-upgrade tool you might face a similar error to the following one on fresh startup:...
Is it possible to schedule LDAP imports for a specific time of day in Liferay DXP?
Issue In Liferay Portal 6.2, it was possible to create a cron trigger in the liferay-portlet.xml file to accomplish LDAP imports for a specific time of day without creating a customization. These types of scheduled...
Freemarker showing verbose exception
Issue Freemarker is showing verbose exception on site, even though RETHROW is set. Environment Liferay DXP 7.2 Resolution The Journal Article error template can be configured with the following steps: Navigate to...
After upgrading a staged environment from 6.2 to DXP, the tag function does not work properly
Please be aware that the page you are viewing has been machine translated from Japanese into English and may contain some translation errors. If you observe any issues with the translation, please contact us. Issue...
Is It Possible To Change Deployed War Location?
Issue The default location of the deployed war is ${liferay.home}/osgi/war folder. Is it possible to change the location?   Environment Liferay DXP 7.0+   Resolution You can use the following property to change the...
I Can Not Access Exploded War With DXP 7.0+
Issue With Liferay DXP, all the deployable wars move from {LIFERAY_HOME}/deploy into {LIFERAY_HOME}/osgi/war/ directory as a war file. But in Liferay 6.2 it used to be deployed as an exploded content into...
Warnings get thrown while attempting to upgrade Lock_ table
Issue Several warnings get thrown, while the migration tool is trying to upgrade Lock_ table. WARN [main][UpgradeProcess:446] Attempting to upgrade table Lock_ by recreating the table due to: You have an...
dl.file.rank.enabled property in Liferay
Issue Details on disabling the "dl.file.rank.enabled" property with the below queries. 1) The usage of this property? 2) What would be the impact on the system if disable it? 3) Will there be any impact on the...
Upgrade from Liferay DXP 7.2 FP5 to Liferay DXP 7.3 GA1 fails
Issue When running the DB upgrade process from Liferay DXP 7.2 FP5 to Liferay DXP 7.3 GA1, it fails due to Duplicate column name 'defaultVirtualHost':...
Customising soy files in ext plugins
Issue 1) Create Ext-plugin by adding ext-files (SelectCategory.es.js and SelectCategory.soy). 2) Deploy through Gradle "deploy" Or place the jar to osgi/marketplace/override folder. 3) Deployed path should be:...
Unexpected URLs in Page Analytics
Issue The URL pattern of different pages in the page analytics is changed i.e., starting with 'https:///' such as 'https:///login'. Environment Liferay 7.2 Resolution This is certainly an invalid URL because, even...
Change to portal-ext.properties files not being reflected in node
Issue After making changes to different properties in the portal-ext.properties file, these changes are not being reflected in the environment when Liferay is being started up. Environment Liferay DXP 7.0 Resolution...
Disable Pragma: no-cache header
Issue Liferay adding a "Pragma: no-cache" to the response header, and this is preventing the app server, or the client from caching the data. Environment Liferay DXP 7.2 Resolution Set the browser.cache.disabled...
How do I remove the Speedwell theme from Liferay DXP 7.3?
This article is intentionally set as Internal Only Issue When not using Liferay Commerce in a DXP 7.3 environment, the Speedwell theme may remain as the default fall back theme when deploying a custom...
Why is .bc.googleusercontent shown when doing nslookup on Liferay Load Balancer IP?
Issue When running a nslookup command against the Load Balancer IP that can be seen at Network > Endpoints > Ingress endpoints, .bc.googleusercontent.com will be appended to the Load Balancer's IP: $ nslookup...
How to persist a Secret Environment Variable when deleting and redeploying a service
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue For business reasons, we have a custom service that we...
Cache Override
Issue This article describes how to override the cache in 7.0 taking into account two different aspects: EhCache settings and Replication settings. The first one implies creating a new module, while the second is...
Enable BundleStartStopLogger debug log traces
Issue How to enable BundleStartStopLogger debug log traces to see module lifecycle events during startup. Environment Liferay DXP 7.0+ Resolution Stop the server. If it doesn't exist create a folder named log4j...
Portlet Management in a clustered Liferay DXP using WebLogic
Issue How can I manage portlets in a clustered Liferay DXP environment using WebLogic?    Environment Liferay DXP 7.x WebLogic   Resolution Since Liferay DXP 7.x, you will have no access to any modules deployed within the...
How to manually remove / delete a portlet
Issue How can I completely delete a portlet so that I can redeploy an older version? When I uninstall a portlet from the App Manager, it's only Blacklisted and not uninstalled. How do I remove a custom module in...
Why does the liferay.cloud certificate appear when making curl/wget requests to the Load Balancer IP address?
Issue When running a curl or wget command against the Load Balancer IP that can be seen at Network > Endpoints > Ingress endpoints, the 'certificate common name' will resolve to liferay.cloud: $wget...
Deployment of Ext-plugin module
Issue Below exceptions are occurring while deploying "Asset Publisher Web Module" ext-plugin...
Can I Manually Execute Quartz Schedulers From the UI?
Issue I would like to trigger Quartz Scheduler jobs manually from the UI in case they ever miss a scheduled job. Environment DXP 7.0 DXP 7.1 DXP 7.2 Resolution Liferay does not currently have a feature for...
SSL Exception with MySQL and JDK 11
Issue After starting Liferay with MySQL and JDK11, and after waiting for some time, the following traces might occur: ** BEGIN NESTED EXCEPTION ** javax.net.ssl.SSLException MESSAGE: closing inbound before...
Change in "view in context" URL for document file entries
Issue Why does the Search Results Portlet display a different "view in context" URL for document file entries after upgrading to dxp-15? Environment DXP 7.2 with dxp-15+ Resolution Up until dxp-14, the URL format...
LPKG Index Validation takes too long and ends up in out of memory error
Issue When we start our test server with -Xmx1024Mb after applying a new patch, the LPKG Index Validator is running too long and we are getting GC overhead exception, ending up in OutOfMemoryError: WARN [HikariPool-1...
After setting up Liferay DXP on a fresh application server via WAR file and dependencies, "java.lang.NullPointerException: entry" thrown on startup
Issue I set up Liferay DXP on a fresh application server using the WAR file, dependencies and OSGi dependencies according to the Installing Liferay DXP on Tomcat guide, and the following errors are thrown on startup:...
"Unable to deploy LPKG file ..." errors after making environmental changes
Issue When freshly downloading a bundle, starting it up with Hypersonic database, stopping it, configuring a different database in the portal-ext.properties file then starting the portal again there are...
The default Liferay DXP site's name cannot be localized/translated
Issue I am using the default Liferay DXP site, renamed it, but I do not see the language button or an option to add the site name in different languages. Environment Portal 6.2 DXP 7.0+ Resolution The default site's...
How to update our Tomcat server?
Issue We've found a security issue in our current Tomcat server version The issue has been fixed in the latest version of Tomcat Does Liferay provide a fix for the issue? If not, how can we upgrade our...
Disable Footer Section
Issue How to hide the footer section("Powered by Liferay" section)? Environment Liferay DXP 7.2 Resolution The below steps can be followed to disable the footer section: 1) Go to Site Builder > Pages. 2) Click on the...
Config file deployment with values in special Unicode characters are not visible properly in User Interface
Issue When exporting some settings from Control Panel → System Settings, the resulting OSGi config file will be UTF-8 encoded. However, at the next startup, when reading that file, Liferay does not assume that it...
How HTTP cookies are being used in Liferay DXP 7.0+
Issue How are the cookies being used in Liferay DXP 7.0 (and above)? Tested Environments Liferay DXP 7.2 Liferay DXP 7.1 Liferay DXP 7.0 Resolution GUEST_LANGUAGE_ID: In 7.0+, used to...
Searching with JournalArticleLocalServiceUtil class for "xml" returns all contents
Issue When using the JournalArticleLocalServiceUtil class to search for web content articles, it is considering the xml tags of the field content. So if we search for "xml", it returns all the web content articles....
Login fails in local environment.
This article has been machine translated from its original language for your convenience. Please use discretion as this translation may include some inaccuracies. If you encounter issues with the translation, please...
How to decide which Liferay DXP image from Docker Hub to use with 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 Now that the Liferay DXP image for a Liferay PaaS environment...
Understanding a "There is no order guarantee on which result is returned" Portlet Preferences warning when using embedded Hypersonic
Issue When unzipping and launching a 7.1 SP4 bundle, the following WARN is shown in the logs: 2020-09-30 15:21:30.057 WARN [http-nio-8080-exec-2][PortalPreferencesPersistenceImpl:208]...
How to give permission to users to see the title and description of Calendar events?
Issue Unauthenticated users or users with the default User role can not see the title and description of Calendar events  Environment DXP 7.2 DXP 7.1 DXP 7.0 Resolution Log in as your administrator user to Liferay Go...
Adjusting Log Levels to persist after portal restart
Issue Log levels that have been adjusted through the Server Administration are reset after a server restart. I'd like the log levels adjustments to persist after restarts. Environment DXP 7.0+ Resolution Adjust log...
[CKEditor] Paragraph tag is appended to content in blogs by default
Issue We are using CKEditor instead of the regular editor. When putting some content into the HTML field while creating blogs <p> and </p> tags are appended by default. We would like to remove these tags or change them...
Component with id [...] is being registered twice console warnings in the browser
Issue We often experience some javascript warning messages when opening different parts of Liferay, e.g. the web content editor They say This can lead to unexpected behaviour in the "Liferay.component"...
How to resolve Jenkins failing to build a service in Liferay PaaS with a non-zero exit value of 137
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 attempting to build a Liferay PaaS service, our Jenkins...
Resolving When a .lar File Exported From Asset Publisher is Empty
Issue I exported a .lar file directly from the Asset Publisher using Widget Menu -> Export didn't contain any assets and was only a few kb in size. Our environment is patched to de-92 Environment DXP 7.0 DXP 7.1...
Cannot Access Login Portlet After Changing Root Context and Updating Patches
Issue After changing the root context in my Liferay DXP 7.2 instance and installing fix pack dxp-6, the login portlet is grayed out and inaccessible. In the browser console, I see that the root context is doubled...
Unable to disable the footer option after upgrading to Liferay DXP 7.2
Issue 1) Not able to disable the footer option of the classic theme after upgrading the Liferay 7.0 to Liferay 7.2 2) Steps to reproduce Go to the public page configuration To disable show footer, unchecked show...
Known issue: Error "Invalid version number: Version number may be negative or greater than 255" when starting up Liferay 6.2 using jdk 8u261 or later
Issue The following error was reported when starting up Liferay Portal 6.2 using jdk 8u261 or later Oct 19, 2020 3:02:57 AM org.apache.catalina.core.ApplicationDispatcher invoke SEVERE: Servlet.service() for servlet...
JSPs stop working if their osgi module is restarted and direct.servlet.context.reload property is configured to false
Issue JSPs stop working if their osgi module is restarted and the direct servlet context reload functionality is disabled with the direct.servlet.context.reload=false setting. The issue is also reproduced in case: You...
Liferay PaaS - DB user doesn't have super privileges for the database service
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue Liferay PaaS backup service will throw: ERROR 1227...
Java parameter UseContainerSupport doesn't work
Issue We are trying to specify the amount of memory Liferay can use by setting the -XX:+UseContainerSupport property However, it seems to take no effect and we don't see the specified limit shown in the...
Groovy Script for deleting users from the database
Directly modifying the database is not advised because we are unable to provide assistance regarding the damage it might do. The suggested approach in these cases is a groovy script that uses Liferay's API....