Confluence Does Not Start Due to 'there may be a configuration problem in your confluence.cfg.xml file'

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

Symptoms

Confluence does not start, and gives a "there may be a configuration problem in your confluence.cfg.xml file." message.

Cause

Confluence allows you to define custom hibernate settings, and checks them on startup. This message indicates that you may have misconfigured your settings.

Resolution

Revert any custom settings you may have set in the confluence.cfg.xml file in your Confluence installation directory that start with hibernate.

The properties in this file change from time to time. The best way to check is to download and install Confluence in a test environment, and check the default values in the confluence.cfg.xml file.

For Confluence 7.13 and earlier, the properties will be similar to:

1 2 3 4 5 6 7 <property name="hibernate.c3p0.acquire_increment">1</property> <property name="hibernate.c3p0.idle_test_period">100</property> <property name="hibernate.c3p0.max_size">60</property> <property name="hibernate.c3p0.max_statements">0</property> <property name="hibernate.c3p0.min_size">20</property> <property name="hibernate.c3p0.preferredTestQuery">select 1</property> <property name="hibernate.c3p0.timeout">30</property>

The following properties should be present, but will have varying values (indicated by ?) depending on your installation:

1 2 3 4 5 6 7 8 <property name="hibernate.connection.driver_class">?</property> <property name="hibernate.connection.isolation">?</property> <property name="hibernate.connection.password">?</property> <property name="hibernate.connection.url">?</property> <property name="hibernate.connection.username">?</property> <property name="hibernate.database.lower_non_ascii_supported">?</property> <property name="hibernate.dialect">?</property> <property name="hibernate.setup">true</property>
Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.