
Documentation for Crowd 1.2. Documentation for other versions of Crowd is available too.
The standard Crowd installation guide tells you how to install the 'Standalone' distribution of Crowd, which includes Apache Tomcat. You may wish to deploy Crowd on your own existing application server instead. For this purpose, we provide WAR (Webapp ARchive) distributions of the Crowd and CrowdID server applications.
This page shows one example - use it as a basis for other installations
Follow the steps below to install Crowd on JBoss 4.2.2 GA using a PostgreSQL database:
server/default/deploy/crowd.war in the rest of these instructions.server/default/deploy/crowd.war/WEB-INF/jboss-web.xml, with the following contents:
<jboss-web>
<resource-ref>
<res-ref-name>jdbc/CrowdDS</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<jndi-name>java:CrowdDS</jndi-name>
</resource-ref>
</jboss-web>
crowd_db in PostgreSQL.server/default/deploy/postgres-ds.xml:
<datasources>
<local-tx-datasource>
<jndi-name>CrowdDS</jndi-name>
<connection-url>jdbc:postgresql://localhost:5432/crowd_db</connection-url>
<driver-class>org.postgresql.Driver</driver-class>
<user-name>postgres</user-name>
<password>postgres</password>
</local-tx-datasource>
</datasources>
server/default/deploy/crowd.war/WEB-INF/classes/jdbc.properties to use the PostreSQL dialect:
hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
server/default/deploy/crowd.war/WEB-INF/classes/crowd.properties to point to the port of the JBoss server (8080 default):
crowd.server.url=http://localhost:8080/crowd/services/ application.login.url=http://localhost:8080/crowd/console/
run.sh.