Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Finit32 function returned "LIBFML_CAT:1: ERROR: Fielded buffer not aligned"

908950Mar 5 2013 — edited Mar 13 2013
Hi there,

I am trying a program with 2 Tuxedo servers, where the 1 server during its startup requests the 2nd server to open a file (create if required) and then return file descriptor to it. the servers are coded in C and the request and response information are in C structures. Here, I am populating the FML buffer from the structure before sending the request/response and getting the values from the FML buffer after receiving request /response using FML functions.

The FML buffers are allocated using tpalloc function, since these buffers are to be used in Tuxedo calls (tpacall,tpgetrply,tpreturn) for communication.

The code was working fine, however after the response is received in 1st server- while getting the values from FML buffer ,the Fget32 function returned error as "*LIBFML_CAT:2: ERROR: Buffer not fielded*". In order to rectify it, I tried to initialise the buffer manually using Finit32 function, it returned "*LIBFML_CAT:1: ERROR: Fielded buffer not aligned*" error code due to this I am unable to retrieve the values from the FML buffer that is sent from 2nd server as response.

Can anyone please help to resolve this issue? Thanks!

Regards,
905947

Edited by: 905947 on 05-Mar-2013 00:12
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 10 2013
Added on Mar 5 2013
5 comments
1,490 views