[ 
https://issues.apache.org/jira/browse/DAEMON-184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12926577#action_12926577
 ] 

Sebb commented on DAEMON-184:
-----------------------------

On WinXP, my installation has:

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.7]
"JavaHome"="C:\\Program Files\\Java\\jre7"
"RuntimeLib"="C:\\Program Files\\Java\\jre7\\bin\\client\\jvm.dll"

i.e. the JRE RuntimeLib points to the client jvm

The corresponding JDK registry entry does not have a RuntimeLib entry, only 
JavaHome

All the RuntimeLib entries point to the client jvm on my system, and there are 
no references to \server\jvm.dll in my registry.

> 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.

Reply via email to