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

Accepted Answer
0 votes

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 Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

22,470 views 2 7
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