Hello Everyone,

I am a newbie at cfobjects.

I was wondering if there would be a reason why this bit of code would not be 
running the method every 5 seconds:

<cfif not isDefined("Application.QueueCFC")>

<cfobject component="Queue" Name="Application.QueueCFC">

<cfthread name="ThreadListener">

<cfinvoke component="#Application.QueueCFC#" method="Threader">

<cfpause interval="5">

</cfthread>

</cfif>



If I put the cfinvoke in a separate page and run it,  it actually takes does 
what it is supposed to do, but it doesn't do anything when the above code is 
executed.

I restart my BD 7 Server so the application variables do not exist, I go to a 
cf page so the application gets started.  

I can run the GetALLThreads() function to see the ThreadListener Thread.  It is 
there, but it doesn't seem to be invoking the Threader method  at all, not even 
1 time from what I can see....

Thanks for your help.



-Randy




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271435
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to