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

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276000
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to