@shakedko
IF AN EXPERT SAYS IT CAN'T BE DONE GET ANOTHER EXPERT.
- DAVID BEN-GURION

JIRA cannot start its required plugins

Desription

Seems that JIRA might suddenly crashes once a while.

When JIRA crashes, it won't remove the "JIRA lock" and then you won't be able to use it.

One of (many) reason that this problem might happen is due the lack of time that JIRA has to run its required plugins.

Log file might show:

****************************************************************************** JIRA 4.4 build: 649 started. You can now access JIRA through your web browser.

******************************************************************************

2012-03-13 03:41:09,761 main FATAL [atlassian.jira.startup.JiraStartupLogger]

******************************************************************************************************************************************************************************************************** The following plugins are required by JIRA, but have not been started: Gadget Directory Plugin (com.atlassian.gadgets.directory), Embedded Gadgets Plugin (com.atlassian.gadgets.embedded), Gadget Dashboard Plugin (com.atlassian.gadgets.dashboard), Atlassian JIRA - Plugins - Gadgets Plugin (com.atlassian.jira.gadgets), FishEye Plugin (com.atlassian.jirafisheyeplugin), Opensocial Plugin (com.atlassian.gadgets.opensocial)

********************************************************************************************************************************************************************************************************

2012-03-13 03:41:09,761 main FATAL [atlassian.jira.upgrade.UpgradeLauncher] Skipping, JIRA is locked. 2012-03-13 03:41:09,761 main INFO [atlassian.jira.scheduler.JiraSchedulerLauncher] JIRA Scheduler not started: JIRA startup checklist failed. 2012-03-13 03:41:11,766 main FATAL [jira.web.dispatcher.JiraWebworkActionDispatcher]

****************************************** JIRA startup failed, JIRA has been locked.

******************************************

Solution

  1. Stop JIRA (/opt/atlassian/jira/bin/stop-jira.sh)
  2. Search for setenv.sh (vi /opt/atlassian/jira/bin/setenv.sh)
  3. Changeย JVM_SUPPORT_RECOMMENDED_ARGS's value: JVM_SUPPORT_RECOMMENDED_ARGS="-Datlassian.plugins.enable.wait=300"
  4. Save
  5. Start JIRA (/opt/atlassian/jira/bin/start-jira.sh)

More information is available at JIRA's docs:ย http://confluence.atlassian.com/display/DOC/Configuring+System+Properties

ย 

Please share your solutions, errors or any other relevant information.

Shak

Work In Progress ๐Ÿšง
Discipline