JIRA startup failed due to spring context error.

I have a JIRA standalone instance whose version is 5.1.8.

JIRA startup occasionally fails, not always. atlassian-jira.log gives the following message.

2013-07-24 04:36:04,492 Spring executor 6 ERROR [internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] Expecting state (resolving-dependencies) not (dependencies-resolved) for context [NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.gadgets.dashboard, config=osgibundle:/META-INF/spring/*.xml)]; assuming an interruption and bailing out

Do you have any ideas why this happens?

I searched related questions and found some examples.

https://answers.atlassian.com/questions/28331/confluence-system-plugins-failing-on-startup

https://answers.atlassian.com/questions/31411/error-setting-up-jira

But these cases seem to be due to time out. My atlassian-jira.log doesn't contain the phrase "time out", so I don't think these cases and my case have the same cause.

3 answers

1 accepted

I found that an anti-virus software which I used caused this problem. I made the anti-virus software exclude ${JIRA.HOME}/data/plugins/.osgi-plugins from real-time scanning.
This problem have never happened since that.

hi.

i'd suggest this one

https://answers.atlassian.com/questions/187616/few-exceptions-while-bringing-up-jira-5-2-10

seems to be an indexing (cache) problem on your side.

Thank you for your comment.

Although the first messages of two log files are the same, there is no message like "caches/indexes does not exist" in my log file. So, I think my index files have no problem.

http://static.springsource.org/spring-osgi/snapshot-site/spring-osgi-extender/xref/org/springframework/osgi/extender/internal/dependencies/startup/DependencyWaiterApplicationContextExecutor.html

What causes it is that the stageTwo() is probably called the second time (spring bug ?). However, this needs more info, and more debug than the simple text here ....

Thanks.

What can I do to get more info?

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,316 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot