Skip to main content
Dileep_NR
Inspiring
Feb 24, 2009 12:12 PM UTC
Question

Error invoking CFC for gateway

Am getting the following error while invoking the event gateway

"Error invoking CFC for gateway myGateway: Event Handler Exception. An exception occurred when invoking a event handler method from Application.cfc The method name is: onRequestStart."

Please advice
This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

BKBK
Community Expert
Community Expert
Mar 1, 2009 10:03 AM UTC
Your Application.cfc shouldn't get mixed up with the gateway. Could we see the code in onRequestStart()? Does Application.cfc implement onRequest()?


Translate
Yoosaf Abdulla
Participating Frequently
Jan 3, 2014 3:05 PM UTC

I am getting an error like this when my eventgateway gets invoked for directorywatch:

Error invoking CFC for gateway watchInboundFiles: null {GATEWAYTYPE={FileWatcher},ORIGINATORID={},CFCMETHOD={onDelete},DATA={{FILENAME={/Users/yoosafabdulla/Sites/bahuvlintbeaches-staging/int/core/internationalBeaches/iptv/dw/1_vod_xml.cfc},TYPE={DELETE}}},CFCPATH={/Users/yoosafabdulla/Sites/bahuvlintbeaches-staging/int/core/internationalBeaches/iptv/dw/directory_watch.cfc},GATEWAYID={watchInboundFiles}}.

I just want to dump the cfevent data into a text file.

Translate
Yoosaf Abdulla
Participating Frequently
Jan 3, 2014 3:25 PM UTC

I found the solution. There was a cfabort in the code and you get this error of min. You need to check the exception.log.

These links helped:

http://www.raymondcamden.com/index.cfm/2006/9/14/Using-ColdFusions-Asynchronous-Gateway--3

http://www.coldfusiondeveloper.com.au/error-invoking-cfc-for-gateway-null/

Translate