Resolve 'Unable to test the connection' during Jira Setup
The content on this page relates to platforms which are supported, however are 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.
Platform Notice: Server and Data Center Only - This article only applies to Atlassian products on the server and data center platforms.
Jira fails to test the database connection as part of the Jira setup, resulting in the error: Unable to test the connection
The permissions of the files and/or directories under '<jira-install-dir>/jre/lib/security/policy/' are incorrect.
To correct the permissions, you can perform the following action:
chmod -R a+rx <jira-install-dir>/jre/lib/security/policy/