Skip to Content
0
Former Member
Jul 14, 2006 at 04:32 AM

Facing problem in using Connection Pool

28 Views

Hi All,

I am trying to use connection pool concept in EP application development. At start of application I am allocating 50 connections whenever an application is callled. The problem is once application is closed connection pool is not releasing connections it is using. So after few calls number of connections limit is reached and hence application is not running. So please let me know what is solution. Folllowing is the code used for connection pool.

=======================================================

JCO.addClientPool(POOL_NAME,50,strR3Client,strR3User,strR3Pwd,strR3LoginLan,strR3IPAddress,strR3SysID);

****************************************

//client = JCO.getClient(CreateConnection.POOL_NAME);

//JCO.releaseClient(client);

-


This is part of code which I am using.After this is it required to destroy connection pool also. If yes please guide me.

Regards,

Gangadharayya.