MySQL Forums
Forum List  »  Connector/JDBC and Java

Communications link failure due to underlying exception
Posted by: Henry Fernandes
Date: February 22, 2005 01:11AM

I cannot issue a Statement.executeUpdate(). I get the error below. Can anyone help? (I have tried v3.1 and 3.2 of the driver.)
-H


com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:

** BEGIN NESTED EXCEPTION **

java.io.EOFException

STACKTRACE:

java.io.EOFException
at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1895)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2342)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2838)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1584)
at com.mysql.jdbc.Connection.serverExecute(Connection.java:4742)
at com.mysql.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedStatement.java:1251)
at com.mysql.jdbc.ServerPreparedStatement.executeInternal(ServerPreparedStatement.java:993)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1657)
at ca.mdci.batch.cdr.SynchMutinyCdr.synchMutinyCdr(SynchMutinyCdr.java:190)
at ca.mdci.batch.cdr.SynchMutinyCdr.main(SynchMutinyCdr.java:100)


** END NESTED EXCEPTION **


at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2554)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2838)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1584)
at com.mysql.jdbc.Connection.serverExecute(Connection.java:4742)
at com.mysql.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedStatement.java:1251)
at com.mysql.jdbc.ServerPreparedStatement.executeInternal(ServerPreparedStatement.java:993)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1657)
at ca.mdci.batch.cdr.SynchMutinyCdr.synchMutinyCdr(SynchMutinyCdr.java:190)
at ca.mdci.batch.cdr.SynchMutinyCdr.main(SynchMutinyCdr.java:100)

ca.mdci.dl.util.ConnectionException: Problem committing connection: java.sql.SQLException: Communications link failure during commit(). Transaction resolution unknown.

Options: ReplyQuote


Subject
Written By
Posted
Communications link failure due to underlying exception
February 22, 2005 01:11AM
June 09, 2006 04:42AM
August 24, 2006 05:27PM
July 15, 2007 04:27AM


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.