Alrighty so I am trying to perform a coldfusion ftp connection and dump out 
the returned variable that is available . However I know there is a timeout 
issue on the ftp connection and the tag errors. However I cannot see this 
error on the live server as I  get a much less pleasant error of the 
following.

<https://lh3.googleusercontent.com/-qpiEl_L4S6g/Ua1uXHZJ6JI/AAAAAAAAAAM/LWLfXTSjyzc/s1600/Error+Occurred+While+Processing+Request.png>
This is caused when you check "*Disable access to internal ColdFusion Java 
components" *in the coldfusion admin setting panel.

The code that is causing this is followed below in the application.cfc on 
line 440.

<!--- increase the request timeout a little, in case the error was caused 
by a request timeout --->
 <cfif structkeyexists(server,"railo")>
 <cfsetting requesttimeout="#getPageContext().getRequestTimeout() + 5000#" 
/>
 <cfelseif structkeyexists(server,"coldfusion")>
 <cfsetting requesttimeout="#CreateObject("java", "coldfusion.runtime.
RequestMonitor").GetRequestTimeout() + 5#" />
 </cfif>

The question is can I replace this line with something that is more 
compatible with the coldfusion setting as apparently is a standard practice 
to have this setting turned on in a live server environment.

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
--- 
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to