Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via marc.info by Unknown author, 1 year ago
Communications link<br> failure<br> <br> The last packet successfully received from the server was 28,517<br> milliseconds ago.  The last packet sent successfully to the server was 7<br> milliseconds ago. at<br
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link<br>
failure<br>
<br>
The last packet successfully received from the server was 28,517<br>
milliseconds ago.  The last packet sent successfully to the server was 7<br>
milliseconds ago.
 at<br>
org.apache.ibatis.transaction.jdbc.JdbcTransaction.setDesiredAutoCommit(JdbcTransactio \
n.java:102)<br>         at<br>
org.apache.ibatis.transaction.jdbc.JdbcTransaction.openConnection(JdbcTransaction.java \
:135)<br>         at<br>
org.apache.ibatis.transaction.jdbc.JdbcTransaction.getConnection(JdbcTransaction.java: \
58)<br>         at<br>
org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:279)
 at<br>
org.apache.ibatis.executor.ReuseExecutor.prepareStatement(ReuseExecutor.java:72)
 at org.apache.ibatis.executor.ReuseExecutor.doUpdate(ReuseExecutor.java:46 \
)<br>         at \
org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:108)<br>         \
at<br> org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
 at<br>
org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:145 \
)<br>         ... 33 more<br>
Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException:<br>
Communications link failure<br>
<br>
The last packet successfully received from the server was 28,517<br>
milliseconds ago.  The last packet sent successfully to the server was 7<br>
milliseconds ago.
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native \
Method)<br>         at<br>
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.ja \
va:39)<br>         at<br>
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccesso \
rImpl.java:27)<br>         at \
java.lang.reflect.Constructor.newInstance(Constructor.java:513)<br>         at \
com.mysql.jdbc.Util.handleNewInstance(Util.java:411)<br>         at<br>
com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1116)	at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3102)	at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2991)	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3532)	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2002)	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2163)	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2618)