Connection pooling through JNDI ?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   vinod_kotnala
Posted On:   Monday, December 3, 2001 05:12 AM

Is there any way to use connection pooling for LDAP Server?


In our application (which uses JNDI for talking to LDAP), we have a
single connection to LDAP. If we make make 4-5 calls to LDAP through
this connection, then it runs fine ... but increasing the calls to
30-40 throws exceptions .... We are just using a single thread to
execute these calls and all the calls are being made sequentially


How to get around this problem?


thanks

vinod.

Re: Connection pooling through JNDI ?

Posted By:   Luigi_Viggiano  
Posted On:   Monday, December 3, 2001 07:14 AM

There are some pooling framework around to pool db connection or to make generic object pooling (for socket, threads, etc). I believe that you should take a look at poolman (http://www.codestudio.com).
About | Sitemap | Contact