This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark ""Invalid Packet length" Error" Watch ""Invalid Packet length" Error" New topic
Author

"Invalid Packet length" Error

Balaji Natarajan
Greenhorn

Joined: Dec 05, 2002
Posts: 28
I am getting this exception while executing this statement
in.read(buffer,0,length);
where "in" is "InputStream"
java.io.IOException: Io exception: Invalid Packet Lenght
at oracle.jdbc.dbaccess.DBError.SQLToIOException(DBError.java:716)
at oracle.jdbc.driver.OracleBlobInputStream.needBytes(OracleBlobInputStr
eam.java:249)
at oracle.jdbc.driver.OracleBufferedStream.read(OracleBufferedStream.jav
a:163)

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

Joined: Jul 08, 2003
Posts: 24183
    
  34

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


[Jess in Action][AskingGoodQuestions]
 
wood burning stoves
 
subject: "Invalid Packet length" Error
 
Similar Threads
IOException showing up in production logs under a load
decryption problem...
OpenPGP issue
"packet length" or "captured length" in "Jpcap" library !?
problem with login to the server