Ola
pessoal estou pegando um problema no meu sistema que esta me deixando louco.
quando o usuario abre um tela e não faz nada tipo vai ao banheiro
e depois volta e começa trabalhar na tela tipo vai inserir algum registro nobanco estoura um exception [code]
java.sql.SQLException: No operations allowed after connection closed. Connection was closed due to the following exception: ** BEGIN NESTED EXCEPTION ** java.sql.SQLException MESSAGE: Communication link failure: java.io.EOFException, underlying cause: null ** BEGIN NESTED EXCEPTION ** java.io.EOFException STACKTRACE: java.io.EOFException at com.mysql.jdbc.MysqlIO.readFully(Unknown Source) at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(Unknown Source) at com.mysql.jdbc.MysqlIO.checkErrorPacket(Unknown Source) at com.mysql.jdbc.MysqlIO.sendCommand(Unknown Source) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(Unknown Source) at com.mysql.jdbc.MysqlIO.sqlQuery(Unknown Source) at com.mysql.jdbc.Connection.execSQL(Unknown Source) at com.mysql.jdbc.Connection.execSQL(Unknown Source) at com.mysql.jdbc.Statement.executeQuery(Unknown Source) at com.softin.aginesNetwork.gui.components.LabelDataTop.run(Unknown Source) at java.lang.Thread.run(Unknown Source) ** END NESTED EXCEPTION ** STACKTRACE: java.sql.SQLException: Communication link failure: java.io.EOFException, underlying cause: null ** BEGIN NESTED EXCEPTION ** java.io.EOFException STACKTRACE: java.io.EOFException at com.mysql.jdbc.MysqlIO.readFully(Unknown Source) at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(Unknown Source) at com.mysql.jdbc.MysqlIO.checkErrorPacket(Unknown Source) at com.mysql.jdbc.MysqlIO.sendCommand(Unknown Source) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(Unknown Source) at com.mysql.jdbc.MysqlIO.sqlQuery(Unknown Source) at com.mysql.jdbc.Connection.execSQL(Unknown Source) at com.mysql.jdbc.Connection.execSQL(Unknown Source) at com.mysql.jdbc.Statement.executeQuery(Unknown Source) at com.softin.aginesNetwork.gui.components.LabelDataTop.run(Unknown Source) at java.lang.Thread.run(Unknown Source) ** END NESTED EXCEPTION ** at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(Unknown Source) at com.mysql.jdbc.MysqlIO.checkErrorPacket(Unknown Source) at com.mysql.jdbc.MysqlIO.sendCommand(Unknown Source) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(Unknown Source) at com.mysql.jdbc.MysqlIO.sqlQuery(Unknown Source) at com.mysql.jdbc.Connection.execSQL(Unknown Source) at com.mysql.jdbc.Connection.execSQL(Unknown Source) at com.mysql.jdbc.Statement.executeQuery(Unknown Source) at com.softin.aginesNetwork.gui.components.LabelDataTop.run(Unknown Source) at java.lang.Thread.run(Unknown Source) ** END NESTED EXCEPTION **
[/code]
Alguem te ideia do que pode ser ?
abraço