cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with JCO RFC Server

Former Member
0 Kudos

Hi All,

I am facing a problem with my RFC server which is created using JCO and is perfectly running in production. But when we setup a new testing environment, sometimes we are getting error and when we restart the RFC server the jobs start working.

The exact problem we are facing is we are running lot many jobs created in BW to tarnsfer data from SAP to an application server using these RFCs, the jobs are getting failed with "Communication Failure" error message in SAP and we need to restartt the RFC sever around 10 to 15 times a day for each job for getting all the jobs to success. And when we restart the RFC server and start the BW job again the job will run succesfuly. Can anyone please tell me what is causing this failure and help me out to solve this problem.

Here is the error we are getting:

INFO | jvm 1 | 2008/08/13 01:08:17 | Exception in server server@servername:

INFO | jvm 1 | 2008/08/13 01:08:17 | com.sap.mw.jco.JCO$Exception: (102)

RFC_ERROR_COMMUNICATION: CPIC-CALL: 'SAP_CMACCPTP'

INFO | jvm 1 | 2008/08/13 01:08:17 |

INFO | jvm 1 | 2008/08/13 01:08:17 | LOCATION CPIC (TCP/IP) on local host

INFO | jvm 1 | 2008/08/13 01:08:17 | ERROR internal error

INFO | jvm 1 | 2008/08/13 01:08:17 |

INFO | jvm 1 | 2008/08/13 01:08:17 | TIME Wed Aug 13 01:08:17 2008

INFO | jvm 1 | 2008/08/13 01:08:17 | RELEASE 640

INFO | jvm 1 | 2008/08/13 01:08:17 | COMPONENT NI (network interface)

INFO | jvm 1 | 2008/08/13 01:08:17 | VERSION 37

INFO | jvm 1 | 2008/08/13 01:08:17 | RC -1

INFO | jvm 1 | 2008/08/13 01:08:17 | COUNTER 2

I am basicaly a Java developer and bit new to SAP. Any help for solving this problem will be highly appreciated.

Thanks

Sareesh

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Sareesh,

Sorry I know dis is nothing to do with your question!!!!! I Need a help!! I am too working on building a RFC Server , i am new to SAP and have fair background in Java ...All i am trying to to do is code a RFC listener which can receive IDOC and parse it. I would really appreciate if could send me sample code.

Thanks a ton

Former Member
0 Kudos

You will need to make sure that you use a new version of the sapjco.jar. The reason for this error is that the RFC server is not reset properly after a call has been made to it by the remote SAP system.

If you are already using the latest version of the sapjco.jar, make sure that the librfc32.dll in the system32 folder is also of a version which is compatible with the sapjco.jar. I would suggest that you download the entire zip file again from the service marketplace and extract the v2.1.8 jar as well as the librfc32.dll and use it in your application.

T00th