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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

58 views 0 5
Read article

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