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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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: 24199

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

[Jess in Action][AskingGoodQuestions]
It is sorta covered in the JavaRanch Style Guide.
subject: "Invalid Packet length" Error
It's not a secret anymore!