Tuxedo 8.1/9.1 - Client Hangs When Using Un-Self-Described Buffer And Length=0 (Doc ID 777436.1)

Last updated on DECEMBER 05, 2016

Applies to:

Oracle Tuxedo - Version 8.1 to 9.1
Information in this document applies to any platform.

Goal

This is just an application coding miss as follows.


The client calls tpcall() with CARRAY buffer, and the server application returns buffer with length=0.
The client will hang (or return with blocking timeout) with the following ULOG errors:

LIBTUX_CAT:6031: ERROR: Unable to pre-process buffer before tranmission. Error code(4/3616)
 
LIBTUX_CAT:1286: ERROR: tpreturn could not send reply TPEINVAL - invalid arguments given

Solution

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