Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Cannot connect to 12 Database in JIRA

Navadeep July 6, 2017

Hi,

We are planning to migrate and upgrade JIRA application to the latest available version.

Below is my issue.

###################################################

2017-07-06 09:01:29,596 localhost-startStop-1 INFO [jira.config.database.SystemDatabaseConfigurationLoader] Reading database configuration from /var/atlassian/application-data/jira/dbconfig.xml
2017-07-06 09:01:29,618 localhost-startStop-1 INFO [jira.instrumentation.external.DatabaseExternalGauges] Installing DBCP monitoring instruments: DatabaseExternalGauges.JiraDbcpInstruments[instruments=[DBCP_MAX, DBCP_ACTIVE, DBCP_IDLE],objectName=com.atlassian.jira:name=BasicDataSource]
2017-07-06 09:01:29,720 localhost-startStop-1 INFO [atlassian.jira.startup.JiraStartupLogger] Running JIRA startup checks.
2017-07-06 09:01:29,725 localhost-startStop-1 INFO [atlassian.jira.startup.JiraStartupLogger] JIRA pre-database startup checks completed successfully.
2017-07-06 09:01:29,792 localhost-startStop-1 INFO [jira.config.database.DatabaseConfigurationManagerImpl] The database is not yet configured
2017-07-06 09:01:29,792 localhost-startStop-1 INFO [jira.config.database.DatabaseConfigurationManagerImpl] Enqueuing Database Checklist Launcher on post-database-configured-but-pre-database-activated queue
2017-07-06 09:01:29,793 localhost-startStop-1 INFO [jira.config.database.DatabaseConfigurationManagerImpl] The database is not yet configured
2017-07-06 09:01:29,793 localhost-startStop-1 INFO [jira.config.database.DatabaseConfigurationManagerImpl] Enqueuing Post database-configuration launchers on post-database-activated queue

###################################################

Steps I have followed : 

1. Installed JIRA 6.3.12 with 11g database

2. Upgraded JIRA 6.3.12 to 6.4.14 by keeping 11g database only

3. Manually migrated the data from 6.4.14 11g database to 12c database

4. Due to some issues with JIRA user, I had to wipe off everything and restart installing the application again.

5. Re-Installed JIRA 6.4.14 and connected to the 11g database successfully.

6. Not able to conect to the Oracle-12c database properly. 

Below is the "dbconfig.xml" file

<jira-database-config>
<name>defaultDS</name>
<delegator-name>default</delegator-name>
<database-type>oracle10g</database-type>
<jdbc-datasource>
<url>jdbc:oracle:thin:@<dbserver>:1521:CONFD</url>
<driver-class>oracle.jdbc.OracleDriver</driver-class>
<username>jiradbuser</username>
<password>abcdefgh</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>
<min-evictable-idle-time-millis>60000</min-evictable-idle-time-millis>
<time-between-eviction-runs-millis>300000</time-between-eviction-runs-millis>

<pool-test-while-idle>true</pool-test-while-idle>
<pool-test-on-borrow>false</pool-test-on-borrow>
</jdbc-datasource>
</jira-database-config>

 

Appreciate your quick response.

Thanks,

Nav

1 comment

Sanu Soman June 24, 2019

@Navadeep - Hi, did you manage to find the root cause? 

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events