Interoperability using XML

Paddy

Member
Hi,

We are trying to get data via API's using the callObject functionality from a mobile app we are developing . The process is app makes a request for the price on multiple items. The request is consumed in our middleware and sent to JDE by assigning a session id. The request reaches iSeries and the response is sent back in 300 ms to the app using the same session id. But sometimes during specific time of the day when the middleware sends the request to JDE (iSeries)the response doesn't come back from JDE for 4 min approx and when the response is returned to middleware after 4 min the session changes to a new session. We also see a zombi kernal in iseries after the response is returnd for the original session. Since the response is not back within seconds we get 504 error(Request Timed out) in our mobile app although the request is complete as per middleware. We tried various options but no luck so far to rectify the issue with return response from JDE (iSeries). We are also trying to route the XML request to a different app server specific for this userid where the traffic is less and is WIP. Is there any other solution we can try to rectify this issue.

Jde version : 9.0
Tool Release: 9.1.3.1
 
Last edited:

RussellCodlin

Reputable Poster
How frequently do you make calls to the XML interface? And when you initially establish the session are you setting the session timeout in the XML request?
 

BOster

Legendary Poster
How frequently do you make calls to the XML interface? And when you initially establish the session are you setting the session timeout in the XML request?
Also, if you are done with a session you should explicitly terminate it with a final XML call. Otherwise you get all these XML sessions out there waiting to time out that are consuming resources.
 
Hi Carlos, What should be the ideal value for these parameters in jde.ini?
Hi Paddy,
It will depend on your traffic, you will like to reduce the PoolIntervalMillis to 100 or 10.. you will see almost an instant response sent back to your client.

Let me know your results.
 
Top