Details
-
Bug
-
Status: Closed
-
Resolution: No Longer Reproducible
-
7.3.10 DXP GA1, Master
-
3
-
- LocalFile.CPPortalSettings#ViewEmailNotificationsPasswordChangedNotification
- LocalFile.Elasticsearch7#AssertSidecarAutoInstall
- LocalFile.PortalSmokeUpgrade#ViewPortalSmokeArchive621015
- LocalFile.PortalSmokeUpgrade#ViewPortalSmokeArchive621021
- LocalFile.PortalSmokeUpgrade#ViewPortalSmokeArchive625
- LocalFile.PortalSmokeUpgrade#ViewPortalSmokeArchive70106
- LocalFile.PortalSmokeUpgrade#ViewPortalSmokeArchive704
- LocalFile.PortalSmokeUpgrade#ViewPortalSmokeArchive7110
- LocalFile.PortalSmokeUpgrade#ViewPortalSmokeArchive71103
- LocalFile.PortalSmokeUpgrade#ViewPortalSmokeArchive713
- LocalFile.PortalSmokeUpgrade#ViewPortalSmokeArchive720
- LocalFile.PortalSmokeUpgrade#ViewPortalSmokeArchive7210
- LocalFile.PortalSmokeUpgrade#ViewPortalSmokeArchive730
- LocalFile.PortalSmokeUpgrade#ViewPortalSmokeArchiveAutoUpgrade621021
- LocalFile.PortalSmokeUpgrade#ViewPortalSmokeArchiveAutoUpgrade70106
- LocalFile.PortalSmokeUpgrade#ViewPortalSmokeArchiveAutoUpgrade7110
- LocalFile.PortalSmokeUpgrade#ViewPortalSmokeArchiveAutoUpgrade71103
- LocalFile.PortalSmokeUpgrade#ViewPortalSmokeArchiveAutoUpgrade7210
- LocalFile.PortalSmokeUpgrade#ViewPortalSmokeArchiveAutoUpgrade730
- LocalFile.SearchUpgrade#ViewClassicSearchPortletConfigurationArchive7110
- LocalFile.SearchUpgrade#ViewClassicSearchPortletConfigurationArchiveAutoUpgrade70106
- LocalFile.SearchUpgrade#ViewClassicSearchPortletConfigurationArchiveAutoUpgrade7110
- LocalFile.SearchUpgrade#ViewClassicSearchPortletConfigurationArchiveAutoUpgrade721
- LocalFile.SearchUpgrade#ViewClassicSearchPortletConfigurationArchiveAutoUpgrade7210
- LocalFile.SearchUpgrade#ViewClassicSearchPortletConfigurationArchiveAutoUpgrade72101
- LocalFile.SearchUpgrade#ViewClassicSearchPortletConfigurationArchiveAutoUpgrade730
- LocalFile.SearchUpgrade#ViewSearchPortletsConfigurationArchive713
- LocalFile.SearchUpgrade#ViewSearchPortletsConfigurationArchive721
- LocalFile.SearchUpgrade#ViewSearchPortletsConfigurationArchive7210
- LocalFile.SearchUpgrade#ViewSearchPortletsConfigurationArchive72101
- LocalFile.SearchUpgrade#ViewSearchPortletsConfigurationArchiveAutoUpgrade7110
- LocalFile.SearchUpgrade#ViewSearchPortletsConfigurationArchiveAutoUpgrade721
- LocalFile.SearchUpgrade#ViewSearchPortletsConfigurationArchiveAutoUpgrade7210
- LocalFile.SearchUpgrade#ViewSearchPortletsConfigurationArchiveAutoUpgrade72101
- LocalFile.SearchUpgrade#ViewSearchPortletsConfigurationArchiveAutoUpgrade730
- LocalFile.UpgradeEnhancement#UpgradeCoreSchemaVersion
-
169
Description
Race condition with the DS dependency checker and Commerce startup. No functional impact.
Steps to Reproduce (Based on CI, not yet reproduced locally)
- Unzip Liferay DXP release bundle with Commerce
- Add Commerce and DXP xml licenses
- Import attached database to MySQL
- Navigate to tools/portal-tools-db-upgrade-client
- Run ./db_upgrade.sh
- After upgrade, start the DXP portal
Expected Result:
DXP always successfully starts and activates Commerce bundles with licensing.
Actual Result:
There is a race condition between the Commerce bundles registered by license file installation and main thread on starting portal.
00:04:54,683 INFO [fileinstall-directory-watcher][BundleStartStopLogger:46] STARTED com.liferay.commerce.tax.service_3.0.9 [1955] 00:04:57,270 WARN [main][SystemCheckOSGiCommands:137] Declarative Service Unsatisfied Component Checker check result: Bundle {id: 1818, name: com.liferay.commerce.cart.taglib, version: 4.0.6} Declarative Service {id: 6689, name: com.liferay.commerce.cart.taglib.servlet.taglib.internal.servlet.ServletContextUtil, unsatisfied references: {name: CommerceOrderItemService, target: null} } Bundle {id: 1824, name: com.liferay.commerce.frontend.taglib, version: 10.0.13} Declarative Service {id: 6692, name: com.liferay.commerce.frontend.taglib.internal.servlet.ServletContextUtil, unsatisfied references: {name: CPContentHelper, target: null} {name: CommerceOrderHttpHelper, target: null} {name: ProductHelper, target: null} } Bundle {id: 1825, name: com.liferay.commerce.initializer.util, version: 6.0.9} Declarative Service {id: 6703, name: com.liferay.commerce.initializer.util.CommerceAccountsImporter, unsatisfied references: {name: _commerceAddressLocalService, target: null} {name: _commerceCountryLocalService, target: null} {name: _commerceRegionLocalService, target: null} } Declarative Service {id: 6707, name: com.liferay.commerce.initializer.util.CommerceOrderImporter, unsatisfied references: {name: _commerceContextFactory, target: null} {name: _commerceOrderItemLocalService, target: null} {name: _commerceOrderLocalService, target: null} } Declarative Service {id: 6719, name: com.liferay.commerce.initializer.util.internal.osgi.commands.CommerceOSGiCommands, unsatisfied references: {name: _commerceOrderGenerator, target: null} {name: _commerceShipmentGenerator, target: null} } Declarative Service {id: 6699, name: com.liferay.commerce.initializer.util.CPDefinitionsImporter, unsatisfied references: {name: _commerceAvailabilityEstimateLocalService, target: null} {name: _cpDefinitionInventoryLocalService, target: null} {name: _cpdAvailabilityEstimateLocalService, target: null} } Declarative Service {id: 6710, name: com.liferay.commerce.initializer.util.CommerceShipmentGenerator, unsatisfied references: {name: _commerceOrderItemService, target: null} {name: _commerceOrderService, target: null} {name: _commerceShipmentItemLocalService, target: null} {name: _commerceShipmentLocalService, target: null} } Declarative Service {id: 6705, name: com.liferay.commerce.initializer.util.CommerceInventoryWarehousesImporter, unsatisfied references: {name: _commerceCountryLocalService, target: null} {name: _commerceRegionLocalService, target: null} } Declarative Service {id: 6706, name: com.liferay.commerce.initializer.util.CommerceOrderGenerator, unsatisfied references: {name: _commerceAddressLocalService, target: null} {name: _commerceContextFactory, target: null} {name: _commerceOrderEngine, target: null} {name: _commerceOrderItemLocalService, target: null} {name: _commerceOrderLocalService, target: null} {name: _commerceShippingMethodLocalService, target: null} {name: _cpDefinitionInventoryLocalService, target: null} }
Workaround: Restarting the portal should resolve the issue.
Attachments
Issue Links
- is caused by
-
LPS-120419 Licensed apps are failing with "does not have a valid license"
- Closed
- is related to
-
LPS-121429 Its possible for a NPE to be thrown in SystemCheckOSGiCommands due to Commerce modules being activated randomly in startup with Licensing activation
- Closed