Unable to configure Crowd to run as a service on Tomcat

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

The following message appears when installing the service:


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:


[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: CROWDKB213060017

Last modified on Jun 6, 2010

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.