sisr2018 Document Display
Copyright(c) 2018, Oracle. Al rights reserved
% oRA-03137 [3101] From OCI Application Connected To 12.2 Database (Doc ID 2329165.1)
In this Document
Symptoms
Changes
Cause
Solution
Referen
Oracle Database - Enterprise Edition - Version 12.2.0.1 and later
Information in this document applies to any platform.
(ORA-03137(3101] error raised consistently from OCI application(12.1 or 12.2 Oci driver version) to 12.2 database, Issue was
not seen when connecting to 12.1 database.
The OCI application fails with
Evror: OCI_ERROR: ORA-O2101: invalid input data for - te
Alert log is showin«
ORA“03137: malformed TIC packet from client rejected: [3101] [94] 0 [ it
Session (938,30525): Bad TTC Packet Detected: Inbound connection from client
fon (938, 30525): Bad TTC Packet Detected: DB Logon User: TEST, Remote
let test0038, Program: ccitest@test0038 (INS VL-V3), 0S U:
S25): Bad Client IP Adres:
Database upgraded to 12.2.0.1
‘The issue was investigated in BUG 26948049 - ORA-03137 [3101] FROM OCI APPLICATION, closed as not a bug. Issue occurs
when setting 'maxarr_len’ for non array input. In 12.2 were added array sanity checking. This is not a bug and is expected
behavior.
It is found that the OCI program was setting 'maxarr_len’ to 1 ('args.numRec’) in the call to 'OCIBindByPos.
htps:isuppor orate comlepmosiiaces/SearchDocDisplay?_ad clt-stal
etvegae_9 wesisr2018 Document Display
Error is resolved after changing it to 0. Example:
fatus ndByPos (
sbindhp,
errhp,
args.params (1) data,
Ten,
ORADBTYPE[args .params() .type]
Of //args.numRec,