Expand my Community achievements bar.

RTMP Server Fails

Avatar

Former Community Member
I have installed FDS with the Integrated Jrun. I inititally
installed into Tomcat just for interests sake, but then unintalled
and re-installed as standalone. On startup I get the following
error:



user MessageBrokerServlet: init

flex.messaging.endpoints.rtmp.RTMPException: The RTMP server
has encountered a fatal exception starting up: Address already in
use: bind

at
flex.messaging.endpoints.rtmp.BaseNIORTMPServer.run(BaseNIORTMPServer.java:310)
at java.lang.Thread(Unknown Source)



Now as I said, I am also running both Tomcat and ColdFusion
in Multiserver configuration (integrated JRun) through port 80 --
and there may be something clashing there. Any help appreciated.
Thanks.
3 Replies

Avatar

Level 3
RTMP requires a unique port to run - this port is independent
of the HTTP port used by the web server. Check your
/WEB-INF/flex/server-config.xml file and ensure that each
RTMPChannel based channel-definition uses a unique port across any
J2EE app on the entire server.

Avatar

Level 2

Is there any way to use rtmp connectivity in cases when I have access to internet only via proxy and only 80 port is avaliable for me?

Avatar

Employee

Wow - this is an old thread....

Short answer: Maybe.

If you can run the RTMP channel on port 80 and your proxy doesn't try to cache or buffer requests, then yes you can use RTMP.  If you are sharing the machine with a web server that is already listening on port 80, then you will have to use one of the other HTTP servlet based channels.

See this discussion of the types available: http://www.dcooper.org/blog/client/index.cfm?mode=entry&entry=8E1439AD-4E22-1671-58710DD528E9C2E7