I have installed the latest version of JIRA on Debian 6.0.6 i386 and initially, it seemed to work ok. After a number of reboots, I get the error message
You cannot access JIRA at present. Look at the table below to identify the reasons
The following plugins are required by JIRA, but have not been started:
- Gadget Dashboard Plugin (com.atlassian.gadgets.dashboard)
- Gadget Directory Plugin (com.atlassian.gadgets.directory)
- Atlassian JIRA - Plugins - Gadgets Plugin (com.atlassian.jira.gadgets)
I would usually just check the logs for what went wrong, but Atlassian logs are so verbose that they give me a really hard time finding anything relevant. Some advanced grepping has revealed these lines though that seem related to the problem at hand:
2012-12-19 11:21:00,157 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.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 java.util.TimerThread.mainLoop(Unknown Source)
at java.util.TimerThread.run(Unknown Source)
2012-12-19 11:21:00,169 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)
2012-12-19 11:21:00,169 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)
2012-12-19 11:21:00,169 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)
2012-12-19 11:21:00,170 Timer-0 ERROR [plugin.osgi.factory.OsgiPlugin] Never resolved service '&gadgetRequestContextFactory' for plugin 'com.atlassian.gadgets.dashboard' with filter (objectClass=com.atlassian.gadgets.GadgetRequestContextFactory)
So if I understand this correctly, some java dependency is unsatisfied and some plugin can not be started.
That dependency must have been there before as JIRA did work. How can it just disappear ? I have certainly not touched anything.
Does anyone have some advice for me how to find the cause of this problem and solve it ?
I can get JIRA to work again by shutting it down, deleting some folder using
rm -r /opt/atlassian/jira/work/*
and restarting JIRA.
The problem is that this issue occurs *every single time* the server JIRA runs on is rebooted.
The root cause of this problem seems to be that JIRA simply does not shut down cleanly whenever the server it runs on is shut down. Most users probably do not notice that as their JIRA machine simply is always on. For the moment, I simply delete the work folder manually before trying to start JIRA, in the longer run, I might hack the JIRA startup scripts to do this automatically.
Please check with the following aspects w.r.t your JIRA installation -
If the problem still persists, follow the steps given here
Some more useful links -
Hope it helps!
It seems that you might be hitting a known issue. Please check out and try the resolution steps mentioned here : https://confluence.atlassian.com/display/JIRAKB/JIRA+does+not+Start+Due+to+Disabled+Bundled+Plugin
Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG