Resolve 'Unable to test the connection' during Jira Setup
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs 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
The content on this page relates to platforms which are supported; however, the content is out of scope of our Atlassian Support Offerings. Consequently, Atlassian cannot guarantee support. Please be aware that this material is provided for your information only and you may use it at your own risk.
Problem
Jira fails to test the database connection as part of the Jira setup, resulting in the error: Unable to test the connection

Cause
The permissions of the files and/or directories under '<jira-install-dir>/jre/lib/security/policy/' are incorrect.
Resolution
To correct the permissions, you can perform the following action:
1
chmod -R a+rx <jira-install-dir>/jre/lib/security/policy/
Was this helpful?