Failed to load JNI library bmc-ctmem-config-jni-64x

Everything about Control-M Enterprise Manager Server installation or setup.
Post Reply
User avatar
schidl
Nouveau
Nouveau
Posts: 16
Joined: 11 Jun 2007 12:00
Location: Germany
Contact:

Failed to load JNI library bmc-ctmem-config-jni-64x

Post by schidl » 29 Jan 2009 5:50

Hi,

I've installed CONTROL-M/EM 6.4.01 successfully on AIX 5.3 ML09 with PostgreSQL. Because of network configuration i must start orbconfigue but without success:

%em640> orbconfigure
Library Path: /usr/java5/jre/bin:/usr/java5/jre/bin/j9vm:/usr/java5/jre/bin:/BMC/em640/pgsql/lib:/BMC/em640/pgsql/lib32:.:.:/BMC/em640/appl/lib/bin.ibm4/RogueWave:/BMC/em640/appl/lib/bin.ibm4.deb/RogueWave.deb:/usr/openwin/lib:/BMC/em640/appl/lib/bin.ibm4/ecs_lm_sl:/BMC/em640/appl/lib/bin.ibm4:/BMC/em640/pgsql/lib:/BMC/em640/pgsql/lib32:.:./:/BMC/em640/appl/lib/bin.ibm4/RogueWave:/BMC/em640/appl/lib/bin.ibm4.deb/RogueWave.deb:/usr/openwin/lib:/BMC/em640/appl/lib/bin.ibm4/ecs_lm_sl:/BMC/em640/appl/lib/bin.ibm4:/usr/local/lib:/usr/lib:/usr/ucblib/sparcv9:/usr/lib
Failed to load JNI library bmc-ctmem-config-jni-64x
UnsatisfiedLinkError exception caught - java.lang.UnsatisfiedLinkError: bmc-ctmem-config-jni-64x (A file or directory in the path name does not exist.)
Exception in thread "main" java.lang.UnsatisfiedLinkError: com/bmc/ctmem/jni/JNIConfig.createConfigAPI(Ljava/lang/String;Ljava/lang/String;)[B
at com.bmc.ctmem.jni.JNIConfig.<init>(JNIConfig.java:81)
at com.bmc.ctmem.configadmin.common.InitConfig.<init>(InitConfig.java:97)
at com.bmc.ctmem.configadmin.gui.DomainConfigFrame.main(DomainConfigFrame.java:172)
%em640>

I've found in the KnowledgeBase of BMC an old entry for release 6.3.01, but the requested file exists in /BMC/em640/appl/lib/bin.ibm4. And java runtime 5 is installed.

I've fixed the problem at the moment with a modified config.xml from an SLES 9 installation.

Has somebody the same problem? Any ideas?

regards,
schidl

User avatar
philmalmaison
Nouveau
Nouveau
Posts: 1148
Joined: 08 Jun 2007 12:00
Location: Ile de France

Post by philmalmaison » 03 Feb 2009 2:18

check your jdk version (must be 1.4.2 or later ?)
check JAVA_HOME env variable

regards
philmalmaison

User avatar
schidl
Nouveau
Nouveau
Posts: 16
Joined: 11 Jun 2007 12:00
Location: Germany
Contact:

JAVA 1.5 installed and Java 1.4.2 also tested

Post by schidl » 03 Feb 2009 3:30

We have installed java 1.5 and JAVA_HOME ist set correctly:

%em640> java -version
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pap32dev-20051104)
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc-32 j9vmap3223-20051103 (JIT enabled)
J9VM - 20051027_03723_bHdSMR
JIT - 20051027_1437_r8
GC - 20051020_AA)
JCL - 20051102
%em640>

%em640> echo $JAVA_HOME
/usr/java5
%em640>

Any ideas?
We have this problem on two different AIX-Systems

regards,
schidl

User avatar
philmalmaison
Nouveau
Nouveau
Posts: 1148
Joined: 08 Jun 2007 12:00
Location: Ile de France

Post by philmalmaison » 04 Feb 2009 9:30

it look like system OS version pb somewhere ... i couldn't reproduce it (no AIX)
i recomand you to see with OS system knowledge, or open a case with BMC.

regards
philmalmaison

garluquin

Post by garluquin » 04 Sep 2009 2:11

Hi:

The problem is about java files. You have installed java 32 bits and you need java 64 bits. After install java 64 bits, orbconfigure works fine.

In 6.4.01 EM version you need java 64 bits to run orbconfigure

%bin> ./java -version
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pap64dev-20090707 (SR10 ))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc64-64 j9vmap6423-20090707 (JIT enabled)
J9VM - 20090706_38445_BHdSMr
JIT - 20090623_1334_r8
GC - 200906_09)
JCL - 20090705
%bin>


Regards.

Post Reply