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 administration
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.