Is the gateway instance running in Coldfusion admin? You are saying that you
have changed a file in the directory?.Was it running fine before the
changes? Is the CF path in the admin same as the one in the configuration
directory?

On Fri, May 1, 2009 at 6:02 PM, Yuliang Ruan <[email protected]>wrote:

>
> So I'm setting up a new event gateway instance.  I created jobsentry.cfg
> and jobsentry.cfc and started up the instance.   I edited a file in the
> directory and got an error in the log file that says:
> Error invoking CFC for gateway JobSentry: null
> {ORIGINATORID={},CFCMETHOD={onChange},GATEWAYID={JobSentry},DATA={{TYPE={CHANGE},LASTMODIFIED={Fri
> May 01 16:41:49 CDT
> 2009},FILENAME={/home/me/files/newfile.log}}},CFCPATH={/home/me/JobSentry.cfc},GATEWAYTYPE={FileWatcher}}.
>
> What does it mean?
>
> JobSentry.cfg:
> directory=/home/me/files
> interval=1000
> extensions=log,don
> changeFunction=onChange
> addFunction=onAdd
> deleteFunction=onDelete
>
> JobSentry.cfc (I just started as a skeleton:
> <cfcomponent>
>        <cffunction access="remote" name="onAdd" output="no">
>                <cfargument name="cfEvent" type="struct" required="yes">
>        </cffunction>
>
>        <cffunction access="remote" name="onChange" output="no">
>                <cfargument name="cfEvent" type="struct" required="yes">
>        </cffunction>
>
>        <cffunction access="remote" name="onDelete" output="no">
>                <cfargument name="cfEvent" type="struct" required="yes">
>        </cffunction>
> </cfcomponent>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322235
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to