![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I have a jsp that makes a connection using MySQL Connector to MySQL 4.1.1 alpha. I tried both 3.0.14 production version and 3.1.2 alpha driver, both gave me the same error. However, when I using 3.1.2 alpha from a standalone application, it was fine. Following is the exception: 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:1767 ) at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO. java:2087) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.ja va:2496) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:14 43) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java :1533) at com.mysql.jdbc.Connection.execSQL(Connection.java: 2265) at com.mysql.jdbc.Connection.execSQL(Connection.java: 2202) at com.mysql.jdbc.Statement.executeQuery(Statement.ja va:1138) ..... Any idea how to fix this? Thanks a lot HT |
![]() |
| Thread Tools | |
| Display Modes | |
| |