java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/megatherium code example
Example: no suitable driver found for jdbc:mysql:
Try putting the driver jar in the server lib folder. ($CATALINA_HOME/lib)
I believe that the connection pool needs to be set up even before the application is instantiated. (At least that's how it works in Jboss)