cancel
Showing results for 
Search instead for 
Did you mean: 

JCO_COMMUNICATION_FAILURE - CPI-C errors

Former Member
0 Kudos

Hi,

I'm getting some errors in XI but not always, I think it's when the server is on heavy load:

<SAP:Code area="MAPPING">JCO_COMMUNICATION_FAILURE</SAP:Code>

<SAP:P1>Error opening an RFC connection.</SAP:P1>

In sm21, I see:

14:45:55 RD S23 Connection to CPI-C client 351 was closed

14:45:55 RD S74 > Partner LU name:

14:45:55 RD S0R > Host: r1n0v3

14:45:55 RD S0I > Partner TP Name: jlaunch

14:45:55 DIA 003 700 SAPJSF R49 Communication error, CPIC return code 020, SAP return code 223

14:45:55 DIA 003 700 SAPJSF R5A > Conversation ID: 28232929

14:45:55 DIA 003 700 SAPJSF R64 > CPI-C function: CMSEND(SAP)

14:45:55 RD S23 Connection to CPI-C client 080 was closed

14:45:55 RD S74 > Partner LU name:

14:45:55 RD S0R > Host: r1n0v3

14:45:55 RD S0I > Partner TP Name: LCRSAPRF

14:45:55 DIA 000 700 BERNIER_Y R49 Communication error, CPIC return code 020, SAP return code 223

14:45:55 DIA 000 700 BERNIER_Y R5A > Conversation ID: 30118701

14:45:55 DIA 000 700 BERNIER_Y R64 > CPI-C function: CMSEND(SAP)

14:46:27 DIA 000 700 BERNIER_Y R49 Communication error, CPIC return code 002, SAP return code 679

14:46:27 DIA 000 700 BERNIER_Y R64 > CPI-C function: CMINIT(SAP)

14:46:27 DIA 000 700 BERNIER_Y R49 Communication error, CPIC return code 002, SAP return code 679

14:46:27 DIA 000 700 BERNIER_Y R64 > CPI-C function: CMINIT(SAP)

14:46:35 DIA 000 700 BERNIER_Y R49 Communication error, CPIC return code 002, SAP return code 679

14:46:35 DIA 000 700 BERNIER_Y R64 > CPI-C function: CMINIT(SAP)

Any idea? How can I fix those CPI-C errors?

Rgds,

Yves

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Yves Bernier ,

ABAP stack and JAVA stack makes communicattion Through JRFC using JCO, for this dedicated connections are defined. When communication takes plcae this calls JCo and if that time resource is engaged with another call and it cann not be assigned to the current call then JCO FAILURE ERROR occurs

For this recomended that you shoyuld increase your maximum no of connections (SAP recomonded 300) but you may increase this according to your requirement.this may solve your problem

For CPIC error codes follow this note.

Note 63347 - List: CPIC error codes

https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=63347&nlang=EN...

regards

Sandeep

IF helpful kindly reward points

former_member221434
Participant
0 Kudos

Hi Sandeep ,

Actually I am facing same problem in SAP PI Production and I do not have much idea in basis. So please Could u tell me where i should  increase that connection for connectivity between JCO and JRFC .

Regards,

Pradeep

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks, will check it out. The CPIC trace should be helpfull.

Rgds,

Yves

Former Member
0 Kudos

Hi Yves,

usually the CPIC error codes as explained in SAP Note 63347 point to NI_READ_FAILED 223 Network read error

TP_NOTREGISTERED 679 TP not registered

I guess that the connection to the gateway is closed, either by the remote program no longer registring (shutdown of SLD server?) or due the fact that the gateway itself cancels after a defined time the connection of "inactive" connections.

Extract of SAP Note 559119:

Using parameter gw/gw_disconnect, a gateway closes the TCP/IP connection

between two gateways if this is not used for a specified period.

Best regards,

Silvia