I'm going to start by replacing:

<cfset aFileContent[i] = cfhttp.FileContent>

...with storage in the DB.

On Mon, Feb 6, 2012 at 8:18 AM, Russ Michaels <r...@michaels.me.uk> wrote:

>
> try limiting how many you do in one batch and break it up into separate
> requests and see if that helps
>
> On Mon, Feb 6, 2012 at 12:59 PM, John M Bliss <bliss.j...@gmail.com>
> wrote:
>
> >
> > The heck? So I limited myquery to only the 400 Bad Request row and the
> row
> > after that and it worked fine. So I must be running into some sort of
> > overflow that CF is failing to report to me? Or something?
> >
> > On Mon, Feb 6, 2012 at 6:10 AM, Russ Michaels <r...@michaels.me.uk>
> wrote:
> >
> > >
> > > if it always happens at the same place, have you tried extract just
> that
> > > request and doing it by itself, this would at least show you there is a
> > > problem with that request that is specifically causing the issue.
> > >
> > >
> > > On Mon, Feb 6, 2012 at 12:04 PM, John M Bliss <bliss.j...@gmail.com>
> > > wrote:
> > >
> > > >
> > > > [crickets]  :-)
> > > >
> > > > On Fri, Feb 3, 2012 at 4:18 PM, John M Bliss <bliss.j...@gmail.com>
> > > wrote:
> > > >
> > > > > Hoping someone can see what might be happening here. I have:
> > > > >
> > > > > <cfset aFileContent = arraynew(1)>
> > > > > <cfset i = 0>
> > > > >  <cfloop query="myquery">
> > > > > <cfset i = i + 1>
> > > > > <cfhttp method="post" url="http://site.com";>
> > > > >  <cfhttpparam type="header" name="id" value="#myquery.id#">
> > > > > </cfhttp>
> > > > >  <cfdump var="#myquery.id#">
> > > > > <cfdump var="#cfhttp#">
> > > > >  <cfset aFileContent[i] = cfhttp.FileContent>
> > > > > </cfloop>
> > > > >
> > > > > ...and those dumps are producing:
> > > > >
> > > > > 1
> > > > > [cfhttp dump with Status_Code = 200]
> > > > >
> > > > > 2
> > > > > [cfhttp dump with Status_Code = 200]
> > > > >
> > > > > ...etc...
> > > > >
> > > > > [another id]
> > > > > [cfhttp dump with Status_Code = 400 Bad Request]
> > > > >
> > > > > [another id]
> > > > >
> > > > > ...and then nothing. No cfhttp dump, no CF error...nothing. It
> seems
> > as
> > > > > though Status_Code = 400 on the second-to-last time through the
> loop
> > is
> > > > > doing...something...?  Making it so that the last cfhttp doesn't
> run
> > > and
> > > > > then aborting?
> > > > >
> > > > > In case it matters, FileContents that I'm sticking in to that array
> > are
> > > > > large (len of 25,000,000). But I don't think that's the issue. That
> > is,
> > > > I'm
> > > > > not getting java heap errors or anything.  Seems to be related to
> > > > > the Status_Code = 400.
> > > > >
> > > > > --
> > > > > John Bliss - http://about.me/jbliss
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > John Bliss - http://about.me/jbliss
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349782
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to