Article View: borland.public.cppbuilder.webservices.soap
Article #2Leak in HTTPRio? in TOMCAT? No more Internet handles can be allocated
From: m.durliNOSPAM
Date: Fri, 05 Oct 2007 13:43
Date: Fri, 05 Oct 2007 13:43
30 lines
2087 bytes
2087 bytes
Hello,
sorry for crossposting but I think it involves all the 3 groups.
I have a server application that communicate with many clients via
TCP/IP sockets.
void __fastcall TForm1::IdTCPServer1Execute(TIdPeerThread *AThread)
each TCPServer1Execute thread launched by a request from a client
generates a call to an external webservice with this procedure:
THTTPRIO* iRio = new THTTPRIO(this);
iRio->URL = "urlname";
_di_Server iService;
iRio->QueryInterface(iService);
Response=iService->serviceName(XMLDocument->XML->Text);
iService = NULL;
It works perfectly for days, then suddendly it crashes every
webservice call with a:
"No more Internet handles can be allocated - URL:urlname -
SOAPAction:"""
where urlname is the same valid URL I use in the program.
The web service server is TOMCAT, and the same happens on different
servers where the two applications are installed.
Do you have any idea of why this is happening?
Thanks!
Matt
Technical Details
Message-ID:
<c1fcg3tprri33t0o5fhc95k11c9j91mv4h@4ax.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 11096a,bb6006ec953edc17,start X-Google-Thread: 114096,bb6006ec953edc17,start X-Google-Thread: 11508e,bb6006ec953edc17,start X-Google-Attributes: gid11096a,gid114096,gid11508e,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: m.durliNOSPAM@bo.nettuno.it Newsgroups: borland.public.cppbuilder.webservices.soap,borland.public.delphi.webservices.soap,borland.public.cppbuilder.internet.socket Subject: Leak in HTTPRio? in TOMCAT? No more Internet handles can be allocated Date: Fri, 05 Oct 2007 15:43:20 +0200 Message-ID: <c1fcg3tprri33t0o5fhc95k11c9j91mv4h@4ax.com> X-Newsreader: Forte Agent 1.9/32.560 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 213.140.21.234 X-Trace: newsgroups.borland.com 1191591831 213.140.21.234 (5 Oct 2007 06:43:51 -0700) Lines: 34 Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail