cancel
Showing results for 
Search instead for 
Did you mean: 

Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'

Former Member
0 Kudos

Hi,

when I run my J2EE application deployed on Portal J2EE Engine i have the follow problem. Help me plaese.THANKS

Application error occurred during request processing.

Details: 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 [no sapjcorfc in java.library.path]. java.library.path [/opt/java1.4/jre/lib/IA64W:/opt/java1.4/jre/lib/IA64W/server:/opt/java1.4/jre/../lib/IA64W:/usr/sap/NPD/JC20/exe::/usr/sap/NPD/JC20/exe:/usr/sap/NPD/JC20/exe:/tmp/sapinst_exe.18567.1178531206:/usr/sap/NPD/SYS/exe/run:/oracle/client/10x_64/instantclient:/usr/lib:/usr/sap/NPD/JC20/j2ee/os_libs:/usr/sap/NPD/JC20/exe:]

Exception id: [0017A4AB008F006F0000008F000060E200045B7E315F711D]

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I suposse you are packing sapjco jar into your project or at least defining this dependency into your project. Have you the rfc lib dll installed into your system? There is a 64 bits version different of the common librfc32.dll you have to download and install.

Support Portal (https://websmp206.sap-ag.de/support > Downloads >

Support Packages and Patches > Entry by Application Group > Additional Components > SAP Kernel > SAP KERNEL 64-BIT > SAP KERNEL 6.40 64-BIT >

SAP KERNEL 6.40 64-BIT > Windows Server on x64 64bit > #Database independent > librfc_66-20001176.sar, and extracting file librfc32.dll a x64 dll).

I hope this could be useful.