JIRA Startup Failed

Julian Acosta February 26, 2014

Hi, I installed yesterday Jira, and everything went ok, but this morning Jira was down, and when I restarted, this message appeared:

The following plugins are required by JIRA, but have not been started:

  • Embedded Gadgets Plugin (com.atlassian.gadgets.embedded)
  • Gadget Dashboard Plugin (com.atlassian.gadgets.dashboard)
  • Gadget Directory Plugin (com.atlassian.gadgets.directory)
  • Atlassian JIRA - Plugins - Gadgets Plugin (com.atlassian.jira.gadgets)

Here is the log:

********************************************************************************************************************************************************************************************************
___ FAILED PLUGIN REPORT _____________________
13 plugins failed to load during JIRA startup.
    'com.atlassian.gadgets.embedded' - 'Embedded Gadgets Plugin'  failed to load.
        Application context initialization for 'com.atlassian.gadgets.embedded' has timed out
        It has the following missing service dependencies :
             &securityTokenFactory of type (objectClass=com.atlassian.gadgets.view.SecurityTokenFactory)
             &gadgetSpecFactory of type (objectClass=com.atlassian.gadgets.spec.GadgetSpecFactory)
        It was loaded from /var/atlassian/application-data/jira/plugins/.bundled-plugins/atlassian-gadgets-embedded-plugin-3.3.2.jar
    'com.atlassian.jira.gadgets' - 'Atlassian JIRA - Plugins - Gadgets Plugin'  failed to load.
        Application context initialization for 'com.atlassian.jira.gadgets-plugin' has timed out
        It has the following missing service dependencies :
             &gadgetViewFactory of type (objectClass=com.atlassian.gadgets.view.GadgetViewFactory)
             &dashboardService of type (objectClass=com.atlassian.gadgets.dashboard.DashboardService)
        It was loaded from /var/atlassian/application-data/jira/plugins/.bundled-plugins/jira-gadgets-plugin-6.2.jar
    'com.atlassian.jira.collector.plugin.jira-issue-collector-plugin' - 'JIRA Issue Collector Plugin'  failed to load.
        Application context initialization for 'com.atlassian.jira.collector.plugin.jira-issue-collector-plugin' has timed out
        It has the following missing service dependencies :
             &gadgetViewFactory of type (objectClass=com.atlassian.gadgets.view.GadgetViewFactory)
             &gadgetRequestContextFactory of type (objectClass=com.atlassian.gadgets.GadgetRequestContextFactory)
        It was loaded from /var/atlassian/application-data/jira/plugins/.bundled-plugins/jira-issue-collector-plugin-1.4.7.jar
    'com.atlassian.streams.streams-jira-plugin' - 'JIRA Activity Stream Plugin'  failed to load.
        Application context initialization for 'com.atlassian.streams.jira-plugin' has timed out
        It has the following missing service dependencies :
             &gadgetViewFactory of type (objectClass=com.atlassian.gadgets.view.GadgetViewFactory)
        It was loaded from /var/atlassian/application-data/jira/plugins/.bundled-plugins/streams-jira-plugin-5.3.18.1.jar
    'com.atlassian.streams.actions' - 'Streams Inline Actions Plugin'  failed to load.
        Application context initialization for 'com.atlassian.streams.inline-actions-plugin' has timed out
        It has the following missing service dependencies :
             &streamsLocaleProvider of type (objectClass=com.atlassian.streams.spi.StreamsLocaleProvider)
        It was loaded from /var/atlassian/application-data/jira/plugins/.bundled-plugins/streams-inline-actions-plugin-5.3.18.1.jar
    'com.atlassian.gadgets.directory' - 'Gadget Directory Plugin'  failed to load.
        Application context initialization for 'com.atlassian.gadgets.directory' has timed out
        It has the following missing service dependencies :
             &gadgetRequestContextFactory of type (objectClass=com.atlassian.gadgets.GadgetRequestContextFactory)
             &subscribedGadgetFeedStore of type (objectClass=com.atlassian.gadgets.directory.spi.SubscribedGadgetFeedStore)
        It was loaded from /var/atlassian/application-data/jira/plugins/.bundled-plugins/atlassian-gadgets-directory-plugin-3.3.2.jar
    'com.pyxis.greenhopper.jira' - 'JIRA Agile'  failed to load.
        The plugin has been disabled.  A likely cause is that it timed out during initialisation
        It has the following missing service dependencies :
             &gadgetViewFactory of type (objectClass=com.atlassian.gadgets.view.GadgetViewFactory)
        It was loaded from /var/atlassian/application-data/jira/plugins/installed-plugins/plugin.5040047224350024401.jira-greenhopper-plugin-6.3.8.1.jar
    'com.atlassian.streams' - 'Streams Plugin'  failed to load.
        Application context initialization for 'com.atlassian.streams.aggregator-plugin' has timed out
        It has the following missing service dependencies :
             &formatPreferenceProvider of type (objectClass=com.atlassian.streams.spi.FormatPreferenceProvider)
             &entityResolvers of type (objectClass=com.atlassian.streams.spi.EntityResolver)
        It was loaded from /var/atlassian/application-data/jira/plugins/.bundled-plugins/streams-aggregator-plugin-5.3.18.1.jar
    'com.atlassian.gadgets.oauth.serviceprovider' - 'Atlassian Gadgets OAuth Service Provider Plugin'  failed to load.
        Application context initialization for 'com.atlassian.gadgets.oauth.serviceprovider' has timed out
        It has the following missing service dependencies :
             &gadgetSpecFactory of type (objectClass=com.atlassian.gadgets.spec.GadgetSpecFactory)
             &gadgetRequestContextFactory of type (objectClass=com.atlassian.gadgets.GadgetRequestContextFactory)
        It was loaded from /var/atlassian/application-data/jira/plugins/.bundled-plugins/atlassian-gadgets-oauth-service-provider-plugin-3.3.2.jar
    'is.origo.jira.tempo-plugin' - 'Tempo Timesheets'  failed to load.
        Application context initialization for 'is.origo.jira.tempo-plugin' has timed out
        It has the following missing service dependencies :
             &activityService of type (objectClass=com.atlassian.streams.thirdparty.api.ActivityService)
             &userProfileAccessor of type (objectClass=com.atlassian.streams.spi.UserProfileAccessor)
        It was loaded from /var/atlassian/application-data/jira/plugins/installed-plugins/tempo-plugin-7.8.2.jar
    'com.atlassian.jira.plugins.jira-bitbucket-connector-plugin' - 'JIRA DVCS Connector Plugin'  failed to load.
        Application context initialization for 'com.atlassian.jira.plugins.jira-bitbucket-connector-plugin' has timed out
        It has the following missing service dependencies :
             &userProfileAccessor of type (objectClass=com.atlassian.streams.spi.UserProfileAccessor)
        It was loaded from /var/atlassian/application-data/jira/plugins/.bundled-plugins/jira-dvcs-connector-plugin-1.4.15.jar
    'com.atlassian.streams.streams-thirdparty-plugin' - 'Streams Third Party Provider Plugin'  failed to load.
        Application context initialization for 'com.atlassian.streams.thirdparty-plugin' has timed out
        It has the following missing service dependencies :
             &userProfileAccessor of type (objectClass=com.atlassian.streams.spi.UserProfileAccessor)
        It was loaded from /var/atlassian/application-data/jira/plugins/.bundled-plugins/streams-thirdparty-plugin-5.3.18.1.jar
    'com.atlassian.gadgets.dashboard' - 'Gadget Dashboard Plugin'  failed to load.
        Application context initialization for 'com.atlassian.gadgets.dashboard' has timed out
        It has the following missing service dependencies :
             &gadgetSpecFactory of type (objectClass=com.atlassian.gadgets.spec.GadgetSpecFactory)
             &gadgetViewFactory of type (objectClass=com.atlassian.gadgets.view.GadgetViewFactory)
             &renderedGadgetUriBuilder of type (objectClass=com.atlassian.gadgets.view.RenderedGadgetUriBuilder)
             &gadgetRequestContextFactory of type (objectClass=com.atlassian.gadgets.GadgetRequestContextFactory)
        It was loaded from /var/atlassian/application-data/jira/plugins/.bundled-plugins/atlassian-gadgets-dashboard-plugin-3.3.2.jar
