Re: Connection Problem - Unexpected end of input stream
Posted by: kapil tyagi
Date: April 14, 2008 06:08AM

java.sql.SQLException: Communication link failure: java.io.IOException, underlying cause: Unexpected end of input stream

** BEGIN NESTED EXCEPTION **

java.io.IOException
MESSAGE: Unexpected end of input stream

STACKTRACE:

java.io.IOException: Unexpected end of input stream
at com.mysql.jdbc.MysqlIO.readPacket(MysqlIO.java:1073)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:619)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:1511)
at com.mysql.jdbc.Connection.<init>(Connection.java:485)
at com.mysql.jdbc.Driver.connect(Driver.java:341)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at com.hcl.hl7.orm.MessageDAO.getData(MessageDAO.java:25)
at com.hcl.hl7.orm.ExecuteORMMessage.main(ExecuteORMMessage.java:19)


** END NESTED EXCEPTION **

i am getting this error when i execute my simple jav program with main method, i am using mysql 5.0 and jdk 1.5...can anybody help me.

Options: ReplyQuote


Subject
Written By
Posted
Re: Connection Problem - Unexpected end of input stream
April 14, 2008 06:08AM


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.