The database is not yet configured error on startup

KP11
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 30, 2014

What causes this error?

014-09-25 16:29:37,480 localhost-startStop-1 INFO [jira.config.database.SystemDatabaseConfigurationLoader] Reading database configuration from E:\Jira_Home\dbconfig.xml
2014-09-25 16:29:37,496 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]
2014-09-25 16:29:37,527 localhost-startStop-1 INFO [atlassian.jira.startup.JiraStartupLogger] Running JIRA startup checks.
2014-09-25 16:29:37,543 localhost-startStop-1 INFO [atlassian.jira.startup.JiraStartupLogger] JIRA pre-database startup checks completed successfully.
2014-09-25 16:29:37,543 localhost-startStop-1 INFO [jira.config.database.DatabaseConfigurationManagerImpl] The database is not yet configured
2014-09-25 16:29:37,543 localhost-startStop-1 INFO [jira.config.database.DatabaseConfigurationManagerImpl] Enqueuing Database Checklist Launcher on post-database-configured-but-pre-database-activated queue
2014-09-25 16:29:37,543 localhost-startStop-1 INFO [jira.config.database.DatabaseConfigurationManagerImpl] The database is not yet configured
2014-09-25 16:29:37,543 localhost-startStop-1 INFO [jira.config.database.DatabaseConfigurationManagerImpl] Enqueuing Post database-configuration launchers on post-database-activated queue
2014-09-25 16:36:06,145 localhost-startStop-2 INFO [atlassian.jira.startup.DefaultJiraLauncher] Stopping launchers
2014-09-25 16:36:06,145 localhost-startStop-2 INFO [atlassian.plugin.manager.DefaultPluginManager] Shutting down the plugin system

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

dbconfig.xml

<?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:@localhost:1512:jirase1</url>
<driver-class>oracle.jdbc.OracleDriver</driver-class>
<username>jira</username>
<password>jira</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>
</jdbc-datasource>
</jira-database-config>

 

1 answer

0 votes
Tiago Comasseto
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 30, 2014

Hi Ken, seems that JIRA is trying to read the dbconfig.xml from E:\Jira_Home, one of the possible cause can be that the user running JIRA doesn't have permission to read the file, it's more common when JIRA is configured to run as a Windows service.

One other thing could be that the dbconfig.xml file is corrupted somehow, in this case you may delete it and recreate it using JIRA Configuration Tool.

I hope it helps.

Cheers

Suggest an answer

Log in or Sign up to answer