Re: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
Date: March 16, 2010 05:13AM
I'm getting error below
### Error querying database. Cause: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
The last packet successfully received from the server was 44,454 milliseconds ago. The last packet sent successfully to the server was 44,454 milliseconds ago.
### The error may involve defaultParameterMap
### The error occurred while setting parameters
### Cause: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
The last packet successfully received from the server was 44,454 milliseconds ago. The last packet sent successfully to the server was 44,454 milliseconds ago.
I have a job that queries the database (through ibatis )every minute and on occasion will produce error above.
Environment as follows
Windows XP
Java 1.6
MySql 5.1.35
ibatis 3 beta 7
Any ideas of how to solve?
Thanks