[Crowd]
Documentation for Crowd 1.1. Documentation for other versions of Crowd is available too.
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:
The Crowd distribution includes the Apache Tomcat application server and an in-memory HSQL database engine. This JNDI reference ( You will also need to edit the file These are described as follows. Below is a list of supported databases and their Hibernate configurations. You will need to edit the RDBMS Hibernate SQL Dialect HypersonicSQL Microsoft SQL Server MySQL MySQL with InnoDB MySQL with MyISAM Oracle PostgreSQL You will need to edit the J2EE Server Dialect Borland ES JBoss JOnAS JOTM JRun4 Orion Resin Weblogic WebSphere CrowdDS
) can be adjusted to use your custom database and driver by editing the crowd.xml
deployment description.build.properties
, and run the script build.xml
, as described in 4.1 Important Files. The two relevant properties in the build.properties
file are:
hibernate.dialect
hibernate.transaction.factory_class
hibernate.dialect
hibernate.dialect
property to correspond to whichever database you are using:
org.hibernate.dialect.HSQLDialect
org.hibernate.dialect.SQLServerDialect
org.hibernate.dialect.MySQLDialect
org.hibernate.dialect.MySQLInnoDBDialect
org.hibernate.dialect.MySQLMyISAMDDialect
org.hibernate.dialect.OracleDialect
org.hibernate.dialect.PostgreSQLDialect
hibernate.transaction.factory_class
hibernate.transaction.factory_class
property to correspond to whichever application server you are using:
org.hibernate.transaction.BESTransactionManagerLookup
org.hibernate.transaction.JBossTransactionManagerLookup
org.hibernate.transaction.JOnASTransactionManagerLookup
org.hibernate.transaction.JOTMTransactionManagerLookup
org.hibernate.transaction.JRun4TransactionManagerLookup
org.hibernate.transaction.OrionTransactionManagerLookup
org.hibernate.transaction.ResinTransactionManagerLookup
org.hibernate.transaction.WeblogicTransactionManagerLookup
org.hibernate.transaction.WebSphereTransactionManagerLookup