Quantcast

apache.commons.pool.impl.GenericObjectPool.borrowObject(Unknown Source)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

apache.commons.pool.impl.GenericObjectPool.borrowObject(Unknown Source)

Balakumar Narayanasamy
While trying to get the connection pool of "Socket" objects, getting the error as below.

java.lang.NullPointerException
at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(Unknown Source)

The generic object pooling instance is not null.

Can we have a pool of Socket connections using GenericObjectPooling (apache commons pool)?
Loading...