You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Apache Fan (Updated) (JIRA)" <ji...@apache.org> on 2011/11/25 10:46:40 UTC

[jira] [Updated] (DAEMON-229) Windows 2003 server 64bit and JDK1.6.0_29 64bit -- Failed creating java

     [ https://issues.apache.org/jira/browse/DAEMON-229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Apache Fan updated DAEMON-229:
------------------------------

    Description: 
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}

  was:
I tried to install Commons Daemon on 64 bit Windows 2003 Server with JDK 1.6.0_29 64 bit.

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}

    
> 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