Search Results

All Results 6965
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
How do I implement a JNDI database connection on 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 Portal Administrators may require a connection to the...
Auto Upgrade in DXP 7.3 and Above
Issue Starting from Liferay 7.3, new upgrades for modules won't run automatically on startup by default. Resolution The following options are available to run the upgrades we may include in fix/service packs:...
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...
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...
[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....
'Connection reset by peer' when uploading files
Issue You are encountering the following exception in the logs: java.io.IOException: Connection reset by peer Users cannot upload files and errors like the following are printed (some examples): WARN...
Remove portlets programmatically with the removePortletId method
Issue I would like to remove portlets from pages programmatically (e.g. with a script or a background job) with the use of the removePortletId method, but without permission checking.  Environment Liferay DXP...
Is it possible to change how much memory Gradle uses during a Liferay PaaS build in Jenkins?
Issue Since our Jenkins builds are using Gradle Daemons, we would like to increase the memory available to control how much memory Gradle uses, so that it is increased from this default: org.gradle.jvmargs=-Xmx512m...
Error "Incorrect string value" in logs when adding emojis to Web Content
Issue When inserting emojis (emoticons) to a Web Content article, the portal fails to add/update the article and an error similar to the one below is shown on logs. 09:33:30.544 ERROR...
Amazon S3 - Report generation leads to multipart upload failed error
Issue Cannot generate reports on Liferay 6.2 and Amazon S3 Hitting multipart upload error when creating CSV file Scenario - With an S3 bucket configured for use and a data-definition in place, we find that when...
HttpOnly flag in JSESSIONID cookie using JBOSS application server
Issue JSESSIONID cookie does not contain the HttpOnly flag. Environment Liferay Portal 6.2 JBOSS Resolution You need to change it on your application server configuration, in the...
Unable to capture page view data
Issue My script is not working to capture page count metrics Unable to record page count data Only able to capture page views when I refresh the browser When navigating around site pages only the content gets...
Avoid user login after every session timeout
Issue On every session expire it is asking for user login again Environment Liferay 7.0 Resolution Login after each session timeout is the default functionality of the Liferay portal. In order to avoid login after...
Is there any way to retrieve the User account's creator
Issue Is there any way or SQL statement to retrieve the User account's creator? Environment Liferay DXP 7.0 Resolution There have two ways to retrieve the User account's creator. The user account's creator can be...
Should OSGi config files and the values in the System Settings application always be in sync?
Issue I have a module where I do not want to store sensitive data (eg. password) in the config file I would like to provide this value over the UI in System Settings Is it possible to use a "mixed" approach?...
Unable to restart bundles from GoGo Shell
Issue When running update {Portlet ID} in the GoGo Shell, you get an error on the UI saying the request could not be completed. Environment Liferay DXP 7.2 Resolution This behavior is a known issue when trying to...
How to check the number of retained sessions
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...
There are more database connections than allowed by jdbc.default.maxPoolSize
Issue The maximum pool size of connections to the database is explicitly limited via the property jdbc.default.maxPoolSize. Nevertheless, the number of connections exceeds this maximum pool size. Environment...
Unable to set a virtual host
Issue We can't add/update our domain to our site's or instance's virtual host We get the below error on the UI: Please enter a unique virtual host. Virtual hosts must be valid domain names. Environment...
Can't disable propagation of changes because of modified display settings
Issue When trying to disable the propagation of changes from a site template to my site, the option is not shown, instead there's a message stating: You cannot enable the propagation of changes because...
AssetTagException when using special characters in tag names
Issue AssetTagException is thrown when the article gets published, in case special characters are used in tag names. 2020-06-23 07:16:18.168 ERROR [http-nio-10.155.2.197-443-exec-4][PortletServlet:112]...
On 6.2 fix packs before portal-167-6210, Liferay shows a blank home page on MS IE11 and MS Edge
Issue When working in a Portal 6.2 EE environment with JBoss EAP 7.0, a web server and a patching level lower than portal-167-6210, the Liferay home page, when displayed on MS IE11 and MS Edge, will be blank ...
How can I disable the Document Library File Rank Service in DXP 7.1 and 7.2?
Issue I would like to disable the Document Library File Rank Service In Liferay Portal 6.2 and DXP 7.0, there used to be a property which is now removed: dl.file.rank.enabled=false Environment Liferay DXP 7.1 Liferay...