title: ClassNotFoundException: BasicDataSourceFactory
body: <p>I have a JAVA application that runs fine in my local Windows7 environment on Tomcat7. I am trying to put this into production in a Linux environment. 
  Everything is done and is working fine except when my application tries to access the DB. Operations where DB is not involved, it works fine.
  The error I get is </p>
  
  <pre><code>java.lang.ClassNotFoundException: org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory
  </code></pre>
  
  <p>This class is part of tomcat-dbcp.jar. This is placed in my $CATALINA_HOME/lib folder. Why is this still not getting picked up? Please help!</p>
  
  <p>UPDATE: I also opened up the .jar file and checked. The org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory.class file is present.</p>