I have set up a mysql db at amazon RDS.
I'm able to connect to and query tables from my mac at home by mysqlworkbench, but when I try to connect it from a jersey-jpa-hibernate application inside eclipse I am getting below exception.
At the same time I'm successfully able to query database from mysqlWorkbench on same machine.
my MYSQL-RDS endpoint is
whereas the local tomcat trying to connect pool-xxx-.nwrknj.fios.verizon.ne