My Oracle Support Banner

ON AS/400 CLIENTS GET TPEPERM AGAINST TUXEDO APPLICATION WITH SECURITY OFF IN UBB (Doc ID 1625366.1)

Last updated on FEBRUARY 22, 2019

Applies to:

Oracle Tuxedo - Version 11.1.1.2.0 and later
IBM i on POWER Systems

Symptoms

Tuxedo application runs on IBM iSeries v7r1.
NO security is configured on ubbconfig.
When launching 500 native clients from a CL program within a DOFOR loop, the 199th clients fails to connect getting TPEPERM.

 Launching from a CL program 500 times the same C program which is a Tuxedo native client :

              DOFOR      VAR(&X) FROM(1) TO(500)
              CHGVAR     VAR(&XX) VALUE(&X)
              CHGVAR     VAR(&XX) VALUE(&XX *TCAT &NULL)
              CALL       PGM(CLILOOP2) PARM(&XX)
              ENDDO

  
 The C tuxedo native client just executes tpinit()/tpterm() :

   userlog("before tpinit, %s", argv[1]);
   if (tpinit((TPINIT *) NULL) == -1) {
           printf("Tpinit failed %s\n", argv[1]);
           userlog("tpinit failed, %s", argv[1]);
           exit(1);
   }
   userlog("tpinit is OK, %s", argv[1]);
   printf("OK %s\n", argv[1]);
   tpterm();
   userlog("tpterm executed, %s", argv[1]);
   return(0);

  
 The 199th client launched from the DOFOR loop of CL program fails to connect. TPEPERM is returned.

 ULOG reports :

  
 Launching only C client executing a loop of 500 tpinit()/tpeterm() there is no problem or not to connect.
 There is NO problem.

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.