Problem:
- Product Name: BES
- Product Version: 6.5 64-bit
- Platform/OS Version: Solaris 9 64-bit
Launching the OSAgent with Runtime.getRuntime().exec() java method using the vbj command fails. When executed with java it runs succesfully.
Resolution:
Launching the OSAgent with Runtime.getRuntime().exec() java method using the vbj command fails. When executed with java it runs successfully.
Error message:
/opt/j2sdk1.4.2_08/jre/lib/sparc/server/libjvm.so: wrong ELF class: ELFCLASS32
Source of the problem:
The cause of the error message is that the vbj application is, compiled as 32bit binary with 32bit JDK while osagent is, compiled as a 64 bit binary. Therefore a "wrong ELF class:" is, seen. In VBE65, the vbj launcher is a native executable, and as VisiBroker is not, supported on JDK64 bit, it is, compiled with JDK 32 bits.
Use java to execute the java method Runtime.getRuntime().exec() or use the JDK 32bits version in order to execute the method with vbj.
Notes:
Visibroker 65 supports 32 and 64 bits platforms that is the OS and not the JDK 64 bits. VisiBroker 65 only supports JDK 32 bits.
#VisiBroker
#Security




