Issue
-
Some users don't need a commerce application in DXP 7.4 and would like to disable it.
Environment
- Liferay DXP 2023.Q3.1
- Liferay DXP 2023.Q3.2
Resolution
- The blacklisting of commerce modules works properly until DXP-7.4-update-92 but not on Quarterly Releases, since the Liferay DXP 7.4 Updates were released with jar files packaged in an lpkg file, however, the lpkg packaging has been removed with Quarterly Releases. Rather jar files are compiled and included individually. This can be seen here: Anatomy-of-a-Quarterly-Release
-
Now, as per official policy on this: Activating Liferay Commerce Enterprise. Commerce features are now available and supported for all customers with valid DXP 7.4 subscriptions. Disabling Commerce can cause inconsistencies with other Liferay DXP modules. Thus, we do not recommend disabling COMMERCE. However, if users still wish to disable it, this is entirely at their discretion.
- Users need to have to use the bundle package names now. See the attached .config file, this file will disable all of COMMERCE.
- Stop server
- Clear osgi/state, tomcat/temp, and tomcat/work
- Copy/paste the attached
com.liferay.portal.bundle.blacklist.internal.configuration.BundleBlacklistConfiguration.config
file into osgi/configs - Start server