Q
Problem solve Get help with specific problems with your technologies, process and projects.

Pooling problem: Too many open connections

I have a question concerning pooling. When a component requests a pooled connection I call:
JCO.getClient( poolName );
to get the pooled Client and then I call
new JCO.Repository( poolName, poolName )
to get the Repository. If I make five simultaneous requests to the pool, I have found the MaxUsed open connections is nine! Why are so many connections being used? I assumed that it would be six (one for each of the five requests and one for the shared Repository).


Looks like you create a new Repository object every time. Not good! Create one and share it.


Dig Deeper on SAP security

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchContentManagement

SearchHRSoftware

Close