title: Error while using ActiveMQ PooledConnectionFactory
body: <p>I am using ActiveMQ PooledConnectionFactory </p>
  
  <pre><code>PooledConnectionFactory connectionFactory = new PooledConnectionFactory(Constants.AAMQ_MESSAGE_BROKER_URI);
  Connection tempConnection = connectionFactory.createConnection(queueUName, queuePwd);
  </code></pre>
  
  <p>its generating following exception</p>
  
  <blockquote>
    <p>Caused by: java.lang.NoSuchMethodError:
    org.apache.commons.pool.impl.GenericKeyedObjectPool.setLifo(Z)V   at
    org.apache.activemq.pool.PooledConnectionFactory.createConnection(PooledConnectionFactory.java:213)
      at
    com.model.util.MyJMSClient.createNewConnection(MyJMSClient.java:393)
      at com.model.util.MyJMSClient.getConnection(MyJMSClient.java:386)   at
    com.model.util.MyJMSClient.executeCommandASync(MyJMSClient.java:179)
      at com.model.util.MyJMSClient.executeCommand(MyJMSClient.java:104)
      at
    com.model.util.WinCommandRunner.executeCommand(WinCommandRunner.java:99)</p>
  </blockquote>
  
  <p>i have common-pool and other libs in the classspath</p>