My Oracle Support Banner

Enterprise Integration Platform : SAP Connector Throws Error : max no of 202 conversations exceeded (Doc ID 2432706.1)

Last updated on AUGUST 07, 2018

Applies to:

Oracle Agile Engineering Data Management - Version 6.2.0.0 and later
Information in this document applies to any platform.

Symptoms

ACTUAL BEHAVIOR
When using Enterprise Integration Platform (EIP) to connect to SAP and having big workloads with lot of transactions in a short time the
JCo throws the following error message

ERROR
max no of 202 conversations exceeded

eai.log display the folloiwing log : 

[2018-07-31 10:19:55.553 MESZ] INFO (R3Connector) - Connection function(Normal/SNC)
[2018-07-31 10:19:55.553 MESZ] INFO (R3Connector) - SAP Pool Name: EIGNER_CONNECTION_POOL23930945
[2018-07-31 10:19:55.553 MESZ] INFO (R3Connector) - Setting JCo Connection Parameters
[2018-07-31 10:19:55.553 MESZ] INFO (R3Connector) - ---------------------------------------
[2018-07-31 10:19:55.553 MESZ] INFO (R3Connector) - jco.client.client: 500
[2018-07-31 10:19:55.553 MESZ] INFO (R3Connector) - jco.client.user: EIPUSER
[2018-07-31 10:19:55.553 MESZ] INFO (R3Connector) - jco.client.passwd: ****
[2018-07-31 10:19:55.553 MESZ] INFO (R3Connector) - jco.client.lang: DE
[2018-07-31 10:19:55.553 MESZ] INFO (R3Connector) - jco.client.ashost: /H/xxxxxxxxx/S/3299/H/xxxxxxxxx
[2018-07-31 10:19:55.553 MESZ] INFO (R3Connector) - jco.client.sysnr: 00
[2018-07-31 10:19:55.553 MESZ] INFO (R3Connector) - jco.destination.expiration_time: 15000
[2018-07-31 10:19:55.553 MESZ] INFO (R3Connector) - jco.client.trace: 1
[2018-07-31 10:19:55.553 MESZ] INFO (R3Connector) - jco.destination.pool_capacity: 3
[2018-07-31 10:19:55.553 MESZ] INFO (R3Connector) - jco.destination.peak_limit: 10
[2018-07-31 10:19:55.553 MESZ] INFO (R3Connector) - --------------------------------------------------
[2018-07-31 10:19:55.553 MESZ] INFO (R3Connector) - jco.client.use_sapgui: 0
[2018-07-31 10:19:55.568 MESZ] ERROR (Manager) - Cannot connect to SAP.
com.sap.conn.jco.JCoException: (102) JCO_ERROR_COMMUNICATION: Initialization of repository destination EIGNER_CONNECTION_POOL23930945 failed: Connect to SAP gateway failed
Connection parameters: TYPE=A DEST=EIGNER_CONNECTION_POOL23930945 ASHOST=xxxxxxxxx SYSNR=00 SAPROUTER=/H/xxxxxxxxx/S/3299 PCS=1

LOCATION CPIC (TCP/IP) on local host with Unicode
ERROR max no of 202 conversations exceeded
TIME Tue Jul 31 10:19:55 2018
RELEASE 721
COMPONENT CPIC (TCP/IP) with Unicode
VERSION 3
RC 466
MODULE r3cpic.c
LINE 14641
COUNTER 567

