Link to home
Start Free TrialLog in
Avatar of pbsmbc
pbsmbc

asked on

Tuxedo client memory allocation

Hi,

We are calling EJB from VC++ client through tuxedo call (tpcall).
Client (VC++ 6.0)/Windows Tuxedo Client ----> Tuxedo Domain/Gateway/Broker (V 8.0) ----> Weblogic domain (8.1 SP5) ----> EJB (running in different application server).

We are having the following problem:

From the VC++ client we are calling a EJB which will return a search result. We don't know the number of results (i.e. size) that will be returned to the client. The prblem is we are allocating the output buffer (tpalloc) in the client to hold the result that will be returned by the EJB before calling the service.  So we are not able to display the results if it exceeds the the size of output buffer.

Can anyone let me know what to do in this situation so that we will be able to display the whole result always.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of yuseungkim
yuseungkim

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of pbsmbc
pbsmbc

ASKER

Thanks Andy.
We are using FML32 buffer and we not using same buffer for sending and receiving the request.


Did you try to resize it based on olen using tprealloc ?