
Documentation for Crowd 1.5. 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
Please check that your database and server are supported, as outlined in System Requirements, and make sure that all dependencies are installed as described below, otherwise Crowd will not run properly.
lib folder on the application server:
The JTA specifies standard Java interfaces between a transaction manager and the parties involved in a distributed transaction system: the resource manager, the application server, and the transactional applications. Refer to the Sun documentation for more information.
All of these JAR files are available in the Crowd Standalone Distribution zip file, available on the Crowd download centre — jta-1.0.1B.jar, mail-1.4.jar and activation-1.1.jar in CROWD\apache-tomcat-5.5.20\common\lib.
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/classes/crowd-init.properties. The Crowd Home directory is where Crowd will store its configuration information. If you are using the embedded HSQL database, supplied for evaluation purposes, Crowd will also store its database in this directory. To specify the directory:
crowd-init.properties file.# at the beginning of the line.crowd.home=c:/data/crowd-home
crowd.home=/var/crowd-home
crowd-init.properties file.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/crowd.properties to point to the port of the JBoss server. 8080 is the default port number, and is shown in the example below:
crowd.server.url=http://localhost:8080/crowd/services/ application.login.url=http://localhost:8080/crowd/console/
run.sh (Unix-based systems) or run.bat (Windows).