Skip navigation links

MySQL Forums :: Connector/JDBC and Java :: com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:


Advanced Search

com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:
Posted by: muthu arasu ()
Date: July 09, 2010 03:15AM

Hi I have web application using mysql database connection. its working fine but after 8 hours or 10 later i will get below errors. please me someone


09 Jul 2010 03:31:44:924 :[ERROR] : [C]:DAOLayer [M]:getExportSystemAttribute [L]:9782
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:1903)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2349)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2860)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1571)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1666)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2972)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2902)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:822)
at com.mysql.jdbc.DatabaseMetaData.getCallStmtParameterTypes(DatabaseMetaData.java:1235)
at com.mysql.jdbc.DatabaseMetaData.getProcedureColumns(DatabaseMetaData.java:3640)
at com.mysql.jdbc.CallableStatement.determineParameterTypes(CallableStatement.java:479)
at com.mysql.jdbc.CallableStatement.<init>(CallableStatement.java:374)
at com.mysql.jdbc.Connection.parseCallableStatement(Connection.java:4056)
at com.mysql.jdbc.Connection.prepareCall(Connection.java:4130)
at com.mysql.jdbc.Connection.prepareCall(Connection.java:4104)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.mchange.v2.c3p0.stmt.GooGooStatementCache$1StmtAcquireTask.run(GooGooStatementCache.java:525)
at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)


** END NESTED EXCEPTION **



Last packet sent to the server was 4 ms ago.
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2561)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2860)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1571)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1666)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2972)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2902)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:822)
at com.mysql.jdbc.DatabaseMetaData.getCallStmtParameterTypes(DatabaseMetaData.java:1235)
at com.mysql.jdbc.DatabaseMetaData.getProcedureColumns(DatabaseMetaData.java:3640)

Options: ReplyQuote


Subject Written By Posted
com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: muthu arasu 07/09/2010 03:15AM
Re: com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: balaji m 07/12/2010 11:19PM
Re: com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: kalagara bmk chowdary 07/18/2010 12:14AM
Re: com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: Alfredo Cueto Jimenez 08/05/2010 06:14AM


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.