Q

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

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 last published in May 2002

Dig Deeper on SAP Java and J2EE

PRO+

Content

Find more PRO+ content and other member only offers, here.

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.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchContentManagement

SearchFinancialApplications

Close