Skip to main content
Dileep_NR
Inspiring
February 24, 2009
Question

Error invoking CFC for gateway

  • February 24, 2009
  • 1 reply
  • 4310 views
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 has been closed for replies.

1 reply

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


Yoosaf Abdulla
Participating Frequently
January 3, 2014

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.

Yoosaf Abdulla
Participating Frequently
January 3, 2014

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/