Title:
RTMP channel not working :: coldfusion.flash.messaging.CFRTMPEndPoint not found
| View in TrackerStatus/Resolution/Reason: Closed/Withdrawn/NotABug
Reporter/Name(from Bugbase): A. Mitchell / A. Mitchell (A. Mitchell)
Created: 11/22/2013
Components: Flex/Flash
Versions: 10.0
Failure Type: Non Functioning
Found In Build/Fixed In Build: Final /
Priority/Frequency: Critical / Most users will encounter
Locale/System: English / Win 2008 Server R2 64 bit
Vote Count: 0
Problem Description:
When trying to use the cf-rtmp channel, the server throws and error saying that the endpoint for the
channel cannot be found.
Steps to Reproduce:
1. Add the cf-rtmp channel to the services-config.xml file under wwwroot/WEB-INF/flex
<channel-definition id="cf-rtmp" class="mx.messaging.channels.RTMPChannel">
<endpoint uri="rtmp://{server.name}:2048" class="coldfusion.flash.messaging.CFRTMPEndPoint"/>
<properties>
<idle-timeout-minutes>20</idle-timeout-minutes>
<serialization>
<enable-small-messages>false</enable-small-messages>
</serialization>
<coldfusion>
<access>
<use-mappings>true</use-mappings>
<method-access-level>remote</method-access-level>
</access>
<use-accessors>true</use-accessors>
<use-structs>false</use-structs>
<property-case>
<force-cfc-lowercase>false</force-cfc-lowercase>
<force-query-lowercase>false</force-query-lowercase>
<force-struct-lowercase>false</force-struct-lowercase>
</property-case>
</coldfusion>
</properties>
</channel-definition>
2. Edit messaging-config.xml in wwwroot/WEB-INF/flex
and add the cf-rtmp channel as the channel for the ColdFusionGateway destination....
<channels>
<channel ref="cf-rtmp"/>
<channel ref="cf-polling-amf"/>
</channels>
3. Restart ColdFusion server
Actual Result:
Error on server startup saying it cannot find the channel's endpoint, and channel does not become available.
INFO: ColdFusionStartUpServlet: ColdFusion: VM version = 23.7-b01
java.lang.NullPointerException
at coldfusion.server.jrun4.metrics.SimpleLoadMetric.run(SimpleLoadMetric .java:157)
at coldfusion.scheduling.ThreadPool.run(ThreadPool.java:211)
at coldfusion.scheduling.WorkerThread.run(WorkerThread.java:71)
Nov 21, 2013 9:34:14 AM org.apache.catalina.core.ApplicationContext log
INFO: CFMxmlServlet: Macromedia Flex Build: 87315.134646
**** MessageBrokerServlet in application 'Adobe ColdFusion 10' failed to initialize due to runtime exception:
Exception: flex.messaging.MessageException:
Cannot create class of type 'coldfusion.flash.messaging.CFRTMPEndPoint'.
Type coldfusion.flash.messaging.CFRTMPEndPoint' not found.
at flex.messaging.util.ClassUtil.createClass(ClassUtil.java:70)
Expected Result:
Expect for this channel to work like all the others.
Any Workarounds:
No
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3673882
External Customer Info:
External Company:
External Customer Name: ashar2005
External Customer Email:
External Test Config: I've tried this on separate machines (Windows and Linux) and get the same results
2 servers are set up with multi-server config, and 1 (Windows) setup as standalone server.
Windows Server 2008 R2
CF10 Version: 10,0,11,285437
Java Version: 1.7.0_15
Java VM Version : 23.7-b01
Attachments:
- August 21, 2014 00:00:00: 1_LCDS4.6_README.txt
Comments: