More info...
For some strange reason cfhttp stopped working from within my
listener. When this happened I decided to try doing a cfinclude of the
view that contains the cfthread. This worked, but I am thrown by the
cfhttp issue. I'm still digging into this but wanted to mention my new
findings.
Sent from my iPhone
On Feb 15, 2010, at 10:16 AM, Derrick Jackson <[email protected]
> wrote:
Peter and Matt,
I just tried a few things. One worked and others didn't. Hopefully
I'm not giving too much information here.
I removed the <cflocation> from the page that contains the
<cfthread>. Doing this did not prove to be fruitful. There was no
error, the code within the <cfthread> just didn't run.
I removed the "name" attribute from the <cfthread> tag just to see
what would happen and this did not work either.
Finally I tried Matt's suggestion of pulling the view out of Mach-II
to see what would happen. So in the listener I saved all needed
vars for the <cfthread> code in a struct within the session scope.
I then performed a <cfhttp> call to the page that was originally in
the events view. That page still contained the <cfthread> but no
<cflocation>. The code executed with no problem at that point.
So I'm not sure if this is a Mach-II issue or if I got lucky by
doing the <cfhttp> instead but I wanted to pass on my findings. Now
I need to think about if I want to have this <cfthread> process run
on a diff server than what the application lives on. It eats up a
LOT of CPU usage if its processing a heavy amount of data and I dont
want these processes affecting other users within the app or any
other app that lives on this VM.
Thanks Matt and Peter
On Sun, Feb 14, 2010 at 9:59 PM, Peter J. Farrell <pe...@mach-
ii.com> wrote:
I suspect that the this isn't a Mach-II. I suspect the cflocation.
Does it work without does the cflocation? Possible the cflocation
is causing the aborting of the request (which is basically what
happens) to bubble up into the thread.
.pjf
Matthew Woodward said the following on 14/02/10 20:49:
Have you tried whatever you're doing outside Mach-II? Unless
you're sure this works on openbd outside the context of Mach-II I'd
send this to the openbd list.
On Feb 14, 2010 6:40 PM, "Derrick Jackson" <[email protected]
> wrote:
Hey Matt. No error, the page has a cflocation after the cfthread
and that runs but the code inside the cfthread only runs of I
remove the cfthread lines.
Sent from my iPhone
On Feb 14, 2010, at 9:18 PM, Matthew Woodward
<[email protected]> wrote:
> Do you get an erro...
--
You received this message because you are subscribed to Mach-II
for CFML list.
To post to this...
--
You received this message because you are subscribed to Mach-II for
CFML list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en
SVN: http://greatbiztoolsllc.svn.cvsdude.com/mach-ii/
Wiki / Documentation / Tickets:
http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/
--
You received this message because you are subscribed to Mach-II for
CFML list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en
SVN: http://greatbiztoolsllc.svn.cvsdude.com/mach-ii/
Wiki / Documentation / Tickets:
http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/
--
You received this message because you are subscribed to Mach-II for CFML list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en
SVN: http://greatbiztoolsllc.svn.cvsdude.com/mach-ii/
Wiki / Documentation / Tickets:
http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/