> I think I followed the tutorial that I have to add the coldfusion 
> gateway.  It seems like I have 3 different messaing xml files. 
> 
> I get the following message. I'm just getting started and I don't know 
> what to do.
> [MessagingError message='Unknown destination 'ColdFusionGateway'.']
>       at mx.messaging.config::ServerConfig$/getChannelSet()
>       at mx.messaging::Consumer/mx.messaging:Consumer::initChannelSet()
>       at mx.messaging::MessageAgent/mx.
> messaging:MessageAgent::internalSend()
>       at mx.messaging::Consumer/subscribe()
>       at gateway/initApp()
>       at gateway/___Application1_creationComplete()
>       at flash.events::EventDispatcher/flash.
> events:EventDispatcher::dispatchEventFunction()
>       at flash.events::EventDispatcher/dispatchEvent()
>       at mx.core::UIComponent/set initialized()
>       at mx.managers::LayoutManager/::doPhasedInstantiation()
>       at Function/http://adobe.com/AS3/2006/builtin::apply()
>       at mx.core::UIComponent/::callLaterDispatcher2()
>       at mx.core::UIComponent/::callLaterDispatcher()

I had similar trouble, but finally figured it out.  To begin, I use the j2ee 
install.
I had to configure my flex build project to point to my appservers config file. 
 For me that meant an 'additional compiler argument' in the right-click project 
properties ->compiler window of: 
<pre>-services 
"C:\data\www\appserver\jrun\servers\cfmx11\flex2\WEB-INF\flex\services-config.xml"</pre>
That is where I had to move all my configs.  If the configs existed in:
C:\data\www\appserver\jrun\servers\cfmx11\flex2\WEB-INF\flex\services-config.xml,
I had to remove them, otherwise I'd get a dupe-error on startup.
So, while I'm not sure I understood why the runtime environment doesn't find 
these when in the wrong xml file, this worked, for me.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:3385
Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37

Reply via email to