at com.sap.conn.jco.rt.RfcDestination.getSystemID(RfcDestination.java:1100)
at com.sap.conn.jco.rt.RepositoryManager.getRepository(RepositoryManager.java:29)
at com.sap.conn.jco.rt.RfcDestination.initRepository(RfcDestination.java:1049)
at com.sap.conn.jco.rt.RfcDestination.getRepository(RfcDestination.java:1193)
at com.sap.conn.jco.rt.RfcDestination.getRepository(RfcDestination.java:33)
at com.eigner.eai.connector.sap.SAPRepository.<init>(SAPRepository.java:407)
at com.eigner.eai.connector.sap.SapR3.start(SapR3.java:441)
at com.eigner.eai.connector.sap.R3Connector.start(R3Connector.java:232)
at com.eigner.eai.controller.ControllerHelper.startConnector(ControllerHelper.java:115)
at com.eigner.eai.controller.Processor$ProcessingInfo.callConnector(Processor.java:548)
at com.eigner.eai.controller.Processor.process(Processor.java:159)
at com.eigner.eai.controller.Controller.send(Controller.java:642)
at com.eigner.eai.controller.Controller.process(Controller.java:293)
at com.eigner.eai.connector.plm.Yin.process(Yin.java:1338)
at com.eigner.eai.connector.plm.Yin.process(Yin.java:1302)
at com.eigner.eai.connector.plm.PlmConnector.process(PlmConnector.java:138)
at com.eigner.eai.connector.sync.EciProcess.process(EciProcess.java:261)
at com.eigner.eai.connector.plm.sync.YinSyncCallable.callEci(YinSyncCallable.java:93)
at com.agile.eci.AbstractEciCallable.call(AbstractEciCallable.java:56)
at com.agile.eci.AbstractEciCallable.call(AbstractEciCallable.java:24)
at com.agile.share.callable.CallableResult$CallableWrapper.call(CallableResult.java:169)
at java.util.concurrent.FutureTask.run(Unknown Source)
at com.agile.share.callable.CallableResult$InternalTask.run(CallableResult.java:127)
at com.agile.share.callable.DefaultCallableManager$DirectExecutor.execute(DefaultCallableManager.java:167)
at com.agile.share.callable.DefaultCallableManager.execute(DefaultCallableManager.java:484)
at com.agile.share.callable.DefaultCallableManager.execute(DefaultCallableManager.java:694)
at com.agile.eci.DefaultEciCallableManager.executeEci(DefaultEciCallableManager.java:66)
at com.agile.eci.DefaultEciCallableManager.execute(DefaultEciCallableManager.java:61)
at com.agile.eci.IpcServerRunnable.execute(IpcServerRunnable.java:800)
at com.agile.eci.IpcServerRunnable.run(IpcServerRunnable.java:678)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: com.sap.conn.jco.JCoException: (102) JCO_ERROR_COMMUNICATION: Connect to SAP gateway failed
Connection parameters: TYPE=A DEST=EIGNER_CONNECTION_POOL23930945 ASHOST=xxxxxxxxx SYSNR=00 SAPROUTER=/H/xxxxxxxxx/S/3299 PCS=1

LOCATION CPIC (TCP/IP) on local host with Unicode
ERROR max no of 202 conversations exceeded
TIME Tue Jul 31 10:19:55 2018
RELEASE 721
COMPONENT CPIC (TCP/IP) with Unicode
VERSION 3
RC 466
MODULE r3cpic.c
LINE 14641
COUNTER 567

at com.sap.conn.jco.rt.MiddlewareJavaRfc.generateJCoException(MiddlewareJavaRfc.java:625)
at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.connect(MiddlewareJavaRfc.java:1384)
at com.sap.conn.jco.rt.ClientConnection.connect(ClientConnection.java:704)
at com.sap.conn.jco.rt.RepositoryConnection.connect(RepositoryConnection.java:72)
at com.sap.conn.jco.rt.PoolingFactory.init(PoolingFactory.java:115)
at com.sap.conn.jco.rt.ConnectionManager.createFactory(ConnectionManager.java:349)
at com.sap.conn.jco.rt.DefaultConnectionManager.createFactory(DefaultConnectionManager.java:46)
at com.sap.conn.jco.rt.ConnectionManager.getFactory(ConnectionManager.java:323)
at com.sap.conn.jco.rt.RfcDestination.getSystemID(RfcDestination.java:1094)
... 32 more
Caused by: RfcException:
message: Connect to SAP gateway failed
Connection parameters: TYPE=A DEST=EIGNER_CONNECTION_POOL23930945 ASHOST=xxxxxxxxx SYSNR=00 SAPROUTER=/H/xxxxxxxxx/S/3299 PCS=1

LOCATION CPIC (TCP/IP) on local host with Unicode
ERROR max no of 202 conversations exceeded
TIME Tue Jul 31 10:19:55 2018
RELEASE 721
COMPONENT CPIC (TCP/IP) with Unicode
VERSION 3
RC 466
MODULE r3cpic.c
LINE 14641
COUNTER 567

return code: RFC_FAILURE (1)
error group: 102
key: RFC_ERROR_COMMUNICATION
at com.sap.conn.rfc.engine.RfcIoControl.error_end(RfcIoControl.java:259)
at com.sap.conn.rfc.engine.RfcIoControl.ab_rfcopen(RfcIoControl.java:101)
at com.sap.conn.rfc.api.RfcApi.RfcOpen(RfcApi.java:81)
at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.connect(MiddlewareJavaRfc.java:1348)
... 39 more


STEPS
The issue can be reproduced at will with the following steps:
1. Have big workloads with lot of transaction through SAP Connector

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.