We may have found a problem... We create a bunch of functions and put
them in the request scope. On that page, just before the createObject
calls was a call to one of those functions in the request scope but is
was missing the request scope.
Correctly Scoped Call:
request.param("form.action","");
Incorrectly Scoped Call:
param("form.action","");
--------------------------------------------------------------------------------------------
Example request function:
<cffunction name="param" output="false" returnType="void">
<cfargument name="name" type="string" required="yes">
<cfargument name="default" type="any" required="no">
<cfif isdefined("arguments.default")>
<cfparam name="#arguments.name#" default="#arguments.default#">
<cfelse>
<cfparam name="#arguments.name#">
</cfif>
</cffunction>
<cfscript>
request.param = param;
</cfscript>
------------------------------------------------------------------------------------------------
We were not getting an error because we were using the "onRequet"
instead of "onRequestStart" and "onRequestEnd" in the Application.cfc
Thanks,
Ryan
On 10/4/07, Tom Chiverton <[EMAIL PROTECTED]> wrote:
> On Thursday 04 Oct 2007, [EMAIL PROTECTED] wrote:
> > We are still having a huge problem with createObject calls in
> > ColdFusion 8 taking up to 300 seconds. Please help! Below is a stack
> > trace from Fusion Reactor.
>
> What are you creating ? What does the object do at startup ?
>
> --
> Tom Chiverton
> Helping to synergistically orchestrate turn-key communities
> on: http://thefalken.livejournal.com
>
> ****************************************************
>
> This email is sent for and on behalf of Halliwells LLP.
>
> Halliwells LLP is a limited liability partnership registered in England and
> Wales under registered number OC307980 whose registered office address is at
> St James's Court Brown Street Manchester M2 2JF. A list of members is
> available for inspection at the registered office. Any reference to a
> partner in relation to Halliwells LLP means a member of Halliwells LLP.
> Regulated by The Solicitors Regulation Authority.
>
> CONFIDENTIALITY
>
> This email is intended only for the use of the addressee named above and may
> be confidential or legally privileged. If you are not the addressee you must
> not read it and must not use any information contained in nor copy it nor
> inform any person other than Halliwells LLP or the addressee of its existence
> or contents. If you have received this email in error please delete it and
> notify Halliwells LLP IT Department on 0870 365 8008.
>
> For more information about Halliwells LLP visit www.halliwells.com.
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290222
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4