[
https://issues.apache.org/jira/browse/DAEMON-184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12926717#action_12926717
]
Sebb commented on DAEMON-184:
-----------------------------
Sorry, I see now.
On a Win 7 system which has both the 32 bit and 64 bit JREs installed:
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Java Runtime Environment\1.6]
"JavaHome"="C:\\Program Files (x86)\\Java\\jre6"
"RuntimeLib"="C:\\Program Files (x86)\\Java\\jre6\\bin\\client\\jvm.dll"
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.6]
"JavaHome"="C:\\Program Files\\Java\\jre6"
"RuntimeLib"="C:\\Program Files\\Java\\jre6\\bin\\client\\jvm.dll"
As can be seen, both point to the client directory, but as noted above, the
64-bit installation only has the server directory.
The 32-bit installation only has the client directory.
> amd64 prunsrv.exe pointed to wrong default jvm.dll
> --------------------------------------------------
>
> Key: DAEMON-184
> URL: https://issues.apache.org/jira/browse/DAEMON-184
> Project: Commons Daemon
> Issue Type: Bug
> Components: Procrun
> Affects Versions: 1.0.4
> Environment: Windows 7 64bit
> Reporter: Samuel Domonkos
> Priority: Minor
>
> correct path to default 64bit jvm.dll is C:\Program
> Files\Java\jre6\bin\server\jvm.dll
> not C:\Program Files\Java\jre6\bin\client\jvm.dll
> (not sure why java decided to change this for the 64bit jre)
> log with default:
> [2010-10-29 15:26:57] [debug] ( prunsrv.c:1493) Commons Daemon procrun log
> initialized
> [2010-10-29 15:26:57] [info] ( :0 ) Commons Daemon procrun
> (1.0.4.0 64-bit) started
> [2010-10-29 15:26:57] [info] ( :0 ) Running 'jetty' Service...
> [2010-10-29 15:26:57] [debug] ( prunsrv.c:1241) Inside ServiceMain...
> [2010-10-29 15:26:57] [info] ( :0 ) Starting service...
> [2010-10-29 15:26:57] [debug] ( javajni.c:191 ) loading jvm 'C:\Program
> Files\Java\jre6\bin\client\jvm.dll'
> [2010-10-29 15:26:57] [debug] ( javajni.c:234 ) Setting DLL search path to
> 'C:\Program Files\Java\jre6\bin\client'
> [2010-10-29 15:26:57] [debug] ( javajni.c:234 ) Setting DLL search path to
> 'C:\Program Files\Java\jre6\bin'
> [2010-10-29 15:26:57] [error] ( javajni.c:247 ) The specified module could
> not be found.
> [2010-10-29 15:26:57] [error] ( prunsrv.c:1033) Failed creating java
> [2010-10-29 15:26:57] [error] ( prunsrv.c:1372) ServiceStart returned 1
> [2010-10-29 15:26:57] [info] ( :0 ) Run service finished.
> [2010-10-29 15:26:57] [info] ( :0 ) Commons Daemon procrun
> finished
> logging with jvm set to C:\Program Files\Java\jre6\bin\server\jvm.dll
> [2010-10-29 15:41:46] [debug] ( prunsrv.c:1493) Commons Daemon procrun log
> initialized
> [2010-10-29 15:41:46] [info] ( :0 ) Commons Daemon procrun
> (1.0.4.0 64-bit) started
> [2010-10-29 15:41:46] [info] ( :0 ) Running 'jetty' Service...
> [2010-10-29 15:41:46] [debug] ( prunsrv.c:1241) Inside ServiceMain...
> [2010-10-29 15:41:46] [info] ( :0 ) Starting service...
> [2010-10-29 15:41:46] [debug] ( javajni.c:191 ) loading jvm 'C:\Program
> Files\Java\jre6\bin\server\jvm.dll'
> [2010-10-29 15:41:46] [debug] ( javajni.c:643 ) Jvm Option[0]
> -Djava.class.path=c:\jetty\start.jar
> [2010-10-29 15:41:46] [debug] ( javajni.c:874 ) Java Worker thread started
> org/eclipse/jetty/start/Main:main
> [2010-10-29 15:41:47] [debug] ( prunsrv.c:1054) Java started
> org/eclipse/jetty/start/Main
> [2010-10-29 15:41:47] [info] ( :0 ) Service started in 1015 ms.
> [2010-10-29 15:41:47] [debug] ( prunsrv.c:1364) Waiting for worker to
> finish...
> [2010-10-29 15:41:47] [debug] ( javajni.c:889 ) Java Worker thread finished
> org/eclipse/jetty/start/Main:main with status=0
> [2010-10-29 15:41:47] [debug] ( prunsrv.c:1369) Worker finished.
> [2010-10-29 15:41:47] [debug] ( prunsrv.c:1392) Waiting for all threads to
> exit
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.