Some Third Party Apps Times Out During Startup Waiting For com.atlassian.mywork.service.LocalNotificationService
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
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
1
2
3
4
5
6
7
8
9
{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:
1
2
3
<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
Was this helpful?