Mantis - Resin
Viewing Issue Advanced Details
6322 minor always 02-03-20 03:17 06-24-20 15:46
nam  
ferg  
normal  
closed 4.0.63  
fixed  
none    
none 4.0.65  
0006322: watchdog starts up with 32bit jvm instead of 64bit on solaris
(rep by Q. Jian)

Watchdog starts up with 32-bit jvm (ignoring jvm_args), while the server itself starts up with the 64-bit jvm.

resin.properties:
    jvm_args : -d64

watchdog log:

[2020/01/31 15:58:07.020] {main} Unable to find native library 'resin' for com.caucho.vfs.JniFilePathImpl. Resin expects to find this library in:

                                   (Unix) /opt/app/resin-pro-4.0.61/libexec/libresin.so

                                 On Unix, run ./configure --prefix=`pwd`; make; make install.

 

                                 The JVM exception was: java.lang.UnsatisfiedLinkError: /opt/app/resin-pro-4.0.61/libexec64/libresin.so: ld.so.1: java: fatal: /opt/app/resin-pro-4.0.61/libexec64/libresin.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)

 

[2020/01/31 15:58:07.020] {main} JNI file: Unable to find native library 'resin' for com.caucho.vfs.JniFilePathImpl. Resin expects to find this library in:

                                   (Unix) /opt/app/resin-pro-4.0.61/libexec/libresin.so

                                 On Unix, run ./configure --prefix=`pwd`; make; make install.

 

                                 The JVM exception was: java.lang.UnsatisfiedLinkError: /opt/app/resin-pro-4.0.61/libexec64/libresin.so: ld.so.1: java: fatal: /opt/app/resin-pro-4.0.61/libexec64/libresin.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)

 

[2020/01/31 15:58:07.025] {main} JNI keepalive: Unable to find native library 'resin' for com.caucho.network.listen.JniSelectManager. Resin expects to find this library in:

                                   (Unix) /opt/app/resin-pro-4.0.61/libexec/libresin.so

                                 On Unix, run ./configure --prefix=`pwd`; make; make install.

 

                                 The JVM exception was: java.lang.UnsatisfiedLinkError: /opt/app/resin-pro-4.0.61/libexec64/libresin.so: ld.so.1: java: fatal: /opt/app/resin-pro-4.0.61/libexec64/libresin.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)

 

[2020/01/31 15:58:07.029] {main} JNI socket: Unable to find native library 'resin_os' for com.caucho.vfs.JniServerSocketImpl. Resin expects to find this library in:

                                   (Unix) /opt/app/resin-pro-4.0.61/libexec/libresin_os.so

                                 On Unix, run ./configure --prefix=`pwd`; make; make install.

 

                                 The JVM exception was: java.lang.UnsatisfiedLinkError: /opt/app/resin-pro-4.0.61/libexec64/libresin_os.so: ld.so.1: java: fatal: /opt/app/resin-pro-4.0.61/libexec64/libresin_os.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)

 

Notes
(0006947)
ferg   
06-24-20 15:46   
Add watchdog-jvm-arg-line.