QUESTION POSED ON: 07 July 2003 I have successfully used JCo to connect to R/3 and make BAPI calls. However, I got errors when I establish more than 100 concurrent RFC connections.
I have set the connection pooling to 200. The error:
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed
Connect_PM GWHOST=192.168.103.21, GWSERV=sapgw00, ASHOST=192.168.103.21, SYSNR=00
LOCATION CPIC (TCP/IP) on local host
ERROR max no of 100 conversations exceeded
TIME Thu May 08 11:16:04 2003
RELEASE 46D
COMPONENT CPIC (TCP/IP)
VERSION 3
RC 466
MODULE r3cpic.c
LINE 9937
COUNTER 1
at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeConnect(Native Method)
at com.sap.mw.jco.rfc.MiddlewareRFC$Client.connect(MiddlewareRFC.java:755)
at com.sap.mw.jco.JCO$Client.connect(JCO.java:2605)
at com.sap.mw.jco.JCO$Pool.getClient(JCO.java:3806)
at com.sap.mw.jco.JCO$PoolManager.getClient(JCO.java:4353)
at com.sap.mw.jco.JCO$PoolManager.getClient(JCO.java:4311)
at com.sap.mw.jco.JCO.getClient(JCO.java:5998)
at com.sap.mw.jco.JCO$Repository.queryFunctionInterface(JCO.java:15503)
at com.sap.mw.jco.JCO$Repository.getFunctionInterface(JCO.java:15562)
at com.sap.mw.jco.JCO$BasicRepository.getFunctionTemplate(JCO.java:14720)
at ESSSurveyManager.<init>(ESSSurveyManager.java:23)
at ThreadGenerator.run(VolumeTest.java:49)
To continue reading for free, register below or login
Requires Membership to View
To read more you must become a member of SearchSAP.com
Just because the JCo connection pool is set to 200 does not mean that you can get 200 simultaneous dialog instances on the SAP application server. Check the value of the profile parameter rdisp/max_comm_entries to make sure the value to greater than or equal to 200.
Search and Browse the Expert Answer Center Search and browse more than 25,000 question and
answer pairs from more than 250 TechTarget industry experts.
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.
All Rights Reserved, Copyright 2000 - 2009, TechTarget | Read our Privacy Policy SearchSAP.com is a search service provided by TechTarget and is completely independent of and not affiliated with SAP AG.