Unable to configure Crowd to run as a service on Tomcat
症状
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
原因
This is a known Sun issue, due to find msvcr71.dll.
ソリューション
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.
深刻度 |
Low |
---|
最終更新日 2010 年 6 月 6 日
Powered by Confluence and Scroll Viewport.