Q

What's wrong with my JCo-made R/3 connector?

This Content Component encountered an error

I have made a SAP R/3 connector using JCO. It is part of my process server which is Servlets based server.

When I deploy and run my application in IBM WebSphere I get the following exception first time when JCO calls are made.

----------------------------------------
Worker#5 10.10.1.43 (spaneri;movaris) EAISystemProperties.execute: 
java.lang.NoSuchMethodError: dispatchRequest
at com.sap.mw.jco.rfc.MiddlewareRFC.nativeInitialize(Native Method)
at com.sap.mw.jco.rfc.MiddlewareRFC.
 
  (MiddlewareRFC.java:67)
at java.lang.Class.forName1(Native Method)
at java.lang.Class.forName(Class.java(Compiled Code))
at com.sap.mw.jco.JCO.
  
   (JCO.java:292)
at
com.movaris.eai.adapters.sapadapter.R3ConnectionFactory.
   
    (R3Connect
ionF
actory.java:69)
at
com.movaris.eai.adapters.sapadapter.R3ConnectionFactory.getInstance(R3Co
nnec
tionFactory.java:82)
at
com.movaris.eai.adapters.sapadapter.R3MethodMetaData.changeProperties(R3
Meth
odMetaData.java:781)
at
com.movaris.oc.task.EAISystemProperties.updateProperties(EAISystemProper
ties
.java:207)
at
com.movaris.oc.task.EAISystemProperties.executeInternal(EAISystemPropert
ies.
java:447)
at com.movaris.oc.task.EAIBaseTask.execute(EAIBaseTask.java:135)
at
com.movaris.oc.core.kernel.Dispatcher.dispatchInternal(Dispatcher.java:4
00)
at com.movaris.oc.core.kernel.Dispatcher.dispatch(Dispatcher.java:211)
at OC.service(OC.java:234)
----------------------------------------
   
  
 

I have put the jRFC11.DLL, jRFC12.DLL adn LIBRFC32.DLL in WINNT/System32 and jCO.jar is in my CLASSPATH. This works fine with other application servers and/or servlet runners. Can you please let me know what the problem could be?


It could be that you have not put the appropriate JCo JNI DLL (jRFC12.DLL) into the directory where WebSphere expects it. Please check the WebSphere documentation.


This was first published in May 2002

Dig deeper on SAP Java and J2EE

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close