Based upon your channel id, 'cf-rtmp', you're using an RTMP channel/endpoint. 
If the client's connect attempt is failing, this is generally because the 
endpoint isn't running so there's nothing for the client to connect to. Make 
sure you have logging enabled in your services-config.xml file on the server, 
and check your logs for any startup exceptions. LCDS is bootstrapped by a 
servlet (the MessageBrokerServlet) and if this fails at startup, your app 
server and other servlets will be running fine, but LCDS won't be available. 
Another common issue is people running multiple LCDS apps at the same time, 
each with RTMP endpoints. Each RTMP endpoint spins up its own internal socket 
server which requires a dedicated port. If you're running separate web apps in 
the same server, make sure all of the RTMP endpoints that will be running on 
your server are configured to use different ports so they don't run into port 
binding conflicts at startup.

A less likely cause would be the server-side RTMP endpoint is configured to 
bind to a different port than the client-side channel is attempting to connect 
to. This is generally due to compiling a swf, changing your server config and 
bouncing the server, and not recompiling the swf to pick up the config changes.

Seth

________________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of 
flexuser1
Sent: Friday, January 18, 2008 2:41 PM
To: [email protected]
Subject: [flexcoders] Flex Messaging + CF8 with embedded LC integration question

Hi I've been trying to make a simple app with flex messaging 
service. All the tutorials I see are for Flex 2 and CF7 using FDS. 
However, I am using Coldfusion 8 with embedded LCDS.

When I try to run my simple chat app I get this output in the 
console using tracetarget.
=========================================
'chatSubscriber' consumer subscribe.
'cf-rtmp' channel endpoint set to rtmp://localhost:8500
'cf-rtmp' channel settings are:
<channel id="cf-rtmp" type="mx.messaging.channels.RTMPChannel">
<endpoint uri="rtmp://{server.name}:{server.port}"/>
<properties/>
</channel>
[SWF] /Flex/chat/bin-debug/ChatAppFinished.swf - 743,790 bytes after 
decompression
'cf-rtmp' channel got connect attempt status. (Object)#0
code = "NetConnection.Connect.Failed"
level = "error"
=============================================

I've fully edited the xmls as needed I think. I've added the 
destinations etc. Is there anyone who's experienced enough to know 
why there's a NetConnection.Connect.Failed message?

I have a fully remote server with this and you can login to take a 
look.
 

Reply via email to