Confluence Documentation

Confluence 4.1.x
Confluence 4.0.x
Confluence 3.5.x
Confluence 3.4.x
More...

Search the Knowledge Base and Documentation Spaces

Browse Content

You're visiting the Confluence Knowledge Base. Visit the Confluence Knowledge Base Home for an overview.

Skip to end of metadata
Go to start of metadata

Symptoms

When running Tomcat 6, connecting to the database using a Tomcat-configured DataSource, Confluence will not start. During setup you see the following error message:

Or, during start-up the following stack-trace is logged:

Cause

Tomcat 6 does not allow applications to authenticate DataSource connections. You must make sure that you have supplied a username and password in the DataSource configuration in your Tomcat config files, for example:

Resolution

  1. Shut down Confluence
  2. Open the confluence-cfg.xml file in your Confluence Home directory in a text editor
  3. Delete the following lines if you find them:
    • <property name="hibernate.connection.password">your-password</property>
    • <property name="hibernate.connection.username">your-username</property>
  4. Save the modified file
  5. Restart Confluence

Related Content

 Expand to see related content

Help us improve!
Is this article helpful?
Is the content complete?
Is it well written?