Hi Mark,

just to ask the obvious, is the gateway services enabled?
cfadmin -> Event gateways -> settings

On 4/23/07, Mark Drew <[EMAIL PROTECTED]> wrote:
>
> I have a couple of servers (live and staging) that I have deployed
> and event gateway to. Both servers are same version of Java and CF,
> running CF standalone (rather than deployment onto JRun) and on one
> server the event gateway runs fine, on the other I get the following
> error:
>
>
> Error invoking CFC for gateway directory_test: null
>
>
> The event gateway CFC doesn't actually do anything, its more like a
> test to see if it is triggered (and no error returns)
>
> Has anyone see the above error before (and yes, I have googled!)
>
>
> The code is as follows:
>
>
> <cfcomponent output="false">
>
>         <cffunction name="onChange" access="public" output="false"
> returntype="void">
>                 <cfargument name="CFEvent" type="Struct" required="true"
> />
>
>
>                 <cfreturn >
>         </cffunction>
>
>         <!--- I update the database when file is added to the directory
> --->
>         <cffunction name="onAdd" access="public" output="false"
> returntype="void">
>                 <cfargument name="CFEvent" type="Struct" required="true"
> />
>
>
> <cfreturn >
>         </cffunction>
>
>         <cffunction name="onDelete" hint="I am run when a file is deleted"
> access="public" output="false" returntype="void">
>                 <cfargument name="CFEvent" type="Struct" required="true"
> />
>
>         <cfreturn >
>
>         </cffunction>
> </cfcomponent>
>
> and I have the config file pretty plain :
>
> directory=D:\\InetPub\\wwwroot\\website1\\gatewaytest\\upload
> recurse=no
> interval=500
> extensions=*
> changeFunction=onChange
> addFunction=onAdd
> deleteFunction=onDelete
>
> (I have removed the comments for brevity)
>
> Many thanks in advance if you can help me out with this!
>
> Mark D
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276007
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