This page last changed on Feb 14, 2008 by donna@atlassian.com.
Configuring a Crowd 'context' in Tomcat:
- Create a file called crowd.xml that contains the following context:
<Context path="/crowd" docBase="/path/to/atlassian-crowd-1.3-war-directory" reloadable="false"/>
- Place it in your Tomcat's conf/Catalina/localhost/ directory.
Modify the /path/to/atlassian-crowd-1.3-war-directory to reflect the actual path to your Crowd WAR distribution. To avoid problems with your deployment, this should NOT be Tomcat's webapps directory.
If you are installing in Windows, make sure that the paths you specify for the location of the WAR file and database are full paths with drive letters.
Configuring a CrowdID 'context' in Tomcat:
If you are deploying CrowdID, you will need to specify a JNDI datasource.
- Create a file called openidserver.xml that resembles the following example for a MySQL database:
<Context path="/openidserver" docBase="/path/to/atlassian-crowd-openid-1.3-war-directory" reloadable="false">
<Resource name="jdbc/CrowdIDDS"" auth="Container" type="javax.sql.DataSource"
username="crowdiduser"
password="mypassword"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost/crowdopenidserverdb?autoReconnect=true"/>
</Context>
- Place it in your Tomcat's conf/Catalina/localhost/ directory.
Modify the /path/to/atlassian-crowd-openid-1.3-war-directory to reflect the actual path to your CrowdID WAR distribution. To avoid problems with your deployment, this should NOT be Tomcat's webapps directory. Modify appropriately for your database (e.g. Oracle, Postgres, etc.)
Please remember to update the driveClassName and copy the JDBC driver jar to your Tomcat's common/lib/ directory.
|