Flex

Debuging Flex remoting to ColdFusion

Submitted by Falken on
Apparently nowhere else is this mentioned, but if you get errors from Flex 2 applications saying :

[MessagingError message='Unknown destination 'ColdFusion'.']' faultDetail:'Couldn't establish a connection to 'ColdFusion'

One of the first things you might try is opening up the services-config.xml you compiled against, and finding the part of the channel definition that says:

uri="http://{server.name}:{server.port}{context.root}/flex2gateway/"

and setting actual name, port and context root values there. Then recompile and try again.

Install Flex2 Charting with the SDK on Linux

Submitted by Falken on
As the Adobe doc's are a bit thin on the ground here, this is how to install the optional Charting stuff into a local install of the Flex 2 SDK.
  1. Download and unzip the Charting stuff from http://www.adobe.com/cfusion/tdrc/index.cfm?product=flex. You want the 16 meg 'Windows' one. Ignore that :-)
  2. Run the installer from the command line and answer the question (where is the SDK) when it asks you: java -jar /tmp/Flex\ Charting/flex_charting_2_installer.jar
  3. ...
  4. Profit !
Sections