Capability

Commerce

Liferay DXP includes robust e-commerce capabilities. Liferay’s commerce capabilities integrate content management, digital asset management, and comprehensive commerce functionalities, empowering you to deliver diverse online shopping experiences.

Use Liferay’s Commerce features to set up a storefront, add and manage products and catalogs, configure multiple channels for sales, configure multiple forms of payment, and much more.

Feature
Deployment Approach
Elasticsearch indexing error- NoNodeAvailableException
Issue Elasticsearch indexing error is getting thrown as below while upgrading the Liferay portal DB. 2020-02-21 11:39:23.096 ERROR [Framework Event Dispatcher: Equinox Container:...
Some portlets are disabled after upgrading
Issue After upgrading from a previous version of Liferay to Liferay DXP 7.2, some portlets were disabled and displayed error messages such as "This portlet is inactive. Please contact your portal administrator to...
Read the data of portlet.properties from custom portlet
Issue How to read the data from the portlet.properties from the custom portlet? Environment Liferay DXP 7.1 Resolution Please Note: The following procedures involve customizations that are beyond the scope of Liferay...
JBoss Server cannot be started without any error in the log
Issue JBoss Server with Liferay DXP deployed cannot be started without any error in the log Environment Liferay DXP 7.0 Resolution Consider extending the timeout "jboss.as.management.blocking.timeout" in Jboss Configuration....
DXP 7.0 start up fails with error ORA-00942 on empty Oracle database
Issue When trying to start up a DXP 7.0 portal on an empty Oracle database it fails. On the logs the following messages can be seen: 2020-02-20 20:16:01.209 INFO...
ORA-01408 exception when upgrading custom Service Builder module
Issue Running g! upgrade:check it turns out that a component was not migrated successfully, the output is for example: There is an upgrade process available for ServiceBuilder.service from 0.0.0 to 1.0.0 Upon...
Unable to add the image into the file repository while upgrading the portal DB
Issue Not able to upgrade the portal DB from DXP 7.0 to DXP 7.2 with the below repository error. ERROR [ForkJoinPool-2-worker-0][UpgradeImageTypeContent:184] Unable to add the journal article image 237723783 into the...
How to automatically log thread dumps when the portal is too slow in Liferay?
Issue How to automatically generate thread dumps when the portal is slow? Environment Liferay Portal 6.2 Liferay DXP 7.0,7.1,7.2,7.3, and  7.4 Resolution Liferay has provided the below two properties which...
How to Change the Session Timeout Value
Issue How do I modify Liferay's default session-timeout of any logged-in user? Environment DXP 7.2 DXP 7.3 DXP 7.4 Resolution This value is set on the [App_Server_HOME]/webapps/ROOT/WEB-INF/web.xml file....
${device} in Freemarker template does not return device data
Issue When using the Freemarker directive ${device} and checking the resulting content on the interface, no actual device data will be returned: {brand=unknown, browser=unknown, browserVersion=unknown,...
API for document deletion
Issue API for the document deletion Environment Liferay portal 6.2 Resolution Please Note: The following procedures and unofficial links involve customizations that are beyond the scope of Liferay Support.  Please...
I cannot save Instance Settings due to error: Please enter a valid mail domain
Issue I go to Control Panel > Configuration > Instance Settings (or Virtual Instances) I enter a valid mail domain and click Save I get the error: "Please enter a valid mail domain" Environment Liferay DXP 7.1 FP15+...
Date fields are set with invalid format on JDK9+
Issue After setting Liferay to use JDK9 (or any major), customers may notice that the date formats will be invalid upon selection on the date picker: for example, in Swedish, for a date like February, 20th, the...
Upgrade from 6.2 to DXP fails with IBM-specific AESSecretKey error
Issue Upgrade from 6.2 to DXP fails with IBM-specific AESSecretKey error, when a user was using IBM JDK for the 6.2 environment....
Update to DXP 7.2 Fix Pack 4 from DXP 7.2 GA1
Issue When updating from DXP 7.2 GA1 to Fix Pack 4 you may encounter the following startup error: 2020-01-31 02:55:02.013 ERROR [Framework Event Dispatcher: Equinox Container:...
bnd.bnd is not getting created with EXT module project
Issue bnd.bnd is not getting created with EXT module project. Environment Liferay DXP 7.2 Resolution Please Note: The following procedures and unofficial links involve customizations that are beyond the scope of...
How to identify the filename for a System Settings configuration file
Issue This article documents how to determine the filename that should be used for a Systems Settings configuration file (.config) that can be inserted into $LIFERAY.HOME/osgi/configs. Why? The creation of System Settings...
NullPointerException when compiling module JSPs in OpenJDK 11.0.6
Issue I'm using OpenJDK 11.0.6. When I deploy a module with custom JSP, JSP compilation fails with NullPointerException: java.lang.RuntimeException: java.lang.NullPointerException: entry at...
How to configure/use outlook mail server to send email notifications in Liferay
Issue While configuring outlook mail through Liferay mail configuration the below exception is thrown : " Could not connect to SMTP host: smtp.office365.com, port: 587"  OR ERROR...
Improve the Performance of JS Loader Modules Servlet
Issue How could we minify js_loader_modules file to improve our page load performance? Environment DXP 7.1 Resolution Install Fix Pack 11 which includes the following fixes to improve the performance...
UiWebView deprecation
Issue I get a UIWebView deprecation warning that Apple will stop accepting submission of apps that use UIWebView APIs; Liferay mobile SDK uses the AFNetwroking library which is using UIWebView APIs. Environment...
The portal becomes unresponsive due to java.io.IOException: Broken pipe error thrown in the log
Issue The portal becomes unresponsive and the log is filled with the below error, ERROR [default task-112985][VirtualHostFilter:375] java.io.IOException: Broken pipe java.io.IOException: Broken pipe  at...
PortalContextLoaderListener with Runtime Exception
Issue After upgrading the Liferay portal DB from 6.2 to 7.2 successfully, Unable to start the server. Below error occurs: [# Error1] 27-Dec-2019 21:01:10.432 SEVERE [main]...
How to generate the crt and key of a certificate on base64 for a custom domain 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 As stated on this documentation you'll need to add both the...
How to disable Scripting Console
Issue Even if Scripting Console is restricted to those with the server administration role, we would like to disable this scripting functionality in our 7.0 portal. Environment DXP 7.0 Resolution Scripting from...
Configuring the respective landing page with the customised logout modules for the two different sites in one Liferay instance
Issue There are two different sites named site-a and site-b in one Liferay instance. Develop a custom hook for the logout module to customize the logout landing page for these two different sites How to configure the...
CacheFilter Expiration time
Issue The cache filter caches processed web content.  To change the cache expiration time to live ehcache.xml needs to be modified. So where can we set the expiration time. Environment Liferay DXP 7.0 Resolution The...
How to Configure Multiple Site Names with Different HostNames
Issue How Multiple Sites can be configured with Different HostNames in the portal? The below example illustrates the requirement. If there are two sites Site A and Site B then, 1) Site A should be mapped with...
Permission Error When Updating User's Password by JSONWS API
Issue When updating the User's password through JSONWS API, the following error is reported in the log and the password can not be updated correctly. 01:18:11,468 ERROR...
Registration of certain characters may fail.
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...
Liferay server is not reachable with the error "HTTP 404" on the browser
Issue When accessing the server on the browser, the server is unreachable with the error HTTP 404 and the following error is observed on the Liferay logs. ERROR...
Login issue when configuring the SSL on JBoss EAP 7.0
Issue Login issue when configuring the SSL on JBoss EAP 7.0 Environment Portal: Liferay DXP 7.0 Application Server: JBoss EAP 7.0 Operating System: Ubuntu 19.04 Resolution Please Note: The following procedures and...
Error java.lang.OutOfMemoryError: Metaspace
Issue When there's a lot of traffic or usage, the logs show an error similar to: 2019-11-12 07:39:54.538 ERROR [liferay/scheduler_dispatch-24][ParallelDestination:55] Unable to process message...
Cluster cannot be started after updating to Fix Pack 3 on Liferay DXP 7.2
Issue After installing liferay-fix-pack-dxp-3-7210.zip, TCPping cluster nodes can not be started due to the following errors: 2019-12-16 16:02:56.201 ERROR [SCR Component Actor][ClusterExecutorImpl:93] bundle...
A Large Amount of Expired Records in SamlSpMessages and SamlSpAuthRequests Table Should be Cleaned up
Issue The high CPU usage is observed every hour in the database server and a large amount of data exists in SamlSpMessages and SamlSpAuthRequests table.  Environment DXP 7.1 Resolution The root cause could be that the...
How to delete page scope
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...
How to use JDBC ping for DXP 7.1 dockerized cluster in Kubernetes
Issue We have a 7.1 cluster in Kubernetes with docker image Liferay nodes. We don't know in advance what IP address would be assigned to Liferay containers. As the pods can get killed and then the cleanup does not...
SIGSEGV Issues in JDK 7u40
Issue Symptom: "A fatal error has been detected by the Java Runtime Environment: SIGSEGV (0xb) at pc=0x00002ad5cad58a87, pid=18862, tid=1093142848" Environment Liferay 6.1, embedded...
java.sql.SQLException: Incorrect string value and no Display Templates listed for the Breadcrumb widget
Issue On startup, the server will print errors similar to these: ERROR [main][JDBCExceptionReporter:234] Incorrect string value: '\xE5\x9F\xBA\xE6\x9C\xAC...' for column 'name' at row 1 WARN...
Reference tag in service builder service.xml is not allowing to have MBMessage reference
Issue Creating service module with reference <reference entity="MBMessage" package-path="com.liferay.message.boards" /> in service.xml. gradle buildService fails with  Exception in thread "main"...