Re: Connection Problem - Unexpected end of input stream
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.
Subject
Written By
Posted
December 22, 2005 11:17PM
Re: Connection Problem - Unexpected end of input stream
April 14, 2008 06:08AM
December 29, 2008 12:43PM
November 01, 2007 12:36PM
September 02, 2005 02:04PM
September 02, 2005 03:31PM
September 07, 2005 01:37PM
September 26, 2005 09:24AM
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.