********************************************************************************************************************************************************************************************************
2014-02-27 12:40:52,853 localhost-startStop-1 ERROR      [jira.web.dispatcher.JiraWebworkActionDispatcher]
******************************************
JIRA startup failed, JIRA has been locked.
******************************************
2014-02-27 12:40:59,255 Modification Check:thread-1 INFO      [atlassian.jira.startup.JiraStartupLogger]
___ Modifications ___________________________
     Modified Files                                : jira-application.properties
     Removed Files                                 : None

6 answers

1 accepted

1 vote
Answer accepted
Tiago Comasseto
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 11, 2014

It appears that you're getting the issue described in this KB. Most of the times it's related to the performance of the server itself, you may add the parameter -Datlassian.plugins.enable.wait=300 to increase the plugin startup timeout and see if it brings any improvement.

Cheers

0 votes
kavitha mb October 11, 2016

I am facing the same issue as in when trying to start JIRA its shows me JIRA is locked. JIRA starts but the plugins are not enabled. I referred the Atlassian JIRA tutorial (https://developer.atlassian.com/docs/getting-started/learn-the-development-platform-by-example/create-a-plugin-skeleton) and created a refapp plugin and when i try to integrate this with JIRA I'm facing this issue.

Could anyone please help

0 votes
Mark Maxwell May 11, 2014

This was an incompatibility issue between Tempo Timesheets (7.9) and JIRA Agile. Upgrading JIRA Agile to 6.3.13.1 from 6.3.11 resolved the issue in our environment.

0 votes
Mark Maxwell May 11, 2014

My issue began after upgrading the Tempo plugin. JIRA starts fine, but the plugin cannot be enabled.

0 votes
Bruna Griebeler
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 11, 2014

Hi Julian and Mark,

When this behaviour started?
Was there any change on your Jira recently that could start this behaviour - Like an upgrade or plugins update?

I recommend:

1) Check if your have JAVA_HOME variable set on your OS.

2) Check if your JIRA_HOME is properly set;

3) Check if you're running JDK 1.7 if you're running a new version of Jira. On this link you'll see the compatible versions of Java for each Jira version: https://confluence.atlassian.com/display/JIRA/Supported+Platforms

4) In case Jira still fail to start, you can rename the <Jira-Home>/plugins/installed-plugins folder, and try restarting Jira. This will make Jira to ignore this folder and start without the installed plugins that might affecting your instance.

0 votes
Mark Maxwell May 11, 2014

Julian, ever get this resolved? We're experiencing similar issues specifically with the Tempo Timesheets plugin. "Application context initialization for 'is.origo.jira.tempo-plugin' has timed out"

Suggest an answer

Log in or Sign up to answer