When the deploy-webapp-ce buildomatic target is executed it copies the JDBC driver to the following default locations:
Tomcat 6 and 7:
<tomcat>/lib
JBoss 5
<jboss>/server/default/lib
GlassFish:
<glassfish>/domains/domain1/lib/ext