Hi JCO experts,
I need some help, We are using JCO for our backend rfc calls.
I noticed that our application ran out of number of connections configured to SAP and it started throwing exceptions during a certain time frame. That's all fine. However, currently, the stats are looking like this:
Number of connection currently used 0
Thread waiting for connections 807
Current connections alive (Used + unused) 4
In other words,
pool.getNumUsed() = 0
pool.getNumWaitingThreads() = 807
pool.getCurrentPoolSize() = 4
I don't understand why number of Thread waiting is so high when connections are available in the pool.
Am I missing something here.. Are these stuck threads? If that's the case, my application should at one time choke but it's running fine..
If you have run into something like this, please help.
Env Solaris
Jco Version: latest
thanks