* @return BaseConnectionManager2 instance
* @exception Exception Thrown if an error occurs
*/
private BaseConnectionManager2 getCM(InternalManagedConnectionPool.PoolParams pp) throws Exception
{
ManagedConnectionFactory mcf = new TestManagedConnectionFactory();
ManagedConnectionPool poolingStrategy = new JBossManagedConnectionPool.OnePool(mcf, pp, false, log);
BaseConnectionManager2 cm = new NoTxConnectionManager(ccm, poolingStrategy);
poolingStrategy.setConnectionListenerFactory(cm);
if (pp.prefill)