Communications link failure
Posted by: susheel zaveri
Date: April 25, 2005 12:54AM

Hai

I am susheel, i am facing a strange problem (please help me out in solving this issue)

I am using tomcat 4, with MySql. I am using mysql/connector-j version 3.2.0 alpha..

My java classes are able to retrieve data from database, but suddenly after some time i get an error (Description from catalina.out is added below.). After which none of my classes can contact the database. But if i restart the server (tomcat) everything goes fine. i am unable to find the reason nor any specific patter. I shall be greatly indebted to you for any of your suggestion

MySQL read error (Product_info_onload): com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:
INFO | jvm 1 | 2005/03/28 10:23:18 |
INFO | jvm 1 | 2005/03/28 10:23:18 | ** BEGIN NESTED EXCEPTION **
INFO | jvm 1 | 2005/03/28 10:23:18 |
INFO | jvm 1 | 2005/03/28 10:23:18 | java.io.EOFException
INFO | jvm 1 | 2005/03/28 10:23:18 |
INFO | jvm 1 | 2005/03/28 10:23:18 | STACKTRACE:
INFO | jvm 1 | 2005/03/28 10:23:18 |
INFO | jvm 1 | 2005/03/28 10:23:18 | java.io.EOFException
INFO | jvm 1 | 2005/03/28 10:23:18 | at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1895)
INFO | jvm 1 | 2005/03/28 10:23:18 | at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2342)
INFO | jvm 1 | 2005/03/28 10:23:18 | at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2838)
INFO | jvm 1 | 2005/03/28 10:23:18 | at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1584)
INFO | jvm 1 | 2005/03/28 10:23:18 | at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1675)
INFO | jvm 1 | 2005/03/28 10:23:18 | at com.mysql.jdbc.Connection.execSQL(Connection.java:2295)
INFO | jvm 1 | 2005/03/28 10:23:18 | at com.mysql.jdbc.Connection.execSQL(Connection.java:2228)
INFO | jvm 1 | 2005/03/28 10:23:18 | at com.mysql.jdbc.Statement.executeQuery(Statement.java:1159)
INFO | jvm 1 | 2005/03/28 10:23:18 | at raghu.Productinfo_onload.get_product_info(Productinfo_onload.java:101

Options: ReplyQuote


Subject
Written By
Posted
Communications link failure
April 25, 2005 12:54AM


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.