File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark ""Invalid Packet length" Error" Watch ""Invalid Packet length" Error" New topic

"Invalid Packet length" Error

Balaji Natarajan

Joined: Dec 05, 2002
Posts: 28
I am getting this exception while executing this statement,0,length);
where "in" is "InputStream" Io exception: Invalid Packet Lenght
at oracle.jdbc.dbaccess.DBError.SQLToIOException(
at oracle.jdbc.driver.OracleBlobInputStream.needBytes(OracleBlobInputStr

What could be the reason for this. Please help me in resolving this.
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24187

Looks like an Oracle JDBC drivr bug or gotcha; moving to JDBC forum.

[Jess in Action][AskingGoodQuestions]
I agree. Here's the link:
subject: "Invalid Packet length" Error