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

Still need help?

The Atlassian Community is here for you.

Ask the community

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:

    <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:

    <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>















Last modified on Jan 14, 2022

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.