RP/TUX 6.4 - tmadmin/reconnect makes tprecv() failed tperrno 13 revent 4 - CR032604 (Doc ID 766495.1)

Last updated on NOVEMBER 04, 2016

Applies to:

Oracle Tuxedo / Tuxedo /
Information in this document applies to any platform

Goal

DESCRIPTION:

Tuxedo v6.4 on Solaris 2.6 MP mode.
Problem happens easily with RP277 and same problem will happen even without any patch (but less easily, usually need
to repeat 'tmadmin/reconnect' and tprecv multiple times to make it happen).

Using tmadmin to do reconnect, it cause the subsequent tprecv() failed tperrno 13 revent 4

Testcase:
See the testcase in lcsol11 machine /nfs/home3/qchan/lcsol11/185328/testcase (site1) which has a MP ubbconfig using
the lcsol2 machine /nfs/home3/qchan/lcsol2/185328/testcase (site2) 
Here are the steps:
1) run 'tlisten -l //lcsol11:18532' on lcsol11 and  'tlisten -l //lcsol2:18532' on lcsol2 
2) on lcsol11, tmboot -y;
3) After both lcsol11(site1) and lcsol2(site2) have been successfully booted, run
$ ./convcl helloWORLD
Returned String is helloworld
4) Then run 
$ echo rco site1 site2 | tmadmin
...
> site1 connected to site2
5) Then repeat the step (3) again to see if the './convcl helloWORLD' will fail.
If yes, ==> you have reproduced the problem;
If not, repeat the step (3) and step (4) couple times until the problem occurs.  (usually, it took me less than 5
trials to make the failure occurs.)

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