on 02-23-2005 2:10 PM
Hi,
I´ve downloaded sapjco-hpia64-2.1.4.tgz, and installed it in a Itanium machine, running HPUX B.11.23. The problem comes when I try to connect with SAP using JCO. The virtual machine throws an execption with this message:
Exception in thread "main" java.lang.ExceptionInInitializerError: JCO.classInitialize():
Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'
JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc
at com.sap.mw.jco.JCO.(JCO.java:735)
at com.wurth.broker.sap.conexion.ClienteSAP.conectar(ClienteSAP.java:86)
at com.wurth.broker.sap.consulta.morosidad.test.TestMain.test1(TestMain.java:78)
at com.wurth.broker.sap.consulta.morosidad.test.TestMain.main(TestMain.java:36)
I think that the problem with the initialization is because i execute JVM with the -d64 modifier, but version of JCO is 64bit-compatible.
Can anyone help me?
Thanks in advance
I would wondering if you really got 32-bit libraries.
Just check this with file, e.g.
% file libsapjcorfc.so
libsapjcorfc.so: ELF-64 shared object file - IA64
% file librfccm.so
librfccm.so: ELF-64 shared object file - IA64
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.