1 Reply Latest reply on Sep 23, 2006 8:10 PM by World_Traveler

    FDS 2.0 Express And Coldfusion 7.0.2

    World_Traveler
      Hello

      I've configured an application to run of a FDS 2.0 installed on server A to connect to ColdFusion 7.0.2 running of another server Server B

      I've followed M. Forta instructions (SessionTracker example) but I'm stuck with 1 last problem

      I get this message when invoking the page that is supposed to trigger the event towards the Flex application:


      Unable to find Flex adapter for destination "ColdFusionGateway" in the RMI registry on localhost.

      This may be because the Flex adapter is not running or the destination is incorrect.

      The error occurred in /Library/WebServer/Documents/Intranet/Components/CMaker5/Application.cfc: line 56
      54 : <cfset msg.destination="ColdFusionGateway">
      55 :
      56 : <cfset status = SendGatewayMessage("Flex2CF", msg)>
      57 :
      58 : <cfif status>

      What am I doing wrong here ?

      If the FDS server is on another server how does FDS registers ColdFusionGateway on my CF server ?

      Please help !!

      Thanks

      Steve
        • 1. Re: FDS 2.0 Express And Coldfusion 7.0.2
          World_Traveler Level 1
          I found the solution !!!

          If your FDS server is running on a separate server than your CF server you need to include a configuration file when defining the Flex2CF gateway instance.

          On the CF server edit the file (path may vary depending on platform, this is OS X):

          /Applications/JRun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/gateway/config /flex-messaging-gateway.cfg

          and add the appropriate reference to your FDS server (IP restrictions, etc)

          add this full path to the Configuration File field when defining the Flex2CF gateway instance

          Steve