Some Third Party Apps Times Out During Startup Waiting For com.atlassian.mywork.service.LocalNotificationService
Platform Notice: Server and Data Center Only. This article only applies to Atlassian products on the server and data center platforms.
Summary
When Confluence starts up, some third party apps time out waiting for 'com.atlassian.mywork.service.LocalNotificationService'.
The following is found in atlassian-confluence.log
{code:none}
2020-07-16 05:07:56,709 ERROR [Spring DM Context Creation Timer] [plugin.osgi.factory.OsgiPlugin] logAndClearOustandingDependencies Plugin 'com.stiltsoft.confluence.handy.macros' never resolved service '&local-notification-service' with filter '(objectClass=com.atlassian.mywork.service.LocalNotificationService)'
2020-07-16 05:07:56,709 ERROR [Spring DM Context Creation Timer] [plugin.osgi.factory.OsgiPlugin] onPluginContainerFailed Unable to start the plugin container for plugin 'com.stiltsoft.confluence.handy.macros'
org.springframework.context.ApplicationContextException: Application context initialization for 'com.stiltsoft.confluence.handy.macros' has timed out waiting for (objectClass=com.atlassian.mywork.service.LocalNotificationService)
...
2020-07-16 05:07:56,747 ERROR [Spring DM Context Creation Timer] [plugin.osgi.factory.OsgiPlugin] logAndClearOustandingDependencies Plugin 'net.artemissoftware.confluence.easyforms.EasyForms' never resolved service '¬ificationService' with filter '(objectClass=com.atlassian.mywork.service.LocalNotificationService)'
2020-07-16 05:07:56,747 ERROR [Spring DM Context Creation Timer] [plugin.osgi.factory.OsgiPlugin] onPluginContainerFailed Unable to start the plugin container for plugin 'net.artemissoftware.confluence.easyforms.EasyForms'
org.springframework.context.ApplicationContextException: Application context initialization for 'net.artemissoftware.confluence.easyforms.EasyForms' has timed out waiting for (objectClass=com.atlassian.mywork.service.LocalNotificationService)
{code}
Cause
Workbox - Host Plugin is not enabled and is the dependency for these third party apps.
From a Confluence Support Zip, application.xml
will show the app as only Installed instead of Enabled:
<key>com.atlassian.mywork.mywork-confluence-host-plugin</key>
<name>Workbox - Host Plugin</name>
<status>INSTALLED</status>
Solution
Enable the system app Workbox - Host Plugin via Confluence Administration > Manage Apps