Hi,
This is a wierd error in which the plugin loading sequence is mess up. I check older log. Atlassian webhook always load first before JIRA webhook. Is there anyway to make Atlassian webhook load first before JIRA webhook?
Below is the loading log. If you notice, com.atlassian.jira.plugins.webhooks.jira-webhooks-plugin has Dependency on [(objectClass=com.atlassian.webhooks.api.register.listener.WebHookListenerService)]
but Atlassian.webhook is loaded later.
How do i change the sequence in which to Atlassian webhook first, then JIRA webhook?
2016-10-07 18:18:38,021 localhost-startStop-1 INFO [atlassian.plugin.manager.PluginEnabler] Plugin 'com.atlassian.sal.jira' immediately ENABLED
2016-10-07 18:18:41,631 ThreadPoolAsyncTaskExecutor::Thread 5 WARN [org.springframework.beans.TypeConverterDelegate] PropertyEditor [com.sun.beans.editors.EnumEditor] found through deprecated global PropertyEditorManager fallback - consider using a more isolated form of registration, e.g. on the BeanWrapper/BeanFactory!
2016-10-07 18:18:53,428 ThreadPoolAsyncTaskExecutor::Thread 4 INFO [timedpromise.internal.bootstrap.TimedPromiseLauncher] Timed Promises spring context is starting...
2016-10-07 18:19:03,474 Timer-0 WARN [internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] Timeout occurred before finding service dependencies for [NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.jira.plugins.webhooks.jira-webhooks-plugin, config=osgibundle:/META-INF/spring/*.xml)]
2016-10-07 18:19:03,474 Timer-0 ERROR [internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] Unable to create application context for [com.atlassian.jira.plugins.webhooks.jira-webhooks-plugin], unsatisfied dependencies: Dependency on [(objectClass=com.atlassian.jira.rest.v2.issue.builder.BeanBuilderFactory)] (from bean [&beanBuilderFactory]), Dependency on [(objectClass=com.atlassian.webhooks.api.register.listener.WebHookListenerService)] (from bean [&webHookListenerService])
org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.jira.plugins.webhooks.jira-webhooks-plugin' has timed out
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:454)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:50)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:105)
at java.util.TimerThread.mainLoop(Unknown Source)
at java.util.TimerThread.run(Unknown Source)
2016-10-07 18:19:03,474 Timer-0 ERROR [plugin.osgi.factory.OsgiPlugin] Plugin 'com.atlassian.jira.plugins.webhooks.jira-webhooks-plugin' never resolved service '&beanBuilderFactory' with filter '(objectClass=com.atlassian.jira.rest.v2.issue.builder.BeanBuilderFactory)'
2016-10-07 18:19:03,490 Timer-0 ERROR [plugin.osgi.factory.OsgiPlugin] Plugin 'com.atlassian.jira.plugins.webhooks.jira-webhooks-plugin' never resolved service '&webHookListenerService' with filter '(objectClass=com.atlassian.webhooks.api.register.listener.WebHookListenerService)'
2016-10-07 18:19:03,490 Timer-0 ERROR [plugin.osgi.factory.OsgiPlugin] Unable to start the plugin container for plugin 'com.atlassian.jira.plugins.webhooks.jira-webhooks-plugin'
org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.jira.plugins.webhooks.jira-webhooks-plugin' has timed out
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:454)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:50)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:105)
at java.util.TimerThread.mainLoop(Unknown Source)
at java.util.TimerThread.run(Unknown Source)
2016-10-07 18:19:03,490 Timer-0 ERROR [extender.internal.activator.ContextLoaderListener] Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.jira.plugins.webhooks.jira-webhooks-plugin, config=osgibundle:/META-INF/spring/*.xml))
org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.jira.plugins.webhooks.jira-webhooks-plugin' has timed out
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:454)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:50)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:105)
at java.util.TimerThread.mainLoop(Unknown Source)
at java.util.TimerThread.run(Unknown Source)
2016-10-07 18:19:13,584 localhost-startStop-1 INFO [atlassian.plugin.manager.PluginEnabler] Plugin 'com.atlassian.streams.jira.inlineactions' immediately ENABLED
2016-10-07 18:19:37,553 localhost-startStop-1 INFO [atlassian.plugin.manager.PluginEnabler] Plugin 'com.atlassian.upm.atlassian-universal-plugin-manager-selfupdate-plugin' immediately ENABLED
2016-10-07 18:19:40,287 ThreadPoolAsyncTaskExecutor::Thread 15 INFO [automation.internal.bootstrap.AutomationPluginLauncher] Service Desk Automation Plugin spring context is starting...
2016-10-07 18:19:43,021 localhost-startStop-1 INFO [atlassian.plugin.manager.PluginEnabler] Plugin 'com.googlecode.jira-suite-utilities' immediately ENABLED
2016-10-07 18:19:49,021 ThreadPoolAsyncTaskExecutor::Thread 9 INFO [plugins.dvcs.listener.UserAddListenerFactoryBean] Attempt to create and register DvcsAddUserListener listener
2016-10-07 18:19:49,021 ThreadPoolAsyncTaskExecutor::Thread 9 INFO [plugins.dvcs.listener.DvcsAddUserListener] Attempting to register listener ...
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.