Unable to configure Crowd to run as a service on Tomcat
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
The following message appears when installing the service:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
C:\crowd\crowd-2.0.3-std\apache-tomcat\bin>echo %java_home%
C:\Progra~1\Java\jdk1.6.0_04
C:\crowd\crowd-2.7-std\apache-tomcat\bin>service.bat install Crowd
Installing the service 'Crowd' ...
Using CATALINA_HOME: C:\crowd\crowd-2.0.3-std
Using CATALINA_BASE: C:\crowd\crowd-2.0.3-std
Using JAVA_HOME: C:\Progra~1\Java\jdk1.6.0_04
Using JVM: C:\Progra~1\Java\jdk1.6.0_04\jre\bin\server\jvm.dll
The service 'Crowd' has been installed.
C:\crowd\crowd-2.7-std\apache-tomcat\bin>tomcat6 //US//Crowd --Startup auto
C:\crowd\crowd-2.7-std\apache-tomcat\bin>net start Crowd
The Apache Tomcat Crowd service is starting.
The Apache Tomcat Crowd service could not be started.
A service specific error occurred: 0.
More help is available by typing NET HELPMSG 3547.
And the Crowd logs show the following error:
1
2
[2008-10-30 15:13:15] [947 prunsrv.c] [error] Failed creating java C:\jdk1.6.0_10\jre\bin\server\jvm.dll
[2008-10-30 15:13:15] [1202 prunsrv.c] [error] ServiceStart returned 1
Cause
This is a known Sun issue, due to find msvcr71.dll.
Resolution
Place a copy of JDK_HOME\bin\msvcr71.dll to a system path directory ( <windows>/system32 directory ). If this doesn't work, place it in Tomcat's bin folder.
Severity | Low Regular Expression: Failed creating.+jvm.dll Article ID: CROWDKB |
---|
Was this helpful?