dbTalk Databases Forums  

Connector 3.0.* and 3.1.* failed to connect to MySQL 4.1.1alpha under resin server

mailing.database.mysql-java mailing.database.mysql-java


Discuss Connector 3.0.* and 3.1.* failed to connect to MySQL 4.1.1alpha under resin server in the mailing.database.mysql-java forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Haitao Jiang
 
Posts: n/a

Default Connector 3.0.* and 3.1.* failed to connect to MySQL 4.1.1alpha under resin server - 06-30-2004 , 07:00 PM






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

--
MySQL Java Mailing List
For list archives: http://lists.mysql.com/java
To unsubscribe: http://lists.mysql.com/java?unsub=my...ie.nctu.edu.tw


Reply With Quote
  #2  
Old   
Haitao Jiang
 
Posts: n/a

Default Re: Connector 3.0.* and 3.1.* failed to connect to MySQL 4.1.1alpha under resin server - 06-30-2004 , 07:43 PM






Now, I found out that using 3.1.2 alpha, my jsp can connect to the
server, but when I issue a simple query like:

SELECT * from Taxonomy limit 1

It crash the 4.1.1alpha server immediately. Please help!

Thanks

HT

On Wed, 30 Jun 2004 16:59:54 -0700, Haitao Jiang <jianghaitao (AT) gmail (DOT) com> wrote:
Quote:
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

--
MySQL Java Mailing List
For list archives: http://lists.mysql.com/java
To unsubscribe: http://lists.mysql.com/java?unsub=my...ie.nctu.edu.tw



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.