KeyedPoolableObjectFactory factory = PoolUtils
.synchronizedPoolableFactory(new HBaseConnectionPoolFactory());
HBaseConnectionPool pool = new HBaseConnectionPool(factory);
for (Connection connection : connectionList) {
logger.debug("Connection is: " + connection);
pool.addObject(connection);
}
filter.getServletContext().setAttribute(CruxConstants.HBASE_POOL,
pool);
} catch (Exception e) {