wood burning stoves 2.0*
The moose likes JDBC 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
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 classes111.zip and classes12.zip 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="http://groups.yahoo.com/group/scjp_share" target="_blank" rel="nofollow">SCJP Group</a><br /><a href="http://groups.yahoo.com/group/JavaBeat_SCWCD" target="_blank" rel="nofollow">SCWCD Group</a>
I agree. Here's the link: http://aspose.com/file-tools
subject: Size Data Unit Mismatch, Invalid Packet Length
Similar Threads
JDBC / JRUN / Connection Pool
loading Oracle drivers
JDBC & SQL Error List Help
problem in connecting to oracle through jdbc