cancel
Showing results for 
Search instead for 
Did you mean: 

Connection pool size limit error

former_member202208
Active Participant
0 Kudos

Hi all,

I am trying to execute a BAPI function from MII, execution fails with the following message;

[ERROR] Unable to make RFC call Exception: [Problem retrieving JCO.Function object: Connection pool <ECC_Server>:800:02:EN:ECCUser is exhausted. The current pool size limit (max connections) is 1 connections.]

[WARN] [SAP_JCo_Function_0] Skipping execution of output links due to action failure.

[ERROR] Uncaught exception from SAP_JCo_Function_0, Problem retrieving JCO.Function object: Connection pool <ECC_Server>:800:02:EN:ECCUser is exhausted. The current pool size limit (max connections) is 1 connections.

Config:

1. In 'SAP MII: Connections' of type JCO and have given pool size to 100.

2. In 'SAP MII: Credential Stores' store is created and same is being used in Start Session.

3. In  JCO_Function block, we can search for the Function Module and set it.

MII Version:

14.0.2 Build(82)

Am I missing something?

Has any one seen this? please advise.

Thanks,

Message was edited by: Shridhar N

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member185280
Active Contributor
0 Kudos

Check if there is another JCo connection configured with the same IP and User. I have found in the past that even though there are two connections configured because they have the same ip and user they are put into one pool with the lowest max pool of the two connections.

former_member202208
Active Participant
0 Kudos

Hi,

Reset JCo pool and its working.

Closing thread.

Thanks,

former_member80258
Participant
0 Kudos

Hi Shridhar

How did you do the reset?

Regards

former_member202208
Active Participant
0 Kudos

Hello Eric,

Try using;

  1. http:// <XMII_Server>:<port>/XMII/JCOProxy?Mode=Reset&Target=Pool&PoolName=ALL
  2. http://<;XMII_Server>:<port>/XMII/JCOProxy?Mode=Reset&Target=Pool

Thanks,

Shridhar..