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
Description 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 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)
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 ?
Update:
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.
I have the same experience. Bummer.
I didn't have this problem in previous versions of Jira.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
My test Jira server was bounced, started JIRA after reboot deleted the contents of home directory like Stefan indicated and worked so thanks for the post.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 -
Increasing JIRA plugin Timeout
Hope it helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.