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 Size Data Unit Mismatch, Invalid Packet Length Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Size Data Unit Mismatch, Invalid Packet Length" Watch "Size Data Unit Mismatch, Invalid Packet Length" New topic

Size Data Unit Mismatch, Invalid Packet Length

Irachi Chishima

Joined: Nov 26, 2001
Posts: 5
I have a program with JDBC PreparedStatements calling Oracle 8.1.7 stored procedures (PL/SQL) and I run into a mix of IO Exceptions including "size data unit mismatch" and, more frequently, "invalid packet lenght" (the misspelling is intentional). I have tried both the and versions of the Oracle JDBC drivers. I am using the JDBC thin drivers exclusively.
The program runs a batch load of a fair size and it rather unpredictably fails at some point with these errors. I have searched the 'net exhaustively only to find a few postings of the problem but no solutions.
Please help! I am facing a deadline to get this code out the door as usual. Thanks!
Raghu Shree
Ranch Hand

Joined: Mar 18, 2005
Posts: 143
I have same problem. I think now u have find the solution of this. I expect ur solutions.

Raghu J

Raghu J<br />SCJP 1.4<br /> <br />The Wind and waters are always<br />on the side of the ablest navigators.<br /><a href="" target="_blank" rel="nofollow">SCJP Group</a><br /><a href="" target="_blank" rel="nofollow">SCWCD Group</a>
I agree. Here's the link:
subject: Size Data Unit Mismatch, Invalid Packet Length
jQuery in Action, 3rd edition