This discussion is archived
4 Replies Latest reply: Sep 3, 2013 1:55 PM by Todd Little RSS

tpreturn() fails with TPEOS.Error code(7/3674)

user12038608 Newbie
Currently Being Moderated

Hi,

when use tpreturn,these errs are found in ULOG:

145216.SDAP3800!eix_whin.549408.1.0: LIBTUX_CAT:6031: ERROR: Unable to pre-process buffer before tranmission.  Error code(7/3674)

145216.SDAP3800!eix_whin.549408.1.0: LIBTUX_CAT:1286: ERROR: tpreturn could not send reply TPEOS - operating system error

 

i dont know who to resolve this problerm. and what does this error code means?

 

ps:system aix 5.3, tuxedo 10.3.0.0, 32-bit

thx

  • 1. Re: tpreturn() fails with TPEOS.Error code(7/3674)
    user9130018 Newbie
    Currently Being Moderated

    Hello

     

    what type and what size of output data you are trying to return?

  • 2. Re: tpreturn() fails with TPEOS.Error code(7/3674)
    user12038608 Newbie
    Currently Being Moderated

    Hi

    the data is FML32,and size is 1016

     

    091051.SDAP3800!eix_whin.549408.1.0: TRACE:at:{ tpalloc("FML32", "", 1016)
    091051.SDAP3800!eix_whin.549408.1.0: TRACE:at:} tpalloc = 0x2004fcc0
    091051.SDAP3800!eix_whin.549408.1.0: TRACE:at:{ tpreturn(2, 0, 0x2004fcc0, 0, 0x0)

    091051.SDAP3800!eix_whin.549408.1.0: LIBTUX_CAT:6031: ERROR: Unable to pre-process buffer before tranmission.  Error code(7/3674)

    091051.SDAP3800!eix_whin.549408.1.0: LIBTUX_CAT:1286: ERROR: tpreturn could not send reply TPEOS - operating system error

  • 3. Re: tpreturn() fails with TPEOS.Error code(7/3674)
    user9130018 Newbie
    Currently Being Moderated

    Hello

     

     

    print your fml buffer and check for "strange" values. I've seen similar errors on 64 bit platform in gwtdomain where service returns >32bit value inside fml32 long field. you are in 32 bit environment but you might still investigate data

     

     

    update your installation to the newest patch and you can also check this on tuxedo 11/12 to see if it is a tuxedo or application/environment issue

     

     

    check if this error comes from other application issues (check last application changes)

     

     

    trace your binary server using truss (truss -p <pid> -f ) and check for this errno (7=E2BIG). if it is really system error then it might be returned from system function that can be traced using truss

     

     

    last but not least: contact oracle support

  • 4. Re: tpreturn() fails with TPEOS.Error code(7/3674)
    Todd Little Expert
    Currently Being Moderated

    Hi,

     

    Are you by chance appending into the buffer?  If so, you might need to call Findex32() before returning it to see if in fact there was enough space in the buffer to hold the indexed contents.  I believe Tuxedo will try to index the buffer before sending the reply and may run out of space to hold the index.  It certainly can't hurt to call FIndex32() on the buffer before tpreturn().

     

    Regards,

    Todd Little

    Oracle Tuxedo Chief Architect

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points