Crowd 1.1 : 3. Connecting Crowd to a Database
This page last changed on Jun 19, 2007 by rosie@atlassian.com.
By default, Crowd 'Standalone' is shipped preconfigured with HSQL. This is fine for evaluation purposes, but for production installations, you should connect Crowd to an enterprise database. This also lets you take advantage of existing database backup and recovery procedures. The following instructions will allow you to configure Crowd to an external database:
Database OverviewThe Crowd distribution includes the Apache Tomcat application server and an in-memory HSQL database engine. This JNDI reference (CrowdDS) can be adjusted to use your custom database and driver by editing the crowd.xml deployment description. You will also need to edit the file build.properties, and run the script build.xml, as described in 2. Installing and Configuring Crowd and CrowdID. The two relevant properties in the build.properties file are:
These are described as follows. hibernate.dialectBelow is a list of supported databases and their Hibernate configurations. You will need to edit the hibernate.dialect property to correspond to whichever database you are using:
hibernate.transaction.factory_classYou will need to edit the hibernate.transaction.factory_class property to correspond to whichever application server you are using:
Related Topics |
![]() |
Document generated by Confluence on Jun 20, 2007 20:58 |