Were dealing with two errors, which I think are related... somewhat at
least.
We have a cfc on our server (Windows 2003 Web Ed/CF8/Work Grouped - cf is
running as a local account) that calls a third party WS (SOAP) (using
CFINVOKE in some places and script/createObjects in others, and even CFHTTP
in others). All connections are https.
We also have one variable in a cffunciont, unvarred, setting objSimpleDate =
CreateObject("java", "java.text.SimpleDateFormat").init("mm/dd/");
When invocating, it works for a while - and then we get:
faultCode: {http://www.w3.org/2003/05/soap-envelope}Server.userException
faultSubcode:
faultString: java.net.SocketException: No buffer space available (maximum
connections reached?): connect
faultActor:
faultNode:
faultDetail:
After this error starts, a simple Ajax module starts returning "Connection
Failure" instead of the normal search results we should get. Note this
system though o CF8 uses the cfajax package popular before CF8 came out.
Restarting the server resolves both issues - for a time.
I can do a netstat and see an established connection being held for every WS
call - after the request has completed.
Its my guess at this point that either using CFHTTP or CFINVOKE in
cffunction without first var'ing for their result/return, might be keeping
CF from releasing that socket?
Or am I totally off?
Thanks- really appreciate any direction!
Charlie
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cameron
Childress
Sent: Wednesday, June 25, 2008 15:59
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] CFC/WS/VAR Question
On which server? Your CF server or the remote one? What version of
CF? Are you getting a more specific error message and would you be
willing to post it? Windows or Linux? What about permissions - is CF
running under it's over account (with permissions to open TCP
Sockets)?
-Cameron
On Wed, Jun 25, 2008 at 3:05 PM, Charlie Stell <[EMAIL PROTECTED]>
wrote:
> I have a cfc that calls a third party web service.
>
>
>
> This cfc is instantiated within a request - not in any persistent scope.
>
>
>
> No use of VAR in any of the cfc's functions.
>
>
>
> Could this result in a having no TCP/IP sockets available on the server?
>
>
>
> Thanks for any advice!
>
> -
> To unsubscribe from this list, manage your profile @
> http://www.acfug.org?fa=login.edituserform
>
> For more info, see http://www.acfug.org/mailinglists
> Archive @ http://www.mail-archive.com/discussion%40acfug.org/
> List hosted by FusionLink
> -
--
Cameron Childress
Sumo Consulting Inc
http://www.sumoc.com
---
cell: 678.637.5072
aim: cameroncf
email: [EMAIL PROTECTED]
-
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=gin.edituserform
For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-
-
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform
For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-