RP/Tuxedo 6.5 RP 430 - As400 V5R2 cannot automatically spawn/decay servers (this works on As400 V4R5) (Doc ID 775087.1)

Last updated on NOVEMBER 04, 2016

Applies to:

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

Goal

As400 Tuxedo 6.5 RP 430 cannot automatically spawn/decay servers on V5R2 (this works on As400 V4R5).  When this is done
on V5R2 we see the following messages logged in the ULOG file.

164521.LC400E.BEASYS.COM!LONGSERV.28689: Welcome to longserv                 
164712.LC400E.BEASYS.COM!LONGSERV.28689: FAILURE: spawn error: Descriptor not valid.                                  
                                   
164712.LC400E.BEASYS.COM!LONGSERV.28689: LIBTUX_CAT:1089: ERROR: Cannot exec, executable file not found               
                                   

The server executable in question is there and it is in the path.  The "env" file is specified in the
ubbconfig file on the Server side.  The executables on the server side have symbolic links between the IFS and HFS
side.  %LIBL% was also added to the PATH (just in case) as specified here under the spawnp() API from IBM:
http://publib.boulder.ibm.com/iseries/v5r1/ic2931/index.htm?info/apis/spawnp.htm

It looks like the "pid" returned from "spawnp()" is "-1" and the child process does not
start correctly.  This worked in As400 V4R5 but on As400 V5R2 it does not.  It looks like IBM changed something under
the covers.

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