Search Results

All Results 6967
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
How to resolve a "failed to 'KillContainer' ... context deadline exceeded" error observed in a Liferay PaaS service's status logging during deployment
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue Whenever we deploy a build (even if the image versions are not changed), we notice an "error killing pod" in the status logs of a...
Is it possible to apply ping command in Liferay SaaS shell?
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue On Liferay SaaS v3 stack, ping command was actually available at Liferay Service's Shell console. However, on v4 stack, the command...
Known Issue [Resolved]: Using the Liferay PaaS CLI lcp deploy command removes the git origin configuration
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue After using the lcp deploy command in the CLI to deploy a service, the command seems to erase the existing git remote origin...
Getting a JSON object through Liferay REST API no longer works on 7.2
Issue After migrating to Liferay DXP 7.2 from previous versions, customers may notice that REST API implemented on the portal according to the JAX-RS tutorial and targeted to get a JSON object will return: No message body writer has been found for class , ContentType: application/json...
Error when deserializing a session
Issue You might get an error when trying to deserialize a session, which looks similar to this: java.lang.IllegalStateException: Error deserializing Session [2522563CC05A5789E25189BD49FFB38C]...
A lot of services have unsatisfied references when running gogo shell ds:unsatisfied
Issue A lot of services have unsatisfied references in the output after running the gogo shell command ds:unsatisfied Environment Liferay DXP 7.3 GA1 Resolution This issue is caused by the settings scheduler.enabled=false in the portal-ext.properties This issue can be resolved by setting...
Documents and Media: Disable permission for users to add new folder
Issue A user assigned a 'Site Role' is able to create a new folder in Documents and Media How can I prevent a user creating new folders? Environment DXP 7.1    DXP 7.2    DXP 7.3    Resolution By default, Site Members are given the 'Add Folders' permission within the 'Documents and...
Email Notification for Document & Media Subscribed Folder
Issue Liferay DXP where multiple users have subscribed to a folder in Document & Media, all the users subscribed to the folder are receiving mail except the user who is uploading the document. However, in Liferay 6.2 all the users were receiving the mail irrespective of who is uploading...
Known Issue: Fragment section background colors are no longer full width after upgrading to 7.3 GA1
Issue After upgrading from 7.2 to 7.3, we noticed that some of our page fragments (contained within layout sections on content pages) that had been configured to use a full-width background color had the width shortened so that it only spanned the width of the container, instead of the...
How to set up a clean bundle in your 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 use the feedback button to let us know. Issue What is a clean bundle?...
Is there an officially supported DDM field extension mechanism for Liferay?
Issue Is there an officially supported DDM field extension mechanism? Does Liferay support the adding of custom DDM form fields? Environment DXP 7.1   DXP 7.2   DXP 7.3   Liferay CE Resolution At the time of writing, there isn't an officially supported mechanism for adding DDM custom...
Where can I get the database query logs for my Liferay PaaS project?
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue Where can I get database query logs for my Liferay PaaS project? Environment Liferay PaaS Dynatrace Add-On Resolution Ensure to...
Unable to send message: Could not convert socket to TLS
Issue In Fix Pack 92 we add the mail.session.mail.smtp.starttls.enable property to the portal.properties file to successfully configure the outlook mail server. After installing this Fix Pack or a higher one you might receive the following error: 2021-01-18 20:39:05.590 ERROR [default...
Upgrade fails for bundle(s) due to "Table 'X' already exists" error
Issue When running the DB Upgrade Tool, I'm seeing that my upgrade process fails due to an error that looks something like the following: Bundle X has invalid content in tables.sql:_create table X ... caused by ... Table 'X' already exists Environment Upgrade to Liferay DXP Resolution...
When attempting to use a Read/Write database split configuration, the Liferay startup logging warns that Hypersonic is in use
Issue When setting up an environment that uses a read/write database split, it appears that Liferay tries to use Hypersonic (HSQL) instead of the configured database, as the startup logs note: WARN  [main][DialectDetector:100] Liferay is configured to use Hypersonic as its database. Do...
How to resolve Jenkins builds no longer completing after GitHub user contact adjustments
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue After a user left our company (who had previously created a GitHub Personal Access Token (PAT), which we use to connect to our...
Fail to upgrade to fixpack dxp-8 or higher due to duplicate key error
Issue When trying to upgrade Liferay DXP 7.2 to fixpack dxp-8 or higher, the process fails due to the following error: ERROR [Portal Dependency Manager Component Executor--1][UpgradeStepRegistratorTracker:184] Failed upgrade process for module com.liferay.asset.display.page.service...
Tableau integration with Liferay
Issue How to integrate Tableau with Liferay? Environment Liferay DXP 7.2 Resolution There is no OOTB feature in Liferay which helps with the integration of Tableau with Liferay. For this, the Liferay Global Services team can be connected as they help in integrating with the Third Party....
java.lang.IndexOutOfBoundsException: Index: 2, Size: 2 errors appear on a portal 6.2 cluster environment
Issue The following error messages occupy 90% of the log files which are now having a big size: ERROR [catalina-exec-54][LiferayMethodExceptionEventHandler:34] java.lang.IndexOutOfBoundsException: Index: 2, Size: 2 java.lang.IndexOutOfBoundsException: Index: 2, Size: 2   Environment...
Headless Delivery API fails after patching to dxp-7
Issue After patching to dxp-7, the headless delivery API cURL command '/o/headless-delivery/v1.0/structured-contents/{journalArticleResourcePrimKey}/rendered-content/{templateKey}' is returning 500 status code responses and failing. Environment DXP 7.2 Resolution Because of a change...
Password Policies is inaccessible after upgrading from 6.2 to DXP 7.2 - workaround without rolling back to 6.2
Issue After upgrading from 6.2 to 7.2, navigating to Control Panel > Users > Password Policies shows a UI error "Password Policies is temporarily unavailable", and an error is thrown in the logs: ERROR [https-jsse-nio-8441-exec-4][PortletRequestDispatcherImpl:304] Unable to dispatch...
Permissions with Web Content
Issue Whenever the Guest and Site Member view permissions of the Web Content are removed, user is still able to see the web content added in the Web content Display Portlet. Environment Liferay DXP 7.0 Resolution This happens because Web Content's permissions are always overridden by the...
Using Virtual Instances on Liferay Cloud
Issue Despite creating additional Virtual Instances for DXP and adding custom domain(s) to the webserver service, users are still redirected to the default Virtual Instance. Environment Liferay Cloud Resolution To use Virtual Instances with your custom domains, add the following...
LayoutFriendlyURLsException Thrown on Upgrade to 7.3
Issue Upon upgrading to 7.3, a LayoutFriendlyURLsException was thrown on startup, even though no failures were present in the upgrade logs: WARN [Portal Dependency Manager Component Executor--1][PortalInstanceLifecycleListenerManagerImpl:146] Unable to register portal instance...
After upgrading to stack v4, the portal shows the message "This server has not been activated with Liferay Connected Services"
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue After upgrading to stack v4, the portal shows the message "This server has not been activated with Liferay Connected Services" on the...
JavaScript Loader OSGI config settings don't appear to be applied following an upgrade to 7.2+
Issue When upgrading to DXP 7.3, we moved our previously modified OSGi .config files to the new bundle, but the settings from the JavaScript Loader .config file do not appear to be taking effect, as the default values look to be in use. Environment Pre-upgrade environment: DXP 7.0 or DXP...
Changes to Tomcat classloading order as of Tomcat 8+
Issue In Tomcat 7 and earlier versions, class loading for EXT JAR files were done in alphabetical order. However, with Tomcat 8 and later, class loading has been changed to be decided by the underlying file system. Environment Liferay Portal 6.2 Tomcat 8+ Resolution If the order that EXT...
'Nested Applications temporarily unavailable' error
Issue After upgrading to DXP 7.2+, I see that some Nested Applications widgets are not displayed on my pages and instead show a Nested Applications temporarily unavailable error. Environment Upgrading from DXP 7.0 to DXP 7.2+ Resolution This error specifically occurs if the Nested...
Jackson libraries are missing in Liferay 7.2
Issue I would like to use the Jackson libraries with the RestTemplate in Liferay 7.2 to convert messages to and from JSON, but receiving errors upon trying to use the MappingJackson2HttpMessageConverter.  Environment DXP 7.2+ Resolution According to this article the...
Search Results Pagination uses IP Address instead of DNS Name when NGINX is configured
Issue NGINX load balancer is set up in my environment. All URLs in the portal redirect using friendly DNS name. This does not work for the Search Results widget. When navigating the Search Results widget, it uses the IP address and not the friendly DNS name. Environment Liferay DXP 7.0+...
Unable to install .cfg file after updating or upgrading to DXP 7.3 Fix Pack 1
Issue When placing a *.cfg file in the LIFERAY_HOME/osgi/configs folder an error is generated in the log: Unable to install .cfg file "{cfg-file-name}", please use .config file instead. Files with the *.cfg extension placed in the LIFERAY_HOME/osgi/configs folder are not read....
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 database through a Java Naming and Directory Interface (following: JNDI)...
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: Recover the old behavior with the property upgrade.database.auto.run set to...
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 -- 80][ServletContextHelperFactoryImpl:93] bundle com.liferay.portal.osgi.web.servlet.context.helper.impl:3.0.8...
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 java.sql.Connection; import java.sql.SQLException; import java.sql.Statement; 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: com.liferay.portal.kernel.upgrade.UpgradeException: java.sql.SQLException:...
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 format of the actual URL of the page layout. When a user...
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 server with ... javax.naming.NamingException: LDAP response read timed...
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 successful in the UI, the logs show a "CM Configuration Updater" error and...
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 explanation of how it works The hotfix is not depending on any browser....
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 details and the below error will appear in the server logs: ERROR...
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 imports were typically utilized to accomplish import processes during...
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 Control Panel > System Settings > Web Content > Web Content (VIRTUAL...
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 There is a staging configured Portal 6.2 environment There is a tag...
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 directory.  # # Set the directory where the module framework WAR...
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 JBOSS_HOME/deployments directory. With this change in Liferay DXP, now it is not...
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 error in your SQL syntax; check the manual that corresponds to your MySQL server...
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 portal if disable it? Environment Liferay 7.0 Resolution The usage of this...
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: {Liferay-Home}osgi/marketplace/override. 4) Delete temp folders and osgi/state...
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 if the complete URL would have been coming, it should be at-least having...
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 When Liferay starts, sometimes it can load multiple...
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 property to false in your portal-ext.properties file Additional Information...
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 <LB_IP_ADDRESS> Server: server.example.com Address: xxx.xx.xxx.xxx Name:...
Persisting a Secret Environment Variable upon 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 occasionally need to delete and recreate with a new deployment. However, when...
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 accomplished via portal-ext.properties Environment Liferay DXP 7.0...
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 inside $LIFERAY_HOME/osgi Inside the recently created folder: Deploy the...
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 OSGI container from the Weblogic console. The traditional way of...

Showing 2,101 to 2,160 of 8,739 entries.