[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: htp_post_xml method used but handles remaining open on remote server



Dean,

I'd put a trace on the line, just so you can prove that the close is
being sent....

Then you can find out why WAS on the linux box is ignoring it...

Charles

On Sat, May 7, 2011 at 1:55 AM,  <dean.gorton@xxxxxxxxxxxxxx> wrote:
> That is exactly what I was after... why the Linux server doesn't close them is beyond me... but wanted to pass this by you just to make sure I was looking at this right, and didn't need to invoke another method to force a close.  My guess will be that best approach will be to have the default timeout setting on the linux box to change from 60 minutes to something more reasonable.
>
> Thx for the feedback.
>
>
> Dean Gorton
> ITM Technology
> Technical Analyst
> Wells Fargo Bank N.A.
> 612/316-1648
>
> -----Original Message-----
> From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Scott Klement
> Sent: Saturday, May 07, 2011 12:08 AM
> To: HTTPAPI and FTPAPI Projects
> Subject: Re: htp_post_xml method used but handles remaining open on remote server
>
> You mean that the handles stay open on the Linux server you're
> connecting to?  HTTPAPI has no control over whether the Linux server
> closes it's handles.
>
>
> On 5/6/2011 10:06 PM, dean.gorton@xxxxxxxxxxxxxx wrote:
>>
>>     I have been using these apis for quite some time, which work great.
>>     But recently we involved a project where we have an RPG application
>>     that invokes the http_post_xml and hits a `https' url to send a
>>     request and get a response back.  That all works well, but what I am
>>     seeing on the linux server in websphere is that there are these
>>     leftover `handles' that remain open and stay there til a default
>>     timeout of roughly 60 minutes.  Considering that each of these handles
>>     is fairly small in terms of memory usage, but if I have a large number
>>     of requests that go thru, then this is compounded a bit.  So what I am
>>     trying to figure out is why these `handles' are not closing.  In
>>     looking at the `http_post_xml()' method, it references external
>>     procedure `http_url_post_xml()', and below that there is
>>     `http_url_post_raw()' method... which contains the
>>     `http_persist_open()', http_persist_post()', and lastly executing
>>     `http_persist_close()' method.  No errors are thrown, but it would
>>     appear that the close is not truly happening.  Any thoughts?
>>
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list.  To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list.  To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------
>
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------