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 (Created) (JIRA)" <ji...@apache.org> on 2011/11/25 10:44:40 UTC

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

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.

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

        

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

Posted by "Mladen Turk (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DAEMON-229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mladen Turk resolved DAEMON-229.
--------------------------------

    Resolution: Fixed

Give it couple of hours till the server sync is made and
http://commons.apache.org/daemon/binaries.html
will have better explanation for cpu subdir

In the mean time:
adm64 - AMD64/EMT64
ia64  - Intel Itanium 64

FYI ia64 is standard naming for Itanium processor.
amd64 was used for as we now know as x86_64 (or just x64)
However we will stick with amd64 for 1.0.x branch because
many users depend on the naming scheme.


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

        

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

Posted by "Sebb (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DAEMON-229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebb updated DAEMON-229:
------------------------

    Affects Version/s:     (was: 1.0.8)
                       1.0.7

bq. Commons Daemon procrun (1.0.7.0 32-bit) started

Also note that you are not using the current version (1.0.8)
                
> 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.7
>         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

        

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

Posted by "Mladen Turk (Resolved) (JIRA)" <ji...@apache.org>.
     [ 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

        

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

Posted by "Apache Fan (Updated) (JIRA)" <ji...@apache.org>.
     [ 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

        

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

Posted by "Mladen Turk (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DAEMON-229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13157302#comment-13157302 ] 

Mladen Turk edited comment on DAEMON-229 at 11/25/11 9:02 PM:
--------------------------------------------------------------

Give it couple of hours till the server sync is made and
http://commons.apache.org/daemon/binaries.html
will have better explanation for cpu subdir

In the mean time:
adm64 - AMD64/EMT64
ia64  - Intel Itanium 64

FYI ia64 is standard naming for Itanium processor.
amd64 was used for what we now know as x86_64 (or just x64)
However we will stick with amd64 for 1.0.x branch because
many users depend on the naming scheme.


                
      was (Author: mturk@apache.org):
    Give it couple of hours till the server sync is made and
http://commons.apache.org/daemon/binaries.html
will have better explanation for cpu subdir

In the mean time:
adm64 - AMD64/EMT64
ia64  - Intel Itanium 64

FYI ia64 is standard naming for Itanium processor.
amd64 was used for as we now know as x86_64 (or just x64)
However we will stick with amd64 for 1.0.x branch because
many users depend on the naming scheme.


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

        

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

Posted by "Apache Fan (Reopened) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DAEMON-229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Apache Fan reopened DAEMON-229:
-------------------------------


Hi,

thanks for the clarification.

I checked again, and it seems that the documentation and the naming of the binary directory is not precise enough.

http://commons.apache.org/daemon/binaries.html states...:
{noformat}
amd64 - AMD 64-bit
ia64 - Intel 64-bit
{noformat}

However:
- amd64 directory contains a binary that works on Intel 64 bit (in contrast to the documentation)
- ia64 contains a binary that does not work on Intel 64 bit Xeon (however would be expected to do so according to the documentation)

Could you please make it clear at least in the provided documentation?

cheers,
AF
                
> 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.7
>         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