# SAP Netweaver JCO library error

**URL:** <https://matillioncommunity.discourse.group/t/sap-netweaver-jco-library-error/1545>\
**Category:** Matillion ETL\
**Created:** [November 10, 2021, 10:29am UTC](https://matillioncommunity.discourse.group/t/sap-netweaver-jco-library-error/1545 "2021-11-10T10:29:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Botn](https://avatars.discourse-cdn.com/v4/letter/b/c4cdca/32.png) [@Botn](https://matillioncommunity.discourse.group/u/Botn)\
**Post date:** [November 10, 2021, 10:29am UTC](https://matillioncommunity.discourse.group/t/sap-netweaver-jco-library-error/1545/1 "2021-11-10T10:29:11Z")

</div>

We have an issue with the SAP Netweaver component and how it utilizes the JCO library.

Systematically we run into an error saying that we have opened to many connections to the jco library. How can this be?

 ![0694G00000GzATfQAN_0D54G0000824JSHSA2](https://us1.discourse-cdn.com/flex002/uploads/matillioncommunity/original/1X/c9716859a9630351ae994f4c6bf160a5e15ebfc7.png)

Is there a way to increase the limit of 202 connections or is it a way to make Matillion release the threads earlier in order to limit how many connections Matillion binds up to the library at any given time?

---

<div class="post-metadata">

**Author:** ![Botn](https://avatars.discourse-cdn.com/v4/letter/b/c4cdca/32.png) [@Botn](https://matillioncommunity.discourse.group/u/Botn)\
**Post date:** [November 15, 2021, 9:04am UTC](https://matillioncommunity.discourse.group/t/sap-netweaver-jco-library-error/1545/2 "2021-11-15T09:04:58Z")

</div>

Have anyone been able to successfully use Matillion against SAP ECC?

---

<div class="post-metadata">

**Author:** ![Botn](https://avatars.discourse-cdn.com/v4/letter/b/c4cdca/32.png) [@Botn](https://matillioncommunity.discourse.group/u/Botn)\
**Post date:** [November 17, 2021, 10:55am UTC](https://matillioncommunity.discourse.group/t/sap-netweaver-jco-library-error/1545/3 "2021-11-17T10:55:16Z")

</div>

We have been able to increase the 202 conversation limit, by setting the java options parameter to the environment variables.

$&nbsp;cat&nbsp;/usr/share/tomcat8/bin/setenv.sh

export&nbsp;CATALINA\_OPTS="$CATALINA\_OPTS&nbsp;-Djco.cpic\_maxconv=2000"

&nbsp;
