Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to resolve the plugins failed to load error?

Antoine Goutagny December 18, 2011

Hi,

I've set up my development environment to start working on some plugins, but the atlas-run command fails to load JIRA with this error:

JIRA Startup Failed

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 Directory Plugin (com.atlassian.gadgets.directory)
  • Atlassian JIRA - Plugins - Project Config Plugin (com.atlassian.jira.jira-project-config-plugin)
  • Atlassian OAuth Admin Plugin (com.atlassian.oauth.admin)
  • Embedded Gadgets Plugin (com.atlassian.gadgets.embedded)
  • Atlassian JIRA - Plugins - Shared Application Access Layer (SAL) Plugin (com.atlassian.sal.jira)
  • Gadget Dashboard Plugin (com.atlassian.gadgets.dashboard)
  • Atlassian JIRA - Plugins - Look And Feel Logo Upload Plugin (com.atlassian.jira.lookandfeel)
  • Atlassian JIRA - Plugins - Gadgets Plugin (com.atlassian.jira.gadgets)
  • Atlassian REST - Module Types (com.atlassian.plugins.rest.atlassian-rest-module)
  • FishEye Plugin (com.atlassian.jirafisheyeplugin)
  • Gadget Spec Publisher Plugin (com.atlassian.gadgets.publisher)
  • Atlassian JIRA - Plugins - REST Plugin (com.atlassian.jira.rest)
  • Atlassian OAuth Service Provider Plugin (com.atlassian.oauth.serviceprovider)
  • Opensocial Plugin (com.atlassian.gadgets.opensocial)

Some investigation lead to https://jira.atlassian.com/browse/JRA-22633, but it doesn't give any solution to resolve the issue. Is it possible to increase the timeout on these plugins to give JIRA more time to load? If so, where can it be done? Or is the only solution to work on a more powerful machine?

10 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

7 votes
Jared Tyler January 14, 2012

Not sure if you've already solved this and just didn't let us know, but I just had this same issue and found that apparently JIRA doesn't work properly on Java 1.7. If you downgrade to 1.6 everything runs smoothly.

2 votes
Ramiro Pointis
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.
June 6, 2012

J Thomas, here it is the documentation you asked for:

https://confluence.atlassian.com/display/JIRAKB/JIRA+does+not+Start+Due+to+Disabled+Bundled+Plugin

Check your Java version too, it has to be 1.6

1 vote
Dion Chapman August 1, 2012

Any chance of getting this fixed so it works with Java 1.7, it is a released version of Java. I really do not want to have a Server just to run Jira on Java 1.6

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 1, 2012

That's a much bigger question than just a small handful of plugins

Jira does not work properly with Java 1.7 yet. I understand Atlassian have it on the to-do list, but I've no idea how close.

You need to use 1.6 for the foreseeable future, and probably assume that you'll need to upgrade to Jira 5.something-higher-than-2 to use Java 1.7

Dion Chapman August 2, 2012

In my job we have found that Java 1.7 and Tomcat 7 have a additional Servlet abstract methods that need to be created for them to work properly.

Another big one is request.getParameterMap().keySet() now returns Objects instead of Strings

Just going to be a pain to make a VM that is different from everything else we have...

Thanks for the answer

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 2, 2012

I really don't think you're going to have to wait for a vastly interminable time - it's very much in Atlassian's interest to get it working with Java 1.7 and they're definitely working on it.

Bear in mind we live in a world where some people still use and expect support for Internet Explorer, so Atlassian are still way ahead of a lot of vendors. (Oh, sorry, yes, I suppose I should have said IE7. Not that 8 and 9 are huge improvements, still way behind all the real browsers)

1 vote
Lee Pomerantz June 6, 2012

If the logs suggest you're timing out, you can add the following to the JIRA Java Options in the Registry:

-Datlassian.plugins.enable.wait=300

We turned off our Anti-Virus SW, added the 5 min. wait (above), and have had no issues with the plug-ins loading.

1 vote
Lee Pomerantz December 28, 2011

Try turning off your anti-virus software

0 votes
Deleted user April 2, 2014

Using Java 1.6 instead of 1.7 solved the issue for me

0 votes
Bob August 29, 2013

I just encountered this issue tyring to get the custom importer sample plugin working, I am on "1.7.0_25" and it isn't easy for me to switch back to Java 6, does anyone know if this is still an issue with Java 7?

0 votes
Pavlo Mashchak June 13, 2012

The problem gone after I installed java jdk1.6.0_32, java 1.7.0_04 couse this problem. I am using Ubuntu 10.04

0 votes
hsuhailah
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.
January 14, 2012

This seems like bundled JIRA plugins got disabled and caused JIRA failed to start. Here is the related KB that could help you to solve the problem:

- http://confluence.atlassian.com/display/JIRAKB/JIRA+Fails+to+Start+Due+to+Bundled+Plugin+is+Disabled

Hope it helps!

J Thomas
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.
June 6, 2012

Unfortunately the KB article has been deleted. Can you recall how it suggested you solve this problem?

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 18, 2011

Depends on why they aren't loading in time. You should check the log file from startup to failure for errors - that could tell you what is going wrong (throwing timeout or hardware at it if the error is "something is misconfigured" isn't going to help you). If the logs are totally clean, then yes, you may need more resources - what are you running it on?

Antoine Goutagny December 18, 2011

Ok, seems I have a bunch of OsgiContainerException's due to bundle constraints errors. I'll look into resolving them.

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events