Search Results

All Results 6961
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
How to acquire Liferay PaaS logs in a file on a local machine without requiring browser interaction
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue Our team would like to transfer Liferay PaaS logging into a file on our local machines -- however, we would like to automate this if...
Liferay application is not reconnecting with database server
Issue Why Liferay application is not reconnecting with the database server? Environment Liferay DXP 7.0 Resolution In case the database services have been restarted, Liferay would need a restart to re-establish the DB connections as the application server needs to enable locks on certain...
Setting up Microsoft Server AD with Liferay
Issue This article provides you detailed steps to set up and configure Microsoft Server AD to Liferay. Environment Liferay DXP 7.1 Resolution Changing Computer Name: Control Panel → System and Security → System Computer name, domain and workgroup settings → Change Settings Click Change....
Certified vs Supported Environments
Issue Difference between "Certified" and "Supported" Environments Environment Liferay Portal 6.2 Resolution The difference between certified and supported is related to amount of testing the technology by our Quality Assurance(QA) Team. Here, certified means that the combination of...
Does the /osgi/state folder need to be cleared before upgrading to Liferay DXP 7.3+?
Issue When we upgraded to Liferay DXP 7.3 there were errors. However after clearing the /osgi/state folder within the DXP 7.3 bundle a follow up upgrade completed without issue. Environment Environment's upgrading to Liferay DXP 7.3+ Resolution To help ensure that the upgrade process...
'Invocation of 'addApplication' failed' after upgrading
Issue The migration was seemingly successful, but upon startup the following error is appearing in the logs: 2021-05-10 08:09:13.142 ERROR [Portal Dependency Manager Component Executor--1][AbstractJAXRSFactoryBean:102] No resource classes found 2021-05-10 08:09:13.148 ERROR [Portal...
Resolve the below error
Issue Observed the below error in the logs: Caused by: java.sql.SQLException: javax.resource.ResourceException: IJ000453: Unable to get managed connection for java:/jdbc/LiferayPool at org.jboss.jca.adapters.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:146) at...
Is it possible to add additional columns to the CSV Log Message Formatter system setting?
Issue While looking into configuring CSV Log Auditing for an environment, our team noticed that the CSV Log Message Formatter system setting (within System Settings > Audit) has +/- buttons to add/remove columns. Is it possible to add additional columns to the auditing output, such as a...
Is there any configuration that can be done in Liferay to encode all the URLs ?
Issue If there is a mechanism available in the Liferay portal to encode all the URLs? Environment Liferay DXP 7.2 Resolution Liferay DXP 7.2 out of the box includes the Antisamy Module that protects against malicious code that users might create. Liferay DXP uses the AntiSamy sanitizer...
Fragment bundle not getting deployed
Issue  The issue is occurring whenever fragments getting deployed and in case if the custom dependency API module is not deployed, all the 14 host-dependent bundles go in the loop of start-stop, the only resolution then is to restart the server. 2021-03-24 13:19:48.996 INFO [Refresh...
Stopping scheduled tasks in Liferay
Issue I would like to stop the out-of-the-box scheduled tasks in Liferay. Environment Liferay Portal Liferay DXP Resolution Most of the scheduled tasks included in Liferay can be found by searching for .check in the list of the Liferay version's portal properties. Once the scheduled...
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...
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...
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...
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 Liferay? Environment DXP 7.0   DXP 7.1   DXP 7.2 Resolution To completely...
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 https://<LB_IP_ADDRESS> --2020-01-01 00:00:00-- https:/<LB_IP_ADDRESS>/ Connecting to...
Deployment of Ext-plugin module
Issue Below exceptions are occurring while deploying "Asset Publisher Web Module" ext-plugin...
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 application server to that version? Environment Liferay Portal 6.2+ Liferay DXP 7.0+...
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 Gear Icon of the Public Pages. 3) In the Look and Feel section, disable...
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 is UTF-8 encoded and therefore special Unicode characters (eg.: Japanese or...
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 track the last chosen language of the current user, until they explicitly sign out of the portal...
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. Example results: <?xml version="1.0"?> <root available-locales="en_US"...
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 use the feedback button to let us know. Issue The following error occurs...
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 is set through the liferay/gradle.properties file in a 4.x+ workspace...
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] PortalPreferencesPersistenceImpl.fetchByO_O(long, int, boolean) with parameters (20103,4) yields a...
How to update and deploy only a single service 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 Is there any way to deploy updates for only one Liferay PaaS service at a time? Only a minor configuration change is needed, and it...
Title/Description truncated during upgrading to Liferay 7.1+
Issue Receiving warnings in the log during the upgrade process about truncated titles/descriptions for certain articles. Example: WARN [ForkJoinPool-5-worker-2][UpgradeJournalArticleLocalizedValues:192] Truncated the description value for article 12345 because it is too long WARN...
Unable to start up server due to configurations from Oracle database
Issue Using Oracle and having a NULL dictionary in the table Configuration_ for the configurationid org_apache_felix_cm_impl_DynamicBindings, the below error will appear: java.lang.RuntimeException: org.osgi.framework.BundleException: Exception in...
After successful upgrade from Liferay Portal to DXP, portlets show "This portlet could not be found" messages and errors in logs
Issue After what looked like a successful upgrade attempt from Portal 6.2 to DXP 7.2, various errors are encountered when starting up the 7.2 bundle (including Failed upgrade process errors relating to the DDM module), and portlets in the UI are replaced with a message that notes: "This...
GraphQL fails after update to Fix Pack 4 or Fix Pack 5
Issue When updating to Liferay DXP 7.2 Fix Pack 4 or Fix Pack 5, you may encounter the following error when using GraphQL: 2020-02-25 10:48:50.588 ERROR [http-nio-8080-exec-8][AuthVerifierFilter:62] java.lang.NullPointerException java.lang.NullPointerException at...
How can I change the email template of the Password Changed Notification?
Issue When the password is changed, users get a notification email. I would like to change the template of that email. Environment Liferay DXP 7.0+ Resolution Navigate to Control Panel > Configuration > Instance Settings On the "Configurations" tab scroll down to "Email Notifications"...
"Incompatible argument to function" error on SimpleCaptchaImpl after installing Liferay DXP 7.1 Fix Pack 17 or 7.2 Fix Pack 5
Issue After installing Liferay DXP 7.1 Fix Pack 17 or Liferay DXP 7.2 Fix Pack 5, customers using Liferay may notice an error at startup: ERROR [Start Level: Equinox Container: 03872104-7588-4c48-9e30-b4e53004033b][SimpleCaptchaImpl:93] bundle com.liferay.captcha.api:2.0.21...
How to find the default CKeditor version in the Liferay instance
Issue How to find the default CKeditor version in the Liferay instance. Environment Liferay DXP 7.0 Liferay DXP 7.2 Resolution Steps to find the version of the CKeditor in the Liferay instance: In the portal, click on "add the blog entry" which will open the CKEditor in the UI of the...

Showing 2,481 to 2,520 of 8,730 entries.