Documentation for Crowd 2.0.x. Documentation for other versions of Crowd is available too.
For long-term use, you should configure Crowd to restart automatically when the operating system restarts. For Windows servers, this means configuring Crowd to run as a Windows service.
Running Crowd as a Windows service has other advantages. When Crowd is started manually, a console window opens - there is a risk that someone may accidentally shut down Crowd by closing the window. Also, the Crowd logs are properly managed by the Windows service (reliably found in \atlassian-crowd.log
in the root Crowd directory, and rotated by file size).
Note for 64-bit Windows
If you are running 64-bit Windows, please note that Apache Tomcat cannot run as a Windows service if you are using a 64-bit JDK. Please ensure that you are using a 32-bit JDK. For more information, please refer to CONF-12293 for a workaround if you intend to continue using the 64-bit JDK.
bin
subdirectory, e.g. {CROWD_INSTALL}\apache-tomcat\bin
C:\Program Files\..
), please convert it to its eight-character equivalent (e.g. c:\Progra~1\..
).echo %JAVA_HOME%
to confirm this.service.bat install Crowd
tomcat6 //US//Crowd --Startup auto
net start Crowd
, and stop it with net stop Crowd
.regedt32.exe
. There should be an entry at HKEY_LOCAL_MACHINE -> SOFTWARE -> Apache Software Foundation -> Procrun 2.0 -> Crowd
.tomcat6 //US//Crowd --JvmMx 512
tomcat6 //US//Crowd ++JvmOptions="-XX:MaxPermSize=512m"
tomcat6 //US//Crowd ++JvmOptions="-Xloggc:path\to\logs\atlassian-gc.log"
tomcat6 //US//Crowd ++JvmOptions="-Xloggc:c:\crowdinstall\logs\atlassian-gc.log"
atlassian-crowd-1.1.2/database
.Refer to the Tomcat documentation for further service options.