This page last changed on Oct 21, 2008 by justin.

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:

  • Open the crowd-init.properties file.
  • Choose the appropriate line in the file, depending upon your operating system (see below).
  • Remove the # at the beginning of the line.
  • Enter the name of the directory you want Crowd to use as its Home directory. For example,
    • On Windows:
      crowd.home=c:/data/crowd-home
      

      Note: On Windows, make sure you use forward slashes as shown above, not backward slashes.

    • On Mac and Unix-based systems:
      crowd.home=/var/crowd-home
      
  • Save the crowd-init.properties file.

Advanced Usage

It is also possible to define the crowd.home property as a Java system or Servlet Context parameter.

Java System Parameter

Use the following format for your Java parameter:

-Dcrowd.home=/var/crowd-home
Where should you put this value?

You could add it to the setenv.sh or setenv.bat file supplied with the standalone release of Crowd.

Servlet Context Parameter

The following configuration XML can be added to the crowd-standalone-install/apache-tomcat/conf/Catalina/localhost/crowd.xml context file
to set the crowd.home property:

   <Parameter name="crowd.home" value="/var/crowd-home" override="false"/>        
Document generated by Confluence on Jul 30, 2009 01:30