The ping is needed to verify that your configuration works. If the ping does not succeed - as in your case - you should verify your configuration. Of course it could also be that your database is not running, or cannot be reached (networking issues). Unless the ping is successful, you will not be able to use the pool.
[Message sent by forum member 'writtmeyer' (writtmeyer)]
http://forums.java.net/jive/thread.jspa?messageID=335860