Upgrading Jira 5.2 -> 6.0.6 32-bit "JIRA Startup Failed"

After upgrading a working 32-bit 5.2 system to 32-bit 6.0.6 Jira will no longer start and is complaining about plugins not having been started. Screenshot attached and example from log file below:

2013-08-13 15:06:13,240 Timer-0 ERROR [internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] Unable to create application context for [com.atlassian.administration.atlassian-admin-quicksearch-jira], unsatisfied dependencies: Dependency on [(objectClass=com.atlassian.sal.api.net.RequestFactory)] (from bean [&sal-request-factory-import])

org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.administration.atlassian-admin-quicksearch-jira' 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)

2013-08-13 15:06:13,412 Timer-0 ERROR [plugin.osgi.factory.OsgiPlugin] Never resolved service '&sal-request-factory-import' for plugin 'com.atlassian.administration.atlassian-admin-quicksearch-jira' with filter (objectClass=com.atlassian.sal.api.net.RequestFactory)

2013-08-13 15:06:13,412 Timer-0 ERROR [plugin.osgi.factory.OsgiPlugin] Unable to start the plugin container for plugin com.atlassian.administration.atlassian-admin-quicksearch-jira

org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.administration.atlassian-admin-quicksearch-jira' 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)

2013-08-13 15:06:13,412 Timer-0 ERROR [extender.internal.activator.ContextLoaderListener] Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.administration.atlassian-admin-quicksearch-jira, config=osgibundle:/META-INF/spring/*.xml))

org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.administration.atlassian-admin-quicksearch-jira' 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)

2013-08-13 15:06:13,412 Timer-0 WARN [internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] Timeout occurred before finding service dependencies for [NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.applinks.plugin, config=osgibundle:/META-INF/spring/*.xml)]

2013-08-13 15:06:13,412 Timer-0 ERROR [internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] Unable to create application context for [com.atlassian.applinks.plugin], unsatisfied dependencies: Dependency on [(objectClass=com.atlassian.plugins.rest.common.util.RestUrlBuilder)] (from bean [&restUrlBuilder]), Dependency on [(objectClass=com.atlassian.sal.api.net.RequestFactory)] (from bean [&requestFactory]), Dependency on [(objectClass=com.atlassian.plugins.rest.common.json.JaxbJsonMarshaller)] (from bean [&jaxbJsonMarshaller])

org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.applinks.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)

2013-08-13 15:06:13,412 Timer-0 ERROR [plugin.osgi.factory.OsgiPlugin] Never resolved service '&restUrlBuilder' for plugin 'com.atlassian.applinks.applinks-plugin' with filter (objectClass=com.atlassian.plugins.rest.common.util.RestUrlBuilder)

2013-08-13 15:06:13,412 Timer-0 ERROR [plugin.osgi.factory.OsgiPlugin] Never resolved service '&requestFactory' for plugin 'com.atlassian.applinks.applinks-plugin' with filter (objectClass=com.atlassian.sal.api.net.RequestFactory)

2013-08-13 15:06:13,412 Timer-0 ERROR [plugin.osgi.factory.OsgiPlugin] Never resolved service '&jaxbJsonMarshaller' for plugin 'com.atlassian.applinks.applinks-plugin' with filter (objectClass=com.atlassian.plugins.rest.common.json.JaxbJsonMarshaller)

2013-08-13 15:06:13,412 Timer-0 ERROR [plugin.osgi.factory.OsgiPlugin] Unable to start the plugin container for plugin com.atlassian.applinks.applinks-plugin

org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.applinks.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)

2013-08-13 15:06:13,412 Timer-0 ERROR [extender.internal.activator.ContextLoaderListener] Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.applinks.plugin, config=osgibundle:/META-INF/spring/*.xml))

org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.applinks.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)

2013-08-13 15:06:13,412 Timer-0 WARN [internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] Timeout occurred before finding service dependencies for [NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.gadgets.dashboard, config=osgibundle:/META-INF/spring/*.xml)]

2013-08-13 15:06:13,474 Timer-0 ERROR [internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] Unable to create application context for [com.atlassian.gadgets.dashboard], unsatisfied dependencies: Dependency on [(objectClass=com.atlassian.gadgets.GadgetSpecUrlChecker)] (from bean [&gadgetSpecUrlChecker]), Dependency on [(objectClass=com.atlassian.gadgets.spec.GadgetSpecFactory)] (from bean [&gadgetSpecFactory]), Dependency on [(objectClass=com.atlassian.gadgets.view.GadgetViewFactory)] (from bean [&gadgetViewFactory]), Dependency on [(objectClass=com.atlassian.gadgets.view.RenderedGadgetUriBuilder)] (from bean [&renderedGadgetUriBuilder]), Dependency on [(objectClass=com.atlassian.gadgets.GadgetRequestContextFactory)] (from bean [&gadgetRequestContextFactory])

org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.gadgets.dashboard' 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)

2013-08-13 15:06:13,474 Timer-0 ERROR [plugin.osgi.factory.OsgiPlugin] Never resolved service '&gadgetSpecUrlChecker' for plugin 'com.atlassian.gadgets.dashboard' with filter (objectClass=com.atlassian.gadgets.GadgetSpecUrlChecker)

2013-08-13 15:06:13,474 Timer-0 ERROR [plugin.osgi.factory.OsgiPlugin] Never resolved service '&gadgetSpecFactory' for plugin 'com.atlassian.gadgets.dashboard' with filter (objectClass=com.atlassian.gadgets.spec.GadgetSpecFactory)

2013-08-13 15:06:13,474 Timer-0 ERROR [plugin.osgi.factory.OsgiPlugin] Never resolved service '&gadgetViewFactory' for plugin 'com.atlassian.gadgets.dashboard' with filter (objectClass=com.atlassian.gadgets.view.GadgetViewFactory)

2013-08-13 15:06:13,474 Timer-0 ERROR [plugin.osgi.factory.OsgiPlugin] Never resolved service '&renderedGadgetUriBuilder' for plugin 'com.atlassian.gadgets.dashboard' with filter (objectClass=com.atlassian.gadgets.view.RenderedGadgetUriBuilder)

2013-08-13 15:06:13,474 Timer-0 ERROR [plugin.osgi.factory.OsgiPlugin] Never resolved service '&gadgetRequestContextFactory' for plugin 'com.atlassian.gadgets.dashboard' with filter (objectClass=com.atlassian.gadgets.GadgetRequestContextFactory)

2013-08-13 15:06:13,474 Timer-0 ERROR [plugin.osgi.factory.OsgiPlugin] Unable to start the plugin container for plugin com.atlassian.gadgets.dashboard

org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.gadgets.dashboard' 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)

2013-08-13 15:06:13,474 Timer-0 ERROR [extender.internal.activator.ContextLoaderListener] Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.gadgets.dashboard, config=osgibundle:/META-INF/spring/*.xml))

org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.gadgets.dashboard' 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)

2013-08-13 15:06:13,474 Timer-0 WARN [internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] Timeout occurred before finding service dependencies for [NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.gadgets.embedded, config=osgibundle:/META-INF/spring/*.xml)]

2 answers

1 accepted

Accepted Answer
4 votes

Hi!

I believe this is due to the timeout time of the plugins.

Please, follow the instructions here to correct this: https://confluence.atlassian.com/display/JIRAKB/JIRA+System+Plugin+Timeout+While+Waiting+for+Plugins+to+Enable

Thank you Felipe - this did the trick. My test server is a bit underpowered...

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 25, 2018 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...

469 views 7 5
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