RP/Tux 8.0 RP287/292 - PROTECTED mode: LIBTUX_CAT:1199: ERROR: Cannot re-attach (Doc ID 775670.1)

Last updated on NOVEMBER 04, 2016

Applies to:

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

Goal

Environment :
TUXEDO 8.0 RP 287 or 292 / Solaris 8

Problem description:
This problem is reproduced in a test case attached :
simpapp with service TOUPPER and a modified simpcl client

The simpcl_boucle client performs a loop of calls to TOUPPER with a delay between calls

This problem only occurs when SYSTEM_ACCESS=PROTECTED

The sequence is
-  tmboot -y
-  simpcl_loop coucou 100 10 &
   ( This is a loop of 100 calls with 10 seconds of delay )
-  tmshutdown -y -w 1 -c 
-  tmboot -y

simpcl detects the error and tries the reconnection (tpterm/tpinit), but when the application is booted again, tpterm
dumps a core :

If we avoid the tpterm, and call to tpinit only, it never reattaches, giving these errors:

182827.SUNFIRE!?proc.26146.1.0: LIBTUX_CAT:1199: ERROR: Cannot re-attach: operating system error: errno = 22.

So, there seems to be 2 problems which may be related:
- tpterm core dumps
- tpinit does not reattach 

Attached TestCase.522269.zip:
Ubb
ULOG080604
Simpserv.c
Simpcl_boucle.c: client code
Core : client dimp core
core_dbx_analysis.rtf

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