Hi All,
After Jira upgrade on latest version, Troubleshoot and support tools showed that the following flags are missing 'validation-query, pool-test-on-borrow, pool-test-while-idle'
we've added them in the dbconfig.xml file as explained in the KB file:
https://confluence.atlassian.com/jirakb/health-check-database-connection-settings-792636748.html
We are using oracle 12c database and the content of dbconfig.xml is:
<?xml version="1.0" encoding="UTF-8"?>
<jira-database-config>
<name>defaultDS</name>
<delegator-name>default</delegator-name>
<database-type>oracle10g</database-type>
<jdbc-datasource>
<url>jdbc:oracle:thin:*******</url>
<driver-class>oracle.jdbc.OracleDriver</driver-class>
<username>******</username>
<password>*****</password>
<pool-min-size>20</pool-min-size>
<pool-max-size>20</pool-max-size>
<pool-max-wait>30000</pool-max-wait>
<pool-max-idle>20</pool-max-idle>
<pool-remove-abandoned>true</pool-remove-abandoned>
<pool-remove-abandoned-timeout>300</pool-remove-abandoned-timeout>
<validation-query>select 1 from dual</validation-query>
<pool-test-while-idle>true</pool-test-while-idle>
<pool-test-on-borrow>false</pool-test-on-borrow>
</jdbc-datasource>
</jira-database-config>
After jira restart, it fails to connect to database.
Any advise why would this cause issue?