This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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>
Have you checked out Aspose?
subject: Size Data Unit Mismatch, Invalid Packet Length
It's not a secret anymore!