// the mbean works without this, but if called we start populating the pool early public void start() throws Exception { // System.err.println("Bound C3P0 PooledDataSource to name '" + jndiName + "'. Starting..."); logger.log(MLevel.INFO, "Bound C3P0 PooledDataSource to name ''{0}''. Starting...", jndiName); combods.getNumBusyConnectionsDefaultUser(); // just touch the datasource to start it up. }
public int getNumBusyConnectionsDefaultUser() throws SQLException { return combods.getNumBusyConnectionsDefaultUser(); }