-
Sub-task
-
Resolution: Fixed
-
Medium
-
None
-
None
-
None
JIRA intermittently fails to come up in the build due to plugin time outs. This happens even with a timeout value of 10 mins.
If this happens on first startup, the build kills JIRA after a few minutes but before the timeout is reached: https://bamboo-extranet.atlassian.com/artifact/JST-NONGAPPS/JOBB/build-204/Application-logs/jira.log
If this happens after an import, we reach the end of the timeout period: https://bamboo-extranet.atlassian.com/artifact/JST-NONGAPPS/JOBE/build-204/Application-logs/jira.log
In the latter case, we see that the timeout is due to an unresolved dep on AppLinksManager:
2011-03-09 20:19:15,018 Timer-6 WARN testadmin 1209x232x1 1e6ll1q 127.0.0.1 /secure/admin/XmlRestore.jspa [internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] Timeout occurred before finding service dependencies for [NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.streams.streams-remote, config=osgibundle:/META-INF/spring/*.xml)] 2011-03-09 20:19:15,068 Timer-6 ERROR testadmin 1209x232x1 1e6ll1q 127.0.0.1 /secure/admin/XmlRestore.jspa [internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] Unable to create application context for [com.atlassian.streams.streams-remote], unsatisfied dependencies: Dependency on [(objectClass=com.atlassian.applinks.core.AppLinksManager)] (from bean [&appLinksManager]) org.springframework.context.ApplicationContextException: Application context initialization for 'com.atlassian.streams.streams-remote' 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(Timer.java:512) at java.util.TimerThread.run(Timer.java:462)