[
https://issues.apache.org/jira/browse/DAEMON-184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12926566#action_12926566
]
Mladen Turk commented on DAEMON-184:
------------------------------------
Huh, that's am obvious Java fault.
It says one thing in the Registry and something different is installed.
I suppose we should not trust the RuntimeLib key in the Registry after all.
Have you checked with Sun/Oracle if there is some ticket opened for that?
I would hate to fix something that might be already characterized as a bug in
JRE installation
I'll leave the case open for now till we figure out how to handle this.
> 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.