Conduit

PDF HTML FlashPaper

Debugging with Conduit

Run ColdFusion from the Command Line

Running ColdFusion from the command line will mean you will be able to see any error messages and/or logging calls that occur, which can save valuable hours when debugging with with Conduit.

On Linux: {ColdFusionHome}/runtime/bin/jrun start coldfusion &

On Windows: {ColdFusionHome}/bin/cfstart.bat

On Mac: {ColdFusionHome}/bin/jrun start cfusion (This taken from here, I'm not a mac user, so tell me if I'm wrong)

Turn on BlazeDS Logging

  • Open {ColdFusionHome}/wwwroot/WEB-INF/flex/services-config.xml
  • Set the logging level to 'Info', like so:

<logging> <target class="flex.messaging.log.ConsoleTarget" level="Info"> <properties> <prefix>[BlazeDS] </prefix> <includeDate>false</includeDate> <includeTime>false</includeTime> <includeLevel>false</includeLevel> <includeCategory>false</includeCategory> </properties> <filters> <pattern>Endpoint.*</pattern> <pattern>Service.*</pattern> <pattern>Configuration</pattern> <pattern>Message.*</pattern> </filters> </target> </logging>

  • You will now see a:
[BlazeDS]Conduit: ColdFusion Adapter initialised.

in the ColdFusion startup log, in case you were wondering if Conduit had been installed correctly.