Communications link failure due to underlying exception
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.
Subject
Written By
Posted
Communications link failure due to underlying exception
February 22, 2005 01:11AM
February 22, 2005 02:54AM
February 22, 2005 10:38AM
February 22, 2005 11:48AM
November 01, 2007 09:32AM
November 01, 2006 05:52AM
November 30, 2006 11:31PM
November 30, 2006 11:37PM
December 01, 2006 12:44AM
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.