Re: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
Posted by: V C
Date: October 06, 2010 08:34AM

i had same problem and i've fixed doing following:

- update dbcp version from 1.2.2 to 1.4
- set testOnBorrow=true and validationQuery=SELECT now;

Options: ReplyQuote


Subject
Written By
Posted
Re: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
V C
October 06, 2010 08:34AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.