cancel
Showing results for 
Search instead for 
Did you mean: 

Application error occurred calling an JSP

Former Member
0 Kudos

Hi @all,

I have a problem with calling my Java JCOServer.class on the J2EE-Engine from our WebAS2004 (with integrated Java). I deploy an EJB including an JCOServer Java class by using the SAP Netweaver Developer Studio.

The deployment works without any error. But when I want to start my JCOServer Java class by calling an instance within a JSP I always get the following error message.

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 [C:\j2sdk1.4.2_12\jre\bin\server;C:\j2sdk1.4.2_12\jre\bin;C:\j2sdk1.4.2_12\bin;C:\usr\sap\XI1\DVEBMGS00\j2ee\os_libs;C:\oracle\product\10_2_0\ora102\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;;C:\usr\sap\XI1\SYS\exe\uc\NTI386]

Do anybody know how to fix this problem? Thank you for your help in advance.

Greetings, Alexander

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi alexander,

did u copied the dynamic link library belonging to the jco to your win/system32 folder (@jco documentation) ?

regards,

jens

Former Member
0 Kudos

Ho Jens,

if you mean those two dll files.

librfc32.dll

sapjcorfc.dll

Those I have copied in the system32 folder.

Greetings, Alexander

Former Member
0 Kudos

Hi alexander,

the right dll's for you OS - did you downloaded it from servicemarketplace?

when the middleware does not come up, it often depends on the dll's.

hth,jens

Former Member
0 Kudos

Hi Jens,

yes that are the right ones for my OS.

Greetings, Alexander