tracker issue : CF-3673882

select a category, or use search below
(searches all categories and all time range)
Title:

RTMP channel not working :: coldfusion.flash.messaging.CFRTMPEndPoint not found

| View in Tracker

Status/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:

  1. August 21, 2014 00:00:00: 1_LCDS4.6_README.txt

Comments:

It seems like the classes needed for the RTMP channel and endpoint to work are not included with the install. I went back to a couple of the ColdFusion 9 servers and tried to set up the cf-rtmp channel and endpoint and got the same error....could not find the class
Comment by External U.
13907 | November 22, 2013 12:13:05 PM GMT
For CFRTMPEndPoint to be available you should copy few libraries and xml files from LCDS. Please follow the steps in the attached readme.txt for setting it up. Let me know, if you need more info.
Comment by HariKrishna K.
13908 | August 21, 2014 01:45:28 AM GMT
Hi ashar2005, Did you get sometime to look in to this? Can you please revert with your comments, so that i can take some action on the bug?
Comment by HariKrishna K.
13909 | September 09, 2014 11:35:53 PM GMT
Provided the steps and there were some jars missing, hence there was an exception. As there is no response from the user, Closing this bug as NotABug.
Comment by HariKrishna K.
13910 | December 03, 2014 01:01:08 AM GMT