Skip to Content
author's profile photo Former Member
Former Member

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

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]

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Nov 12, 2008 at 05:42 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.