java.sql.SQLRecoverableException: IO Error: Size Data Unit (SDU) mismatch Intermittent Reported On JDBC Client

(Doc ID 2389398.1)

Last updated on APRIL 25, 2018

Applies to:

JDBC - Version 11.2.0.4.0 and later
Information in this document applies to any platform.

Symptoms

Exception java.sql.SQLRecoverableException: IO Error: Size Data Unit (SDU) mismatch is received intermittently in JDBC application.

ERROR
-----------------------
java.sql.SQLRecoverableException: IO Error: Size Data Unit (SDU) mismatch
  at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1030)
  at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1315)
  at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3576)
  at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3657)
  at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1350)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:94)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
  at java.lang.reflect.Method.invoke(Method.java:619)
  at oracle.ucp.jdbc.proxy.StatementProxyFactory.invoke(StatementProxyFactory.java:230)
  at oracle.ucp.jdbc.proxy.PreparedStatementProxyFactory.invoke(PreparedStatementProxyFactory.java:124)
  at com.sun.proxy.$Proxy1.executeUpdate(Unknown Source)

Caused by: oracle.net.ns.NetException: Size Data Unit (SDU) mismatch
  at oracle.net.ns.Packet.processHeader(Packet.java:360)
  at oracle.net.ns.Packet.receive(Packet.java:294)
  at oracle.net.ns.DataPacket.receive(DataPacket.java:103)
  at oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:230)
  at oracle.net.ns.NetInputStream.read(NetInputStream.java:175)
  at oracle.net.ns.NetInputStream.read(NetInputStream.java:100)
  at oracle.net.ns.NetInputStream.read(NetInputStream.java:85)
  at oracle.jdbc.driver.T4CSocketInputStreamWrapper.readNextPacket(T4CSocketInputStreamWrapper.java:123)
  at oracle.jdbc.driver.T4CSocketInputStreamWrapper.read(T4CSocketInputStreamWrapper.java:79)
  at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1122)
  at oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1099)
  at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:288)
  at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:191)
  at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:523)
  at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:207)
  at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1010)
  ... 15 more



Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms