[
https://issues.apache.org/jira/browse/DAEMON-229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mladen Turk resolved DAEMON-229.
--------------------------------
Resolution: Invalid
Please use 64-bit version of procrun if you wish to run 64-bit JVM. It is
inside amd64/ distribution directory.
> Windows 2003 server 64bit and JDK1.6.0_29 64bit -- Failed creating java
> -----------------------------------------------------------------------
>
> Key: DAEMON-229
> URL: https://issues.apache.org/jira/browse/DAEMON-229
> Project: Commons Daemon
> Issue Type: Bug
> Components: Procrun
> Affects Versions: 1.0.8
> Environment: Windows 2003 server 64bit
> Sun JDK1.6.0_29 64bit
> Reporter: Apache Fan
>
> I tried to install Commons Daemon on 64 bit Windows 2003 Server with JDK
> 1.6.0_29 64 bit.
> During starting a service (Cassandra) I receive the error log below.
> As a workaround I installed 32 bit JVM, and configured the
> \jre6\bin\client\jvm.dll as JVM with the prunmgr //ES//servicename
> (Hint found at
> http://www.mkyong.com/tomcat/tomcat-error-prunsrvc-failed-creating-java-jvmdll/
> )
> Compatibility with 64 bit JVM should be established.
> {noformat}
> [2011-11-25 02:50:51] [debug] ( prunsrv.c:1519) Commons Daemon procrun log
> initialized
> [2011-11-25 02:50:51] [info] ( :0 ) Commons Daemon procrun
> (1.0.7.0 32-bit) started
> [2011-11-25 02:50:51] [info] ( :0 ) Running 'cassandra' Service...
> [2011-11-25 02:50:51] [debug] ( prunsrv.c:1259) Inside ServiceMain...
> [2011-11-25 02:50:51] [info] ( :0 ) Starting service...
> [2011-11-25 02:50:51] [debug] ( javajni.c:206 ) loading jvm
> 'D:\apps\jre6\bin\server\jvm.dll'
> [2011-11-25 02:50:52] [debug] ( javajni.c:251 ) Setting DLL search path to
> 'D:\apps\jre6\bin\server'
> [2011-11-25 02:50:52] [debug] ( javajni.c:251 ) Setting DLL search path to
> 'D:\apps\jre6\bin'
> [2011-11-25 02:50:52] [error] ( javajni.c:264 ) %1 is not a valid Win32
> application.
> [2011-11-25 02:50:52] [error] ( prunsrv.c:1045) Failed creating java
> D:\apps\jre6\bin\server\jvm.dll
> [2011-11-25 02:50:52] [error] ( prunsrv.c:1045) %1 is not a valid Win32
> application.
> [2011-11-25 02:50:52] [error] ( prunsrv.c:1402) ServiceStart returned 1
> [2011-11-25 02:50:52] [error] ( prunsrv.c:1402) %1 is not a valid Win32
> application.
> [2011-11-25 02:50:52] [info] ( :0 ) Run service finished.
> [2011-11-25 02:50:52] [info] ( :0 ) Commons Daemon procrun
> finished
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira