jira webhook loading before atlassian webhook is loaded. Plugin throwing error

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 ...

1 answer

This widget could not be displayed.

Hi, has anyone found a solution for this problem? We encoutering the same :-/

Thank you!

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted 5 hours ago in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

23 views 1 2
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you