Jira Data Center node will not start due to restricted access to $SHARED_HOME

Still need help?

The Atlassian Community is here for you.

Ask the community


Platform Notice: Data Center - This article applies to Atlassian products on the Data Center platform.

Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles for non-Data Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

Starting a new or restarting existing Jira Data Center node appears unresponsive for a long time.

Environment

Any Jira Data Center version, Linux or Windows platform.

Diagnosis

$JIRA_HOME/log/atlassian-jira.log* will show exceptions like below on a startup attempt:

com.atlassian.plugin.PluginParseException: Cannot open JAR file: \\yourfileserver\Shares\Jira\plugins\installed-plugins\atlassian-client-resource-4.22.4-REL-0001.jar

com.atlassian.plugin.PluginParseException: Cannot open JAR file: \\yourfileserver\Shares\Jira\plugins\installed-plugins\atlassian-pocketknife-api-commons-plugin-1.0.7.jar

com.atlassian.plugin.PluginParseException: Cannot open JAR file: \\yourfileserver\Shares\Jira\plugins\installed-plugins\atlassian-timed-promise-plugin-4.22.4-REL-0001.jar

com.atlassian.plugin.PluginParseException: Cannot open JAR file: \\yourfileserver\Shares\Jira\plugins\installed-plugins\incident-management-plugin-4.22.4-REL-0001.jar

com.atlassian.plugin.PluginParseException: Cannot open JAR file: \\yourfileserver\Shares\Jira\plugins\installed-plugins\jira-assets-plugin-4.22.4-REL-0001.jar

com.atlassian.plugin.PluginParseException: Cannot open JAR file: \\yourfileserver\Shares\Jira\plugins\installed-plugins\jira-software-monitor-plugin-8.22.1.jar

com.atlassian.plugin.PluginParseException: Cannot open JAR file: \\yourfileserver\Shares\Jira\plugins\installed-plugins\jira-software-monitor-plugin-8.22.2.jar

com.atlassian.plugin.PluginParseException: Cannot open JAR file: \\yourfileserver\Shares\Jira\plugins\installed-plugins\jira-software-monitor-plugin-8.22.4.jar

com.atlassian.plugin.PluginParseException: Cannot open JAR file: \\yourfileserver\Shares\Jira\plugins\installed-plugins\jira-software-plugin-8.22.1.jar

com.atlassian.plugin.PluginParseException: Cannot open JAR file: \\yourfileserver\Shares\Jira\plugins\installed-plugins\jira-software-plugin-8.22.2.jar

com.atlassian.plugin.PluginParseException: Cannot open JAR file: \\yourfileserver\Shares\Jira\plugins\installed-plugins\jira-software-plugin-8.22.4.jar

com.atlassian.plugin.PluginParseException: Cannot open JAR file: \\yourfileserver\Shares\Jira\plugins\installed-plugins\jira-transition-triggers-plugin-8.22.2.jar

com.atlassian.plugin.PluginParseException: Cannot open JAR file: \\yourfileserver\Shares\Jira\plugins\installed-plugins\jira-workinghours-plugin-4.22.4-REL-0001.jar

Where \\yourfileserver\Shares\Jira would correspond to the $SHARED_HOME drive in your Jira Data Center configuration.

In most cases the 'caused by' statement in the exception will be:

Caused by: java.io.IOException: The specified network name is no longer available


If the above errors show up in the logs, we recommend performing system level troubleshooting  such as verifying that the server has full and unrestricted access to the $SHARED_HOME drive.

This would include network level as well the file server level troubleshooting, for example:

  • Ping the file server hosting the $SHARED_HOME drive continuously (i.e. 'ping -t') from the Jira server itself to verify there is no packet loss.
  • Copy all the .jar files from the $SHARED_HOME/installed-plugins folder to a local drive and then perform a binary comparison (diff on Linux, fc /b on Windows) of the 'source' and 'target' files - were the files copied successfully and the comparison operations check out?
  • Perform a write operation to the $SHARED_HOME folder

(i) For the file system level troubleshooting, please also verify you're logged in to the Jira server with the same user account that is configured to run Jira as it could as well be a file permission issue (though in case of file permissions  'access denied' errors in the logs are usually evident, still worth double checking)

Cause

The most likely cause is due to the environment: something is holding Java from reading the Jira plugins from $SHARED_HOME/plugins/installed-plugins folder consistently. It could be due to a genuine random network issue, or could be an Antivirus on the file server preventing access to the files.

In the above example, the root cause was that an Anti-virus on the file server for some reason marked the .jar files as malware. In this scenario, even though the share and files seemingly appeared as available, the Antivirus prevented Jira nodes from accessing the files, resulting in the Jira startup failure. We were able to identify that there was indeed something preventing the files from being accessed properly when we tried to actually copy the files from the shared home to destination

Certain Anti-virus programs are known to clash with Jira and will either need to be disabled, or configure exceptions on the Jira directories:

Solution

Resolve any underlying network, Antivirus, or file server issue. Once resolved, restart Jira.


Last modified on Jun 6, 2023

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.