|
View:
New views
20 Messages
—
Rating Filter:
Alert me
|
| < Prev | 1 - 2 - 3 | Next > |
|
|
Edge/Origin prototype is on the clustering branchHi all,
I've checked in the prototype for Edge/Origin to the clustering branch: http://svn1.cvsdude.com/osflash/red5/java/server/branches/clustering I haven't integrated the Edge with Terracotta yet but will do it soon. Now you can play with it on two machines with one Origin server and one Edge server. (Of course, it should work for one Origin and several Edges. But I have never tried it. :-) ) The Edge server is accessed by RTMPT. The RTMP Edge support will be added after the Edge/Origin with Terracotta prototype is done. How to run the prototype inside Eclipse: (1) Check out the code first. (2) Start Origin server by running Standalone without arguments. (3) Start Edge server by running Standalone with argument "red5-edge.xml " (4) Connect the Edge by RTMPT on port 8088. For example, "rtmpt://localhost:8088/oflaDemo" The default setting of Edge is to connect Origin locally. You can modify the "server" property of "mrtmpClient" bean in " red5-edge-core.xml" to set the address of Origin server. I appreciate your feedbacks and suggestions for the prototype. Enjoy!~~ -- Best Regards Steven Gong InfraRed5 Red5 Consultant: http://www.infrared5.com, steven@... Red5 Developer: http://osflash.org/red5, http://jira.red5.org/confluence/display/~steven/Home Modesty is an overrated quality in men of no great accomplishment. -- Ricky Jay _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
|
|
Re: Edge/Origin prototype is on the clustering branchVery cool. I'm on an airplane today, but I'll try it out as soon as I get home.
Sent from my handheld -----Original Message----- From: "Steven Gong" <steven.gong@...> Date: Tue, 21 Aug 2007 13:29:25 To:Red5@..., "Red Dev list" <red5devs@...>, tc-dev@... Cc:"Orion Letizi" <orion@...>, "Steven Harris" <steve@...> Subject: Edge/Origin prototype is on the clustering branch Hi all, I've checked in the prototype for Edge/Origin to the clustering branch: http://svn1.cvsdude.com/osflash/red5/java/server/branches/clustering <http://svn1.cvsdude.com/osflash/red5/java/server/branches/clustering> I haven't integrated the Edge with Terracotta yet but will do it soon. Now you can play with it on two machines with one Origin server and one Edge server. (Of course, it should work for one Origin and several Edges. But I have never tried it. :-) ) The Edge server is accessed by RTMPT. The RTMP Edge support will be added after the Edge/Origin with Terracotta prototype is done. How to run the prototype inside Eclipse: (1) Check out the code first. (2) Start Origin server by running Standalone without arguments. (3) Start Edge server by running Standalone with argument "red5-edge.xml " (4) Connect the Edge by RTMPT on port 8088. For example, "rtmpt://localhost:8088/oflaDemo" The default setting of Edge is to connect Origin locally. You can modify the "server" property of "mrtmpClient" bean in " red5-edge-core.xml" to set the address of Origin server. I appreciate your feedbacks and suggestions for the prototype. Enjoy!~~ -- Best Regards Steven Gong InfraRed5 Red5 Consultant: http://www.infrared5.com <http://www.infrared5.com> , steven@... <mailto:steven@...> Red5 Developer: http://osflash.org/red5 <http://osflash.org/red5> , http://jira.red5.org/confluence/display/~steven/Home <http://jira.red5.org/confluence/display/~steven/Home> Modesty is an overrated quality in men of no great accomplishment. -- Ricky Jay _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
|
|
Re: Edge/Origin prototype is on the clustering branchHi Orion,
Glad to see you now in the list.
I will be experiment with Stevens setup toward the end of the
week.
Looking forward to Terracotta's Integration
Regards,
Lenny
On 8/21/07, Orion Letizi <orion@...> wrote:
Very cool. I'm on an airplane today, but I'll try it out as soon as I get home. _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
|
|
Re: Edge/Origin prototype is on the clustering branchIs there a wiki page anywhere detailing what's happening on this
branch? From steve's post, it appears that a video stream is being 'published' by the origin server and subscribed to by the edge server. If that's the case, please point out where this client relationship is being done. I'm most interested in helping on that piece or at least seeing what's been done so far. Bill Lenny Sorey wrote: > Hi Orion, > > Glad to see you now in the list. > > I will be experiment with Stevens setup toward the end of the > week. > > Looking forward to Terracotta's Integration > > Regards, > > Lenny > > > On 8/21/07, *Orion Letizi* <orion@... > <mailto:orion@...>> wrote: > > Very cool. I'm on an airplane today, but I'll try it out as soon > as I get home. > > > Sent from my handheld > > -----Original Message----- > From: "Steven Gong" <steven.gong@... > <mailto:steven.gong@...>> > > Date: Tue, 21 Aug 2007 13:29:25 > To:Red5@... <mailto:To:Red5@...>, "Red Dev list" > <red5devs@... <mailto:red5devs@...>>, > tc-dev@... <mailto:tc-dev@...> > Cc:"Orion Letizi" < orion@... > <mailto:orion@...>>, "Steven Harris" > <steve@... <mailto:steve@...>> > Subject: Edge/Origin prototype is on the clustering branch > > > Hi all, > I've checked in the prototype for Edge/Origin to the clustering > branch: > http://svn1.cvsdude.com/osflash/red5/java/server/branches/clustering > < > http://svn1.cvsdude.com/osflash/red5/java/server/branches/clustering> > > I haven't integrated the Edge with Terracotta yet but will do it > soon. Now you can play with it on two machines with one Origin > server and one Edge server. (Of course, it should work for one > Origin and several Edges. But I have never tried it. :-) ) The > Edge server is accessed by RTMPT. The RTMP Edge support will be > added after the Edge/Origin with Terracotta prototype is done. > > How to run the prototype inside Eclipse: > (1) Check out the code first. > (2) Start Origin server by running Standalone without arguments. > (3) Start Edge server by running Standalone with argument > "red5-edge.xml " > (4) Connect the Edge by RTMPT on port 8088. For example, > "rtmpt://localhost:8088/oflaDemo" > > The default setting of Edge is to connect Origin locally. You can > modify the "server" property of "mrtmpClient" bean in " > red5-edge-core.xml" to set the address of Origin server. > > I appreciate your feedbacks and suggestions for the prototype. > Enjoy!~~ > > -- > Best Regards > Steven Gong > > InfraRed5 Red5 Consultant: http://www.infrared5.com > <http://www.infrared5.com> , steven@... > <mailto:steven@...> <mailto:steven@... > <mailto:steven@...>> > > Red5 Developer: http://osflash.org/red5 <http://osflash.org/red5> , > http://jira.red5.org/confluence/display/~steven/Home > <http://jira.red5.org/confluence/display/%7Esteven/Home> > <http://jira.red5.org/confluence/display/~steven/Home > <http://jira.red5.org/confluence/display/%7Esteven/Home>> > > Modesty is an overrated quality in men of no great > accomplishment.-- Ricky Jay > _______________________________________________ > Red5 mailing list > Red5@... <mailto:Red5@...> > http://osflash.org/mailman/listinfo/red5_osflash.org > <http://osflash.org/mailman/listinfo/red5_osflash.org> > > > ------------------------------------------------------------------------ > > _______________________________________________ > Red5 mailing list > Red5@... > http://osflash.org/mailman/listinfo/red5_osflash.org > _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
|
|
Re: Edge/Origin prototype is on the clustering branchCould this theoretically be setup to work across datacentres, or does
the machines need to be in the same DC ? If so, once I manage to work out the logic of setting it up, I'd be happy to host a edge / origin version of server in a DC in Sydney if people want to try out those kind of conditions. Im pretty sure thats the whole deal about the edge system anyway. Ie have the origin servers in a DC in the US, and edge servers geo targetted across places ie AU and EU. Sales Department wrote: > Is there a wiki page anywhere detailing what's happening on this > branch? From steve's post, it appears that a video stream is being > 'published' by the origin server and subscribed to by the edge server. > If that's the case, please point out where this client relationship is > being done. I'm most interested in helping on that piece or at least > seeing what's been done so far. > > Bill > > Lenny Sorey wrote: > >> Hi Orion, >> >> Glad to see you now in the list. >> >> I will be experiment with Stevens setup toward the end of the >> week. >> >> Looking forward to Terracotta's Integration >> >> Regards, >> >> Lenny >> >> >> On 8/21/07, *Orion Letizi* <orion@... >> <mailto:orion@...>> wrote: >> >> Very cool. I'm on an airplane today, but I'll try it out as soon >> as I get home. >> >> >> Sent from my handheld >> >> -----Original Message----- >> From: "Steven Gong" <steven.gong@... >> <mailto:steven.gong@...>> >> >> Date: Tue, 21 Aug 2007 13:29:25 >> To:Red5@... <mailto:To:Red5@...>, "Red Dev list" >> <red5devs@... <mailto:red5devs@...>>, >> tc-dev@... <mailto:tc-dev@...> >> Cc:"Orion Letizi" < orion@... >> <mailto:orion@...>>, "Steven Harris" >> <steve@... <mailto:steve@...>> >> Subject: Edge/Origin prototype is on the clustering branch >> >> >> Hi all, >> I've checked in the prototype for Edge/Origin to the clustering >> branch: >> http://svn1.cvsdude.com/osflash/red5/java/server/branches/clustering >> < >> http://svn1.cvsdude.com/osflash/red5/java/server/branches/clustering> >> >> I haven't integrated the Edge with Terracotta yet but will do it >> soon. Now you can play with it on two machines with one Origin >> server and one Edge server. (Of course, it should work for one >> Origin and several Edges. But I have never tried it. :-) ) The >> Edge server is accessed by RTMPT. The RTMP Edge support will be >> added after the Edge/Origin with Terracotta prototype is done. >> >> How to run the prototype inside Eclipse: >> (1) Check out the code first. >> (2) Start Origin server by running Standalone without arguments. >> (3) Start Edge server by running Standalone with argument >> "red5-edge.xml " >> (4) Connect the Edge by RTMPT on port 8088. For example, >> "rtmpt://localhost:8088/oflaDemo" >> >> The default setting of Edge is to connect Origin locally. You can >> modify the "server" property of "mrtmpClient" bean in " >> red5-edge-core.xml" to set the address of Origin server. >> >> I appreciate your feedbacks and suggestions for the prototype. >> Enjoy!~~ >> >> -- >> Best Regards >> Steven Gong >> >> InfraRed5 Red5 Consultant: http://www.infrared5.com >> <http://www.infrared5.com> , steven@... >> <mailto:steven@...> <mailto:steven@... >> <mailto:steven@...>> >> >> Red5 Developer: http://osflash.org/red5 <http://osflash.org/red5> , >> http://jira.red5.org/confluence/display/~steven/Home >> <http://jira.red5.org/confluence/display/%7Esteven/Home> >> <http://jira.red5.org/confluence/display/~steven/Home >> <http://jira.red5.org/confluence/display/%7Esteven/Home>> >> >> Modesty is an overrated quality in men of no great >> accomplishment.-- Ricky Jay >> _______________________________________________ >> Red5 mailing list >> Red5@... <mailto:Red5@...> >> http://osflash.org/mailman/listinfo/red5_osflash.org >> <http://osflash.org/mailman/listinfo/red5_osflash.org> >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Red5 mailing list >> Red5@... >> http://osflash.org/mailman/listinfo/red5_osflash.org >> >> > > _______________________________________________ > Red5 mailing list > Red5@... > http://osflash.org/mailman/listinfo/red5_osflash.org > > _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
|
|
Re: Edge/Origin prototype is on the clustering branchDan,
The Edge server connects the Origin via TCP socket (default port is 9035). Glad to see that you can setup a test server for this. Thanks. :-) On 8/21/07,
Dan Rossi <spam@...> wrote: Could this theoretically be setup to work across datacentres, or does -- Best Regards Steven Gong InfraRed5 Red5 Consultant: http://www.infrared5.com , steven@... Red5 Developer: http://osflash.org/red5, http://jira.red5.org/confluence/display/~steven/Home Modesty is an overrated quality in men of no great accomplishment. -- Ricky Jay _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
|
|
Re: Edge/Origin prototype is on the clustering branchBill,
I will add a new page describing the details of this prototype effort. Before that you can take a look at the design page that reflects the current implementation: http://jira.red5.org/confluence/display/CLU/Edge+Origin+Solution+on+Terracotta The scenario should be the same as FMS's Edge/Origin solution that the clients connect to Edge servers and the Edge server connects to Origin server. The current prototype only supports a single Origin server that could be connected by several Edge servers and the client should connect to Edge via RTMPT. On 8/21/07, Sales Department <sales@...> wrote: Is there a wiki page anywhere detailing what's happening on this -- Best Regards Steven Gong InfraRed5 Red5 Consultant: http://www.infrared5.com, steven@... Red5 Developer: http://osflash.org/red5, http://jira.red5.org/confluence/display/~steven/Home Modesty is an overrated quality in men of no great accomplishment. -- Ricky Jay _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
|
|
Re: Edge/Origin prototype is on the clustering branchOK Np, it loaded as a checkout in eclipse fine. I'll move it over to the
server tommorow. Steven Gong wrote: > Dan, > The Edge server connects the Origin via TCP socket (default port is 9035). > > Glad to see that you can setup a test server for this. Thanks. :-) > > On 8/21/07, * Dan Rossi* <spam@... > <mailto:spam@...>> wrote: > > Could this theoretically be setup to work across datacentres, or does > the machines need to be in the same DC ? If so, once I manage to work > out the logic of setting it up, I'd be happy to host a edge / origin > version of server in a DC in Sydney if people want to try out > those kind > of conditions. Im pretty sure thats the whole deal about the edge > system > anyway. Ie have the origin servers in a DC in the US, and edge > servers > geo targetted across places ie AU and EU. > > Sales Department wrote: > > Is there a wiki page anywhere detailing what's happening on this > > branch? From steve's post, it appears that a video stream is being > > 'published' by the origin server and subscribed to by the edge > server. > > If that's the case, please point out where this client > relationship is > > being done. I'm most interested in helping on that piece or at > least > > seeing what's been done so far. > > > > Bill > > > > Lenny Sorey wrote: > > > >> Hi Orion, > >> > >> Glad to see you now in the list. > >> > >> I will be experiment with Stevens setup toward the end of the > >> week. > >> > >> Looking forward to Terracotta's Integration > >> > >> Regards, > >> > >> Lenny > >> > >> > >> On 8/21/07, *Orion Letizi* < orion@... > <mailto:orion@...> > >> <mailto:orion@... <mailto:orion@...>>> wrote: > >> > >> Very cool. I'm on an airplane today, but I'll try it out > as soon > >> as I get home. > >> > >> > >> Sent from my handheld > >> > >> -----Original Message----- > >> From: "Steven Gong" < steven.gong@... > <mailto:steven.gong@...> > >> <mailto:steven.gong@... <mailto:steven.gong@...>>> > >> > >> Date: Tue, 21 Aug 2007 13:29:25 > >> To:Red5@... <mailto:To:Red5@...> <mailto:To > <mailto:To>:Red5@... <mailto:Red5@...>>, "Red Dev > list" > >> <red5devs@... <mailto:red5devs@...> > <mailto:red5devs@... <mailto:red5devs@...>>>, > >> tc-dev@... > <mailto:tc-dev@...> <mailto: > tc-dev@... <mailto:tc-dev@...>> > >> Cc:"Orion Letizi" < orion@... > <mailto:orion@...> > >> <mailto:orion@... > <mailto:orion@...>>>, "Steven Harris" > >> <steve@... <mailto:steve@...> > <mailto:steve@... <mailto:steve@...>>> > >> Subject: Edge/Origin prototype is on the clustering branch > >> > >> > >> Hi all, > >> I've checked in the prototype for Edge/Origin to the clustering > >> branch: > >> > http://svn1.cvsdude.com/osflash/red5/java/server/branches/clustering > >> < > >> > http://svn1.cvsdude.com/osflash/red5/java/server/branches/clustering> > >> > >> I haven't integrated the Edge with Terracotta yet but will > do it > >> soon. Now you can play with it on two machines with one Origin > >> server and one Edge server. (Of course, it should work for one > >> Origin and several Edges. But I have never tried it. :-) ) The > >> Edge server is accessed by RTMPT. The RTMP Edge support > will be > >> added after the Edge/Origin with Terracotta prototype is done. > >> > >> How to run the prototype inside Eclipse: > >> (1) Check out the code first. > >> (2) Start Origin server by running Standalone without > arguments. > >> (3) Start Edge server by running Standalone with argument > >> "red5-edge.xml " > >> (4) Connect the Edge by RTMPT on port 8088. For example, > >> "rtmpt://localhost:8088/oflaDemo" > >> > >> The default setting of Edge is to connect Origin locally. > You can > >> modify the "server" property of "mrtmpClient" bean in " > >> red5-edge-core.xml " to set the address of Origin server. > >> > >> I appreciate your feedbacks and suggestions for the prototype. > >> Enjoy!~~ > >> > >> -- > >> Best Regards > >> Steven Gong > >> > >> InfraRed5 Red5 Consultant: http://www.infrared5.com > >> <http://www.infrared5.com <http://www.infrared5.com>> , > steven@... <mailto:steven@...> > >> <mailto:steven@... <mailto:steven@...>> > <mailto:steven@... <mailto:steven@...> > >> <mailto:steven@... <mailto:steven@...>>> > >> > >> Red5 Developer: http://osflash.org/red5 < > http://osflash.org/red5> , > >> http://jira.red5.org/confluence/display/~steven/Home > <http://jira.red5.org/confluence/display/%7Esteven/Home> > >> < http://jira.red5.org/confluence/display/%7Esteven/Home> > >> <http://jira.red5.org/confluence/display/~steven/Home > <http://jira.red5.org/confluence/display/%7Esteven/Home> > >> < http://jira.red5.org/confluence/display/%7Esteven/Home>> > >> > >> Modesty is an overrated quality in men of no great > >> accomplishment.-- Ricky Jay > >> _______________________________________________ > >> Red5 mailing list > >> Red5@... <mailto:Red5@...> > <mailto:Red5@... <mailto:Red5@...>> > >> http://osflash.org/mailman/listinfo/red5_osflash.org > >> < http://osflash.org/mailman/listinfo/red5_osflash.org> > >> > >> > >> > ------------------------------------------------------------------------ > >> > >> _______________________________________________ > >> Red5 mailing list > >> Red5@... <mailto:Red5@...> > >> http://osflash.org/mailman/listinfo/red5_osflash.org > <http://osflash.org/mailman/listinfo/red5_osflash.org> > >> > >> > > > > _______________________________________________ > > Red5 mailing list > > Red5@... <mailto:Red5@...> > > http://osflash.org/mailman/listinfo/red5_osflash.org > > > > > > > _______________________________________________ > Red5 mailing list > Red5@... <mailto:Red5@...> > http://osflash.org/mailman/listinfo/red5_osflash.org > > > > > -- > Best Regards > Steven Gong > > InfraRed5 Red5 Consultant: http://www.infrared5.com > <http://www.infrared5.com>, steven@... > <mailto:steven@...> > > Red5 Developer: http://osflash.org/red5, > http://jira.red5.org/confluence/display/~steven/Home > <http://jira.red5.org/confluence/display/%7Esteven/Home> > > Modesty is an overrated quality in men of no great accomplishment. -- > Ricky Jay > ------------------------------------------------------------------------ > > _______________________________________________ > Red5 mailing list > Red5@... > http://osflash.org/mailman/listinfo/red5_osflash.org > _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
|
|
Re: Edge/Origin prototype is on the clustering branchSteve I have setup a standalone origin server for now up at
electroteque.org located in Sydney. If someone has a origin server I can setup a secondary red5 running as an edge and connect to that, I could test that also, or else I can look at setting up a edge service in a machine in another datacentre. Will do a quick test with a edge server running locally. Steven Gong wrote: > Hi all, > I've checked in the prototype for Edge/Origin to the clustering > branch: > http://svn1.cvsdude.com/osflash/red5/java/server/branches/clustering > <http://svn1.cvsdude.com/osflash/red5/java/server/branches/clustering> > > I haven't integrated the Edge with Terracotta yet but will do it soon. > Now you can play with it on two machines with one Origin server and > one Edge server. (Of course, it should work for one Origin and several > Edges. But I have never tried it. :-) ) The Edge server is accessed by > RTMPT. The RTMP Edge support will be added after the Edge/Origin with > Terracotta prototype is done. > > How to run the prototype inside Eclipse: > (1) Check out the code first. > (2) Start Origin server by running Standalone without arguments. > (3) Start Edge server by running Standalone with argument "red5-edge.xml " > (4) Connect the Edge by RTMPT on port 8088. For example, > "rtmpt://localhost:8088/oflaDemo" > > The default setting of Edge is to connect Origin locally. You can > modify the "server" property of "mrtmpClient" bean in " > red5-edge-core.xml" to set the address of Origin server. > > I appreciate your feedbacks and suggestions for the prototype. Enjoy!~~ > > -- > Best Regards > Steven Gong > > InfraRed5 Red5 Consultant: http://www.infrared5.com, > steven@... <mailto:steven@...> > > Red5 Developer: http://osflash.org/red5, > http://jira.red5.org/confluence/display/~steven/Home > <http://jira.red5.org/confluence/display/%7Esteven/Home> > > Modesty is an overrated quality in men of no great accomplishment. -- > Ricky Jay > ------------------------------------------------------------------------ > > _______________________________________________ > Red5 mailing list > Red5@... > http://osflash.org/mailman/listinfo/red5_osflash.org > _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
|
|
Re: Edge/Origin prototype is on the clustering branchDan,
That's great! You rock! \o/\o/\o/ :-) On 8/23/07, Dan Rossi <spam@...> wrote:
Steve I have setup a standalone origin server for now up at -- Best Regards Steven Gong InfraRed5 Red5 Consultant: http://www.infrared5.com, steven@... Red5 Developer: http://osflash.org/red5, http://jira.red5.org/confluence/display/~steven/Home Modesty is an overrated quality in men of no great accomplishment. -- Ricky Jay _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
|
|
Re: Exceptions - Edge/Origin prototype is on the clustering branchTried a few combinations, including setting the origin host to
electroteque.org and localhost. I think there is a problem in the edge config. Connecting with this private var serverURL:String = "rtmpt://localhost:8088/oflaDemo/"; [INFO]:( org.red5.server.Standalone.main ) Startup done in: 2641 ms [ERROR]:( org.red5.server.net.rtmpt.RTMPTServlet.handleSend ) Could not process message. java.lang.NullPointerException at org.red5.server.net.rtmpt.EdgeRTMPTHandler.sendConnectMessage(EdgeRTMPTHandler.java:181) at org.red5.server.net.rtmpt.EdgeRTMPTHandler.handleConnect(EdgeRTMPTHandler.java:165) at org.red5.server.net.rtmpt.EdgeRTMPTHandler.messageReceived(EdgeRTMPTHandler.java:58) at org.red5.server.net.rtmpt.RTMPTServlet.handleSend(RTMPTServlet.java:355) at org.red5.server.net.rtmpt.RTMPTServlet.service(RTMPTServlet.java:433) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:491) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:367) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:689) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:146) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:285) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:457) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:765) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:627) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:357) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:329) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION java.nio.channels.CancelledKeyException at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:55) at sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:69) at sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys(KQueueSelectorImpl.java:105) at sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:74) at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69) at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80) at org.mortbay.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:299) at org.mortbay.io.nio.SelectorManager.doSelect(SelectorManager.java:73) at org.mortbay.jetty.nio.SelectChannelConnector.accept(SelectChannelConnector.java:120) at org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java:498) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION java.nio.channels.CancelledKeyException at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:55) at sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:69) at sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys(KQueueSelectorImpl.java:105) at sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:74) at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69) at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80) at org.mortbay.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:299) at org.mortbay.io.nio.SelectorManager.doSelect(SelectorManager.java:73) at org.mortbay.jetty.nio.SelectChannelConnector.accept(SelectChannelConnector.java:120) at org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java:498) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION java.nio.channels.CancelledKeyException at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:55) at sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:69) at sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys(KQueueSelectorImpl.java:105) at sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:74) at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69) at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80) at org.mortbay.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:299) at org.mortbay.io.nio.SelectorManager.doSelect(SelectorManager.java:73) at org.mortbay.jetty.nio.SelectChannelConnector.accept(SelectChannelConnector.java:120) at org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java:498) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) Steven Gong wrote: > Hi all, > I've checked in the prototype for Edge/Origin to the clustering > branch: > http://svn1.cvsdude.com/osflash/red5/java/server/branches/clustering > <http://svn1.cvsdude.com/osflash/red5/java/server/branches/clustering> > > I haven't integrated the Edge with Terracotta yet but will do it soon. > Now you can play with it on two machines with one Origin server and > one Edge server. (Of course, it should work for one Origin and several > Edges. But I have never tried it. :-) ) The Edge server is accessed by > RTMPT. The RTMP Edge support will be added after the Edge/Origin with > Terracotta prototype is done. > > How to run the prototype inside Eclipse: > (1) Check out the code first. > (2) Start Origin server by running Standalone without arguments. > (3) Start Edge server by running Standalone with argument "red5-edge.xml " > (4) Connect the Edge by RTMPT on port 8088. For example, > "rtmpt://localhost:8088/oflaDemo" > > The default setting of Edge is to connect Origin locally. You can > modify the "server" property of "mrtmpClient" bean in " > red5-edge-core.xml" to set the address of Origin server. > > I appreciate your feedbacks and suggestions for the prototype. Enjoy!~~ > > -- > Best Regards > Steven Gong > > InfraRed5 Red5 Consultant: http://www.infrared5.com, > steven@... <mailto:steven@...> > > Red5 Developer: http://osflash.org/red5, > http://jira.red5.org/confluence/display/~steven/Home > <http://jira.red5.org/confluence/display/%7Esteven/Home> > > Modesty is an overrated quality in men of no great accomplishment. -- > Ricky Jay > ------------------------------------------------------------------------ > > _______________________________________________ > Red5 mailing list > Red5@... > http://osflash.org/mailman/listinfo/red5_osflash.org > _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
|
|
Re: Exceptions - Edge/Origin prototype is on the clustering branchSorry the origin server was firewalled its open now, i doubt it works
set to localhost either, as I cant have both running. [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION java.nio.channels.CancelledKeyException at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:55) at sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:69) at sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys(KQueueSelectorImpl.java:105) at sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:74) at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69) at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80) at org.mortbay.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:299) at org.mortbay.io.nio.SelectorManager.doSelect(SelectorManager.java:73) at org.mortbay.jetty.nio.SelectChannelConnector.accept(SelectChannelConnector.java:120) at org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java:498) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION java.nio.channels.CancelledKeyException at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:55) at sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:69) at sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys(KQueueSelectorImpl.java:105) at sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:74) at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69) at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80) at org.mortbay.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:299) at org.mortbay.io.nio.SelectorManager.doSelect(SelectorManager.java:73) at org.mortbay.jetty.nio.SelectChannelConnector.accept(SelectChannelConnector.java:120) at org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java:498) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) Dan Rossi wrote: > Tried a few combinations, including setting the origin host to > electroteque.org and localhost. I think there is a problem in the edge > config. > > Connecting with this private var serverURL:String = > "rtmpt://localhost:8088/oflaDemo/"; > > [INFO]:( org.red5.server.Standalone.main ) Startup done in: 2641 ms > [ERROR]:( org.red5.server.net.rtmpt.RTMPTServlet.handleSend ) Could not > process message. > java.lang.NullPointerException > at > org.red5.server.net.rtmpt.EdgeRTMPTHandler.sendConnectMessage(EdgeRTMPTHandler.java:181) > at > org.red5.server.net.rtmpt.EdgeRTMPTHandler.handleConnect(EdgeRTMPTHandler.java:165) > at > org.red5.server.net.rtmpt.EdgeRTMPTHandler.messageReceived(EdgeRTMPTHandler.java:58) > at > org.red5.server.net.rtmpt.RTMPTServlet.handleSend(RTMPTServlet.java:355) > at > org.red5.server.net.rtmpt.RTMPTServlet.service(RTMPTServlet.java:433) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > at > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:491) > at > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:367) > at > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:689) > at > org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:146) > at > org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) > at > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) > at org.mortbay.jetty.Server.handle(Server.java:285) > at > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:457) > at > org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:765) > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:627) > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209) > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:357) > at > org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:329) > at > org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) > [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION > java.nio.channels.CancelledKeyException > at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:55) > at sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:69) > at > sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys(KQueueSelectorImpl.java:105) > at > sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:74) > at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69) > at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80) > at > org.mortbay.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:299) > at > org.mortbay.io.nio.SelectorManager.doSelect(SelectorManager.java:73) > at > org.mortbay.jetty.nio.SelectChannelConnector.accept(SelectChannelConnector.java:120) > at > org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java:498) > at > org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) > [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION > java.nio.channels.CancelledKeyException > at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:55) > at sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:69) > at > sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys(KQueueSelectorImpl.java:105) > at > sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:74) > at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69) > at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80) > at > org.mortbay.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:299) > at > org.mortbay.io.nio.SelectorManager.doSelect(SelectorManager.java:73) > at > org.mortbay.jetty.nio.SelectChannelConnector.accept(SelectChannelConnector.java:120) > at > org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java:498) > at > org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) > [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION > java.nio.channels.CancelledKeyException > at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:55) > at sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:69) > at > sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys(KQueueSelectorImpl.java:105) > at > sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:74) > at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69) > at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80) > at > org.mortbay.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:299) > at > org.mortbay.io.nio.SelectorManager.doSelect(SelectorManager.java:73) > at > org.mortbay.jetty.nio.SelectChannelConnector.accept(SelectChannelConnector.java:120) > at > org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java:498) > at > org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) > > > Steven Gong wrote: > >> Hi all, >> I've checked in the prototype for Edge/Origin to the clustering >> branch: >> http://svn1.cvsdude.com/osflash/red5/java/server/branches/clustering >> <http://svn1.cvsdude.com/osflash/red5/java/server/branches/clustering> >> >> I haven't integrated the Edge with Terracotta yet but will do it soon. >> Now you can play with it on two machines with one Origin server and >> one Edge server. (Of course, it should work for one Origin and several >> Edges. But I have never tried it. :-) ) The Edge server is accessed by >> RTMPT. The RTMP Edge support will be added after the Edge/Origin with >> Terracotta prototype is done. >> >> How to run the prototype inside Eclipse: >> (1) Check out the code first. >> (2) Start Origin server by running Standalone without arguments. >> (3) Start Edge server by running Standalone with argument "red5-edge.xml " >> (4) Connect the Edge by RTMPT on port 8088. For example, >> "rtmpt://localhost:8088/oflaDemo" >> >> The default setting of Edge is to connect Origin locally. You can >> modify the "server" property of "mrtmpClient" bean in " >> red5-edge-core.xml" to set the address of Origin server. >> >> I appreciate your feedbacks and suggestions for the prototype. Enjoy!~~ >> >> -- >> Best Regards >> Steven Gong >> >> InfraRed5 Red5 Consultant: http://www.infrared5.com, >> steven@... <mailto:steven@...> >> >> Red5 Developer: http://osflash.org/red5, >> http://jira.red5.org/confluence/display/~steven/Home >> <http://jira.red5.org/confluence/display/%7Esteven/Home> >> >> Modesty is an overrated quality in men of no great accomplishment. -- >> Ricky Jay >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Red5 mailing list >> Red5@... >> http://osflash.org/mailman/listinfo/red5_osflash.org >> >> > > > _______________________________________________ > Red5 mailing list > Red5@... > http://osflash.org/mailman/listinfo/red5_osflash.org > > _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
|
|
Re: Exceptions - Edge/Origin prototype is on the clustering branchYes, that is a limitation for the prototype now as I haven't done the intelligent connection management. You should make sure that the Origin is started up BEFORE you start up the Edge and also make sure the Edge can connect to Origin successfully. Anyway thanks for your information.
On 8/23/07, Dan Rossi <spam@...> wrote: Sorry the origin server was firewalled its open now, i doubt it works -- Best Regards Steven Gong InfraRed5 Red5 Consultant: http://www.infrared5.com , steven@... Red5 Developer: http://osflash.org/red5, http://jira.red5.org/confluence/display/~steven/Home Modesty is an overrated quality in men of no great accomplishment. -- Ricky Jay _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
|
|
Re: Exceptions - Edge/Origin prototype is on the clustering branchSteven Gong wrote:
> Yes, that is a limitation for the prototype now as I haven't done the > intelligent connection management. You should make sure that the > Origin is started up BEFORE you start up the Edge and also make sure > the Edge can connect to Origin successfully. Anyway thanks for your > information. Its not connecting ? How can I work that out , the port is open. The origin is up before the edge. > > On 8/23/07, *Dan Rossi* <spam@... > <mailto:spam@...>> wrote: > > Sorry the origin server was firewalled its open now, i doubt it works > set to localhost either, as I cant have both running. > > [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION > java.nio.channels.CancelledKeyException > at > sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:55) > at > sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:69) > at > sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys > (KQueueSelectorImpl.java:105) > at > sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:74) > at > sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69) > at sun.nio.ch.SelectorImpl.select (SelectorImpl.java:80) > at > org.mortbay.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:299) > at > org.mortbay.io.nio.SelectorManager.doSelect(SelectorManager.java:73) > at > org.mortbay.jetty.nio.SelectChannelConnector.accept(SelectChannelConnector.java:120) > at > org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java:498) > at > org.mortbay.thread.BoundedThreadPool$PoolThread.run > (BoundedThreadPool.java:475) > [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION > java.nio.channels.CancelledKeyException > at > sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:55) > at sun.nio.ch.SelectionKeyImpl.readyOps > (SelectionKeyImpl.java:69) > at > sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys(KQueueSelectorImpl.java:105) > at > sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:74) > at sun.nio.ch.SelectorImpl.lockAndDoSelect > (SelectorImpl.java:69) > at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80) > at > org.mortbay.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:299) > at > org.mortbay.io.nio.SelectorManager.doSelect (SelectorManager.java:73) > at > org.mortbay.jetty.nio.SelectChannelConnector.accept(SelectChannelConnector.java:120) > at > org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java:498) > > at > org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) > > > > > Dan Rossi wrote: > > Tried a few combinations, including setting the origin host to > > electroteque.org <http://electroteque.org> and localhost. I > think there is a problem in the edge > > config. > > > > Connecting with this private var serverURL:String = > > "rtmpt://localhost:8088/oflaDemo/"; > > > > [INFO]:( org.red5.server.Standalone.main ) Startup done in: 2641 ms > > [ERROR]:( org.red5.server.net.rtmpt.RTMPTServlet.handleSend ) > Could not > > process message. > > java.lang.NullPointerException > > at > > > org.red5.server.net.rtmpt.EdgeRTMPTHandler.sendConnectMessage(EdgeRTMPTHandler.java:181) > > at > > > org.red5.server.net.rtmpt.EdgeRTMPTHandler.handleConnect(EdgeRTMPTHandler.java:165) > > at > > > org.red5.server.net.rtmpt.EdgeRTMPTHandler.messageReceived(EdgeRTMPTHandler.java:58) > > at > > > org.red5.server.net.rtmpt.RTMPTServlet.handleSend(RTMPTServlet.java:355) > > at > > > org.red5.server.net.rtmpt.RTMPTServlet.service(RTMPTServlet.java:433) > > at > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > > at > > org.mortbay.jetty.servlet.ServletHolder.handle > (ServletHolder.java:491) > > at > > > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:367) > > at > > > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:689) > > > at > > > org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:146) > > at > > > org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java > :114) > > at > > > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) > > at org.mortbay.jetty.Server.handle(Server.java:285) > > at > > org.mortbay.jetty.HttpConnection.handleRequest > (HttpConnection.java:457) > > at > > > org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:765) > > at > org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:627) > > at > org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209) > > at > org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:357) > > at > > org.mortbay.io.nio.SelectChannelEndPoint.run( > SelectChannelEndPoint.java:329) > > at > > > org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) > > [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION > > java.nio.channels.CancelledKeyException > > at > sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:55) > > at > sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:69) > > at > > sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys > (KQueueSelectorImpl.java:105) > > at > > sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:74) > > at > sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69) > > at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80) > > at > > > org.mortbay.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:299) > > at > > org.mortbay.io.nio.SelectorManager.doSelect > (SelectorManager.java:73) > > at > > > org.mortbay.jetty.nio.SelectChannelConnector.accept(SelectChannelConnector.java:120) > > at > > > org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java > :498) > > at > > > org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) > > [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION > > java.nio.channels.CancelledKeyException > > at > sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:55) > > at > sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:69) > > at > > sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys > (KQueueSelectorImpl.java:105) > > at > > sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:74) > > at > sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69) > > at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80) > > at > > > org.mortbay.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:299) > > at > > org.mortbay.io.nio.SelectorManager.doSelect > (SelectorManager.java:73) > > at > > > org.mortbay.jetty.nio.SelectChannelConnector.accept(SelectChannelConnector.java:120) > > at > > > org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java > :498) > > at > > > org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) > > [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION > > java.nio.channels.CancelledKeyException > > at > sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:55) > > at > sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:69) > > at > > sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys > (KQueueSelectorImpl.java:105) > > at > > sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:74) > > at > sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69) > > at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80) > > at > > > org.mortbay.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:299) > > at > > org.mortbay.io.nio.SelectorManager.doSelect > (SelectorManager.java:73) > > at > > > org.mortbay.jetty.nio.SelectChannelConnector.accept(SelectChannelConnector.java:120) > > at > > > org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java > :498) > > at > > > org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) > > > > > > Steven Gong wrote: > > > >> Hi all, > >> I've checked in the prototype for Edge/Origin to the clustering > >> branch: > >> > http://svn1.cvsdude.com/osflash/red5/java/server/branches/clustering > >> < > http://svn1.cvsdude.com/osflash/red5/java/server/branches/clustering> > >> > >> I haven't integrated the Edge with Terracotta yet but will do > it soon. > >> Now you can play with it on two machines with one Origin server > and > >> one Edge server. (Of course, it should work for one Origin and > several > >> Edges. But I have never tried it. :-) ) The Edge server is > accessed by > >> RTMPT. The RTMP Edge support will be added after the > Edge/Origin with > >> Terracotta prototype is done. > >> > >> How to run the prototype inside Eclipse: > >> (1) Check out the code first. > >> (2) Start Origin server by running Standalone without arguments. > >> (3) Start Edge server by running Standalone with argument > "red5-edge.xml " > >> (4) Connect the Edge by RTMPT on port 8088. For example, > >> "rtmpt://localhost:8088/oflaDemo" > >> > >> The default setting of Edge is to connect Origin locally. You can > >> modify the "server" property of "mrtmpClient" bean in " > >> red5-edge-core.xml" to set the address of Origin server. > >> > >> I appreciate your feedbacks and suggestions for the prototype. > Enjoy!~~ > >> > >> -- > >> Best Regards > >> Steven Gong > >> > >> InfraRed5 Red5 Consultant: http://www.infrared5.com, > >> steven@... <mailto:steven@...> > <mailto:steven@... <mailto:steven@...>> > >> > >> Red5 Developer: http://osflash.org/red5, > >> http://jira.red5.org/confluence/display/~steven/Home > <http://jira.red5.org/confluence/display/%7Esteven/Home> > >> <http://jira.red5.org/confluence/display/%7Esteven/Home> > >> > >> Modesty is an overrated quality in men of no great > accomplishment. -- > >> Ricky Jay > >> > ------------------------------------------------------------------------ > >> > >> _______________________________________________ > >> Red5 mailing list > >> Red5@... <mailto:Red5@...> > >> http://osflash.org/mailman/listinfo/red5_osflash.org > >> > >> > > > > > > _______________________________________________ > > Red5 mailing list > > Red5@... <mailto:Red5@...> > > http://osflash.org/mailman/listinfo/red5_osflash.org > > > > > > > _______________________________________________ > Red5 mailing list > Red5@... <mailto:Red5@...> > http://osflash.org/mailman/listinfo/red5_osflash.org > > > > > -- > Best Regards > Steven Gong > > InfraRed5 Red5 Consultant: http://www.infrared5.com > <http://www.infrared5.com>, steven@... > <mailto:steven@...> > > Red5 Developer: http://osflash.org/red5, > http://jira.red5.org/confluence/display/~steven/Home > <http://jira.red5.org/confluence/display/%7Esteven/Home> > > Modesty is an overrated quality in men of no great accomplishment. -- > Ricky Jay > ------------------------------------------------------------------------ > > _______________________________________________ > Red5 mailing list > Red5@... > http://osflash.org/mailman/listinfo/red5_osflash.org > _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
|
|
Re: Exceptions - Edge/Origin prototype is on the clustering branchHang on, does the origin communicate back to the edge ? If so what ports
do i need to open at my lan router. Dan Rossi wrote: > Steven Gong wrote: > >> Yes, that is a limitation for the prototype now as I haven't done the >> intelligent connection management. You should make sure that the >> Origin is started up BEFORE you start up the Edge and also make sure >> the Edge can connect to Origin successfully. Anyway thanks for your >> information. >> > Its not connecting ? How can I work that out , the port is open. The > origin is up before the edge. > > >> On 8/23/07, *Dan Rossi* <spam@... >> <mailto:spam@...>> wrote: >> >> Sorry the origin server was firewalled its open now, i doubt it works >> set to localhost either, as I cant have both running. >> >> [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION >> java.nio.channels.CancelledKeyException >> at >> sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:55) >> at >> sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:69) >> at >> sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys >> (KQueueSelectorImpl.java:105) >> at >> sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:74) >> at >> sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69) >> at sun.nio.ch.SelectorImpl.select (SelectorImpl.java:80) >> at >> org.mortbay.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:299) >> at >> org.mortbay.io.nio.SelectorManager.doSelect(SelectorManager.java:73) >> at >> org.mortbay.jetty.nio.SelectChannelConnector.accept(SelectChannelConnector.java:120) >> at >> org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java:498) >> at >> org.mortbay.thread.BoundedThreadPool$PoolThread.run >> (BoundedThreadPool.java:475) >> [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION >> java.nio.channels.CancelledKeyException >> at >> sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:55) >> at sun.nio.ch.SelectionKeyImpl.readyOps >> (SelectionKeyImpl.java:69) >> at >> sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys(KQueueSelectorImpl.java:105) >> at >> sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:74) >> at sun.nio.ch.SelectorImpl.lockAndDoSelect >> (SelectorImpl.java:69) >> at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80) >> at >> org.mortbay.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:299) >> at >> org.mortbay.io.nio.SelectorManager.doSelect (SelectorManager.java:73) >> at >> org.mortbay.jetty.nio.SelectChannelConnector.accept(SelectChannelConnector.java:120) >> at >> org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java:498) >> >> at >> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) >> >> >> >> >> Dan Rossi wrote: >> > Tried a few combinations, including setting the origin host to >> > electroteque.org <http://electroteque.org> and localhost. I >> think there is a problem in the edge >> > config. >> > >> > Connecting with this private var serverURL:String = >> > "rtmpt://localhost:8088/oflaDemo/"; >> > >> > [INFO]:( org.red5.server.Standalone.main ) Startup done in: 2641 ms >> > [ERROR]:( org.red5.server.net.rtmpt.RTMPTServlet.handleSend ) >> Could not >> > process message. >> > java.lang.NullPointerException >> > at >> > >> org.red5.server.net.rtmpt.EdgeRTMPTHandler.sendConnectMessage(EdgeRTMPTHandler.java:181) >> > at >> > >> org.red5.server.net.rtmpt.EdgeRTMPTHandler.handleConnect(EdgeRTMPTHandler.java:165) >> > at >> > >> org.red5.server.net.rtmpt.EdgeRTMPTHandler.messageReceived(EdgeRTMPTHandler.java:58) >> > at >> > >> org.red5.server.net.rtmpt.RTMPTServlet.handleSend(RTMPTServlet.java:355) >> > at >> > >> org.red5.server.net.rtmpt.RTMPTServlet.service(RTMPTServlet.java:433) >> > at >> javax.servlet.http.HttpServlet.service(HttpServlet.java:803) >> > at >> > org.mortbay.jetty.servlet.ServletHolder.handle >> (ServletHolder.java:491) >> > at >> > >> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:367) >> > at >> > >> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:689) >> >> > at >> > >> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:146) >> > at >> > >> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java >> :114) >> > at >> > >> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) >> > at org.mortbay.jetty.Server.handle(Server.java:285) >> > at >> > org.mortbay.jetty.HttpConnection.handleRequest >> (HttpConnection.java:457) >> > at >> > >> org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:765) >> > at >> org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:627) >> > at >> org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209) >> > at >> org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:357) >> > at >> > org.mortbay.io.nio.SelectChannelEndPoint.run( >> SelectChannelEndPoint.java:329) >> > at >> > >> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) >> > [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION >> > java.nio.channels.CancelledKeyException >> > at >> sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:55) >> > at >> sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:69) >> > at >> > sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys >> (KQueueSelectorImpl.java:105) >> > at >> > sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:74) >> > at >> sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69) >> > at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80) >> > at >> > >> org.mortbay.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:299) >> > at >> > org.mortbay.io.nio.SelectorManager.doSelect >> (SelectorManager.java:73) >> > at >> > >> org.mortbay.jetty.nio.SelectChannelConnector.accept(SelectChannelConnector.java:120) >> > at >> > >> org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java >> :498) >> > at >> > >> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) >> > [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION >> > java.nio.channels.CancelledKeyException >> > at >> sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:55) >> > at >> sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:69) >> > at >> > sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys >> (KQueueSelectorImpl.java:105) >> > at >> > sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:74) >> > at >> sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69) >> > at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80) >> > at >> > >> org.mortbay.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:299) >> > at >> > org.mortbay.io.nio.SelectorManager.doSelect >> (SelectorManager.java:73) >> > at >> > >> org.mortbay.jetty.nio.SelectChannelConnector.accept(SelectChannelConnector.java:120) >> > at >> > >> org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java >> :498) >> > at >> > >> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) >> > [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION >> > java.nio.channels.CancelledKeyException >> > at >> sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:55) >> > at >> sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:69) >> > at >> > sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys >> (KQueueSelectorImpl.java:105) >> > at >> > sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:74) >> > at >> sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69) >> > at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80) >> > at >> > >> org.mortbay.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:299) >> > at >> > org.mortbay.io.nio.SelectorManager.doSelect >> (SelectorManager.java:73) >> > at >> > >> org.mortbay.jetty.nio.SelectChannelConnector.accept(SelectChannelConnector.java:120) >> > at >> > >> org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java >> :498) >> > at >> > >> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) >> > >> > >> > Steven Gong wrote: >> > >> >> Hi all, >> >> I've checked in the prototype for Edge/Origin to the clustering >> >> branch: >> >> >> http://svn1.cvsdude.com/osflash/red5/java/server/branches/clustering >> >> < >> http://svn1.cvsdude.com/osflash/red5/java/server/branches/clustering> >> >> >> >> I haven't integrated the Edge with Terracotta yet but will do >> it soon. >> >> Now you can play with it on two machines with one Origin server >> and >> >> one Edge server. (Of course, it should work for one Origin and >> several >> >> Edges. But I have never tried it. :-) ) The Edge server is >> accessed by >> >> RTMPT. The RTMP Edge support will be added after the >> Edge/Origin with >> >> Terracotta prototype is done. >> >> >> >> How to run the prototype inside Eclipse: >> >> (1) Check out the code first. >> >> (2) Start Origin server by running Standalone without arguments. >> >> (3) Start Edge server by running Standalone with argument >> "red5-edge.xml " >> >> (4) Connect the Edge by RTMPT on port 8088. For example, >> >> "rtmpt://localhost:8088/oflaDemo" >> >> >> >> The default setting of Edge is to connect Origin locally. You can >> >> modify the "server" property of "mrtmpClient" bean in " >> >> red5-edge-core.xml" to set the address of Origin server. >> >> >> >> I appreciate your feedbacks and suggestions for the prototype. >> Enjoy!~~ >> >> >> >> -- >> >> Best Regards >> >> Steven Gong >> >> >> >> InfraRed5 Red5 Consultant: http://www.infrared5.com, >> >> steven@... <mailto:steven@...> >> <mailto:steven@... <mailto:steven@...>> >> >> >> >> Red5 Developer: http://osflash.org/red5, >> >> http://jira.red5.org/confluence/display/~steven/Home >> <http://jira.red5.org/confluence/display/%7Esteven/Home> >> >> <http://jira.red5.org/confluence/display/%7Esteven/Home> >> >> >> >> Modesty is an overrated quality in men of no great >> accomplishment. -- >> >> Ricky Jay >> >> >> ------------------------------------------------------------------------ >> >> >> >> _______________________________________________ >> >> Red5 mailing list >> >> Red5@... <mailto:Red5@...> >> >> http://osflash.org/mailman/listinfo/red5_osflash.org >> >> >> >> >> > >> > >> > _______________________________________________ >> > Red5 mailing list >> > Red5@... <mailto:Red5@...> >> > http://osflash.org/mailman/listinfo/red5_osflash.org >> > >> > >> >> >> _______________________________________________ >> Red5 mailing list >> Red5@... <mailto:Red5@...> >> http://osflash.org/mailman/listinfo/red5_osflash.org >> >> >> >> >> -- >> Best Regards >> Steven Gong >> >> InfraRed5 Red5 Consultant: http://www.infrared5.com >> <http://www.infrared5.com>, steven@... >> <mailto:steven@...> >> >> Red5 Developer: http://osflash.org/red5, >> http://jira.red5.org/confluence/display/~steven/Home >> <http://jira.red5.org/confluence/display/%7Esteven/Home> >> >> Modesty is an overrated quality in men of no great accomplishment. -- >> Ricky Jay >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Red5 mailing list >> Red5@... >> http://osflash.org/mailman/listinfo/red5_osflash.org >> >> > > > _______________________________________________ > Red5 mailing list > Red5@... > http://osflash.org/mailman/listinfo/red5_osflash.org > > _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
|
|
Re: Exceptions - Edge/Origin prototype is on the clustering branchThe default port is at 9035 on Origin. You can configure the value in red5.properties.
On 8/23/07, Dan Rossi <spam@...> wrote: Hang on, does the origin communicate back to the edge ? If so what ports -- Best Regards Steven Gong InfraRed5 Red5 Consultant: http://www.infrared5.com , steven@... Red5 Developer: http://osflash.org/red5, http://jira.red5.org/confluence/display/~steven/Home Modesty is an overrated quality in men of no great accomplishment. -- Ricky Jay _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
|
|
Re: Exceptions - Edge/Origin prototype is on the clustering branchYes i opened up 9035. How am I able to check everything is working then
? Why would I be getting connection errors like below, would it be a problem with the origin connecting back to the edge machine ? The edge machine was on my machine so behind a router , what ports would i have to open up for that. Steven Gong wrote: > The default port is at 9035 on Origin. You can configure the value in > red5.properties. > > On 8/23/07, *Dan Rossi* < spam@... > <mailto:spam@...>> wrote: > > Hang on, does the origin communicate back to the edge ? If so what > ports > do i need to open at my lan router. > > Dan Rossi wrote: > > Steven Gong wrote: > > > >> Yes, that is a limitation for the prototype now as I haven't > done the > >> intelligent connection management. You should make sure that the > >> Origin is started up BEFORE you start up the Edge and also make > sure > >> the Edge can connect to Origin successfully. Anyway thanks for your > >> information. > >> > > Its not connecting ? How can I work that out , the port is open. > The > > origin is up before the edge. > > > > > >> On 8/23/07, *Dan Rossi* <spam@... > <mailto:spam@...> > >> <mailto: spam@... <mailto:spam@...>>> > wrote: > >> > >> Sorry the origin server was firewalled its open now, i > doubt it works > >> set to localhost either, as I cant have both running. > >> > >> [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION > >> java.nio.channels.CancelledKeyException > >> at > >> > sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java :55) > >> at > >> sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:69) > >> at > >> sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys > >> (KQueueSelectorImpl.java :105) > >> at > >> > sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:74) > >> at > >> sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69) > >> at sun.nio.ch.SelectorImpl.select > (SelectorImpl.java:80) > >> at > >> > org.mortbay.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:299) > >> at > >> > org.mortbay.io.nio.SelectorManager.doSelect(SelectorManager.java:73) > >> at > >> > org.mortbay.jetty.nio.SelectChannelConnector.accept(SelectChannelConnector.java:120) > >> at > >> > org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java:498) > >> at > >> org.mortbay.thread.BoundedThreadPool$PoolThread.run > >> (BoundedThreadPool.java :475) > >> [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION > >> java.nio.channels.CancelledKeyException > >> at > >> > sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java :55) > >> at sun.nio.ch.SelectionKeyImpl.readyOps > >> (SelectionKeyImpl.java:69) > >> at > >> > sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys(KQueueSelectorImpl.java > :105) > >> at > >> > sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:74) > >> at sun.nio.ch.SelectorImpl.lockAndDoSelect > >> (SelectorImpl.java:69) > >> at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80) > >> at > >> > org.mortbay.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:299) > >> at > >> org.mortbay.io.nio.SelectorManager.doSelect > (SelectorManager.java:73) > >> at > >> > org.mortbay.jetty.nio.SelectChannelConnector.accept(SelectChannelConnector.java:120) > >> at > >> > org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java:498) > >> > >> at > >> > org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java > :475) > >> > >> > >> > >> > >> Dan Rossi wrote: > >> > Tried a few combinations, including setting the origin > host to > >> > electroteque.org <http://electroteque.org> > <http://electroteque.org> and localhost. I > >> think there is a problem in the edge > >> > config. > >> > > >> > Connecting with this private var serverURL:String = > >> > "rtmpt://localhost:8088/oflaDemo/"; > >> > > >> > [INFO]:( org.red5.server.Standalone.main ) Startup done > in: 2641 ms > >> > [ERROR]:( org.red5.server.net.rtmpt.RTMPTServlet.handleSend ) > >> Could not > >> > process message. > >> > java.lang.NullPointerException > >> > at > >> > > >> > org.red5.server.net.rtmpt.EdgeRTMPTHandler.sendConnectMessage > (EdgeRTMPTHandler.java:181) > >> > at > >> > > >> > org.red5.server.net.rtmpt.EdgeRTMPTHandler.handleConnect(EdgeRTMPTHandler.java:165) > >> > at > >> > > >> > org.red5.server.net.rtmpt.EdgeRTMPTHandler.messageReceived(EdgeRTMPTHandler.java:58) > >> > at > >> > > >> org.red5.server.net.rtmpt.RTMPTServlet.handleSend( > RTMPTServlet.java:355) > >> > at > >> > > >> > org.red5.server.net.rtmpt.RTMPTServlet.service(RTMPTServlet.java:433) > >> > at > >> javax.servlet.http.HttpServlet.service (HttpServlet.java:803) > >> > at > >> > org.mortbay.jetty.servlet.ServletHolder.handle > >> (ServletHolder.java:491) > >> > at > >> > > >> > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:367) > >> > at > >> > > >> > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:689) > >> > >> > at > >> > > >> > org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:146) > >> > at > >> > > >> > org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java > >> :114) > >> > at > >> > > >> > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java > :139) > >> > at org.mortbay.jetty.Server.handle(Server.java:285) > >> > at > >> > org.mortbay.jetty.HttpConnection.handleRequest > >> (HttpConnection.java :457) > >> > at > >> > > >> > org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:765) > >> > at > >> org.mortbay.jetty.HttpParser.parseNext (HttpParser.java:627) > >> > at > >> > org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209) > >> > at > >> org.mortbay.jetty.HttpConnection.handle > (HttpConnection.java:357) > >> > at > >> > org.mortbay.io.nio.SelectChannelEndPoint.run( > >> SelectChannelEndPoint.java:329) > >> > at > >> > > >> > org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) > >> > [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION > >> > java.nio.channels.CancelledKeyException > >> > at > >> > sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:55) > >> > at > >> sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java :69) > >> > at > >> > sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys > >> (KQueueSelectorImpl.java:105) > >> > at > >> > sun.nio.ch.KQueueSelectorImpl.doSelect > (KQueueSelectorImpl.java:74) > >> > at > >> sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69) > >> > at > sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80) > >> > at > >> > > >> > org.mortbay.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:299) > >> > at > >> > org.mortbay.io.nio.SelectorManager.doSelect > >> (SelectorManager.java:73) > >> > at > >> > > >> > org.mortbay.jetty.nio.SelectChannelConnector.accept(SelectChannelConnector.java:120) > >> > at > >> > > >> > org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java > >> :498) > >> > at > >> > > >> org.mortbay.thread.BoundedThreadPool$PoolThread.run > (BoundedThreadPool.java:475) > >> > [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION > >> > java.nio.channels.CancelledKeyException > >> > at > >> sun.nio.ch.SelectionKeyImpl.ensureValid > (SelectionKeyImpl.java:55) > >> > at > >> sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:69) > >> > at > >> > sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys > >> (KQueueSelectorImpl.java:105) > >> > at > >> > > sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:74) > >> > at > >> sun.nio.ch.SelectorImpl.lockAndDoSelect (SelectorImpl.java:69) > >> > at > sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80) > >> > at > >> > > >> org.mortbay.io.nio.SelectorManager$SelectSet.doSelect > (SelectorManager.java:299) > >> > at > >> > org.mortbay.io.nio.SelectorManager.doSelect > >> (SelectorManager.java:73) > >> > at > >> > > >> > org.mortbay.jetty.nio.SelectChannelConnector.accept(SelectChannelConnector.java:120) > >> > at > >> > > >> > org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java > > >> :498) > >> > at > >> > > >> > org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) > >> > [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION > >> > java.nio.channels.CancelledKeyException > >> > at > >> > sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:55) > >> > at > >> sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:69) > >> > at > >> > sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys > >> (KQueueSelectorImpl.java:105) > >> > at > >> > > sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:74) > >> > at > >> sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java :69) > >> > at > sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80) > >> > at > >> > > >> > org.mortbay.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java > :299) > >> > at > >> > org.mortbay.io.nio.SelectorManager.doSelect > >> (SelectorManager.java:73) > >> > at > >> > > >> org.mortbay.jetty.nio.SelectChannelConnector.accept > (SelectChannelConnector.java:120) > >> > at > >> > > >> > org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java > >> :498) > >> > at > >> > > >> > org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) > >> > > >> > > >> > Steven Gong wrote: > >> > > >> >> Hi all, > >> >> I've checked in the prototype for Edge/Origin to the > clustering > >> >> branch: > >> >> > >> > http://svn1.cvsdude.com/osflash/red5/java/server/branches/clustering > >> >> < > >> > http://svn1.cvsdude.com/osflash/red5/java/server/branches/clustering > <http://svn1.cvsdude.com/osflash/red5/java/server/branches/clustering>> > >> >> > >> >> I haven't integrated the Edge with Terracotta yet but > will do > >> it soon. > >> >> Now you can play with it on two machines with one Origin > server > >> and > >> >> one Edge server. (Of course, it should work for one > Origin and > >> several > >> >> Edges. But I have never tried it. :-) ) The Edge server is > >> accessed by > >> >> RTMPT. The RTMP Edge support will be added after the > >> Edge/Origin with > >> >> Terracotta prototype is done. > >> >> > >> >> How to run the prototype inside Eclipse: > >> >> (1) Check out the code first. > >> >> (2) Start Origin server by running Standalone without > arguments. > >> >> (3) Start Edge server by running Standalone with argument > >> "red5-edge.xml " > >> >> (4) Connect the Edge by RTMPT on port 8088. For example, > >> >> "rtmpt://localhost:8088/oflaDemo" > >> >> > >> >> The default setting of Edge is to connect Origin > locally. You can > >> >> modify the "server" property of "mrtmpClient" bean in " > >> >> red5-edge-core.xml " to set the address of Origin server. > >> >> > >> >> I appreciate your feedbacks and suggestions for the > prototype. > >> Enjoy!~~ > >> >> > >> >> -- > >> >> Best Regards > >> >> Steven Gong > >> >> > >> >> InfraRed5 Red5 Consultant: http://www.infrared5.com, > >> >> steven@... <mailto:steven@...> > <mailto:steven@... <mailto:steven@...>> > >> <mailto: steven@... <mailto:steven@...> > <mailto:steven@... <mailto:steven@...>>> > >> >> > >> >> Red5 Developer: http://osflash.org/red5 > <http://osflash.org/red5>, > >> >> http://jira.red5.org/confluence/display/~steven/Home > <http://jira.red5.org/confluence/display/%7Esteven/Home> > >> < http://jira.red5.org/confluence/display/%7Esteven/Home> > >> >> <http://jira.red5.org/confluence/display/%7Esteven/Home> > >> >> > >> >> Modesty is an overrated quality in men of no great > >> accomplishment. -- > >> >> Ricky Jay > >> >> > >> > ------------------------------------------------------------------------ > > >> >> > >> >> _______________________________________________ > >> >> Red5 mailing list > >> >> Red5@... <mailto:Red5@...> > <mailto:Red5@... <mailto:Red5@...>> > >> >> http://osflash.org/mailman/listinfo/red5_osflash.org > >> >> > >> >> > >> > > >> > > >> > _______________________________________________ > >> > Red5 mailing list > >> > Red5@... <mailto:Red5@...> > <mailto:Red5@... <mailto:Red5@...>> > >> > http://osflash.org/mailman/listinfo/red5_osflash.org > <http://osflash.org/mailman/listinfo/red5_osflash.org> > >> > > >> > > >> > >> > >> _______________________________________________ > >> Red5 mailing list > >> Red5@... <mailto:Red5@...> > <mailto:Red5@... <mailto:Red5@...>> > >> http://osflash.org/mailman/listinfo/red5_osflash.org > >> > >> > >> > >> > >> -- > >> Best Regards > >> Steven Gong > >> > >> InfraRed5 Red5 Consultant: http://www.infrared5.com > >> < http://www.infrared5.com>, steven@... > <mailto:steven@...> > >> <mailto:steven@... <mailto:steven@...>> > >> > >> Red5 Developer: http://osflash.org/red5, > >> http://jira.red5.org/confluence/display/~steven/Home > <http://jira.red5.org/confluence/display/%7Esteven/Home> > >> <http://jira.red5.org/confluence/display/%7Esteven/Home> > >> > >> Modesty is an overrated quality in men of no great > accomplishment. -- > >> Ricky Jay > >> > ------------------------------------------------------------------------ > >> > >> _______________________________________________ > >> Red5 mailing list > >> Red5@... <mailto:Red5@...> > >> http://osflash.org/mailman/listinfo/red5_osflash.org > >> > >> > > > > > > _______________________________________________ > > Red5 mailing list > > Red5@... <mailto:Red5@...> > > http://osflash.org/mailman/listinfo/red5_osflash.org > > > > > > > _______________________________________________ > Red5 mailing list > Red5@... <mailto:Red5@...> > http://osflash.org/mailman/listinfo/red5_osflash.org > > > > > -- > Best Regards > Steven Gong > > InfraRed5 Red5 Consultant: http://www.infrared5.com > <http://www.infrared5.com>, steven@... > <mailto:steven@...> > > Red5 Developer: http://osflash.org/red5, > http://jira.red5.org/confluence/display/~steven/Home > <http://jira.red5.org/confluence/display/%7Esteven/Home> > > Modesty is an overrated quality in men of no great accomplishment. -- > Ricky Jay > ------------------------------------------------------------------------ > > _______________________________________________ > Red5 mailing list > Red5@... > http://osflash.org/mailman/listinfo/red5_osflash.org > _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
|
|
Re: Exceptions - Edge/Origin prototype is on the clustering branchEdge connects to Origin via 9035 and no other TCP link is used as TCP is duplexed. Maybe you can turn on the DEBUG log for mrtmp package. Take a look at the configuration in log4j.properties and make changes if necessary.
On 8/24/07, Dan Rossi <spam@...> wrote: Yes i opened up 9035. How am I able to check everything is working then -- Best Regards Steven Gong InfraRed5 Red5 Consultant: http://www.infrared5.com , steven@... Red5 Developer: http://osflash.org/red5, http://jira.red5.org/confluence/display/~steven/Home Modesty is an overrated quality in men of no great accomplishment. -- Ricky Jay _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
|
|
Re: Exceptions - Edge/Origin prototype is on the clustering branchSteve I set the log level to INFO and still nothing
here is the connection url rtmpt://localhost:8088/oflaDemo I get no log happening at all in the console. here is what the red5.sh looks like exec $JAVA -Djava.security.manager -Djava.security.policy=conf/red5.policy -cp red5.jar:conf:$CLASSPATH org.red5.server.Standalone conf/red5-edge.xml Steven Gong wrote: > Edge connects to Origin via 9035 and no other TCP link is used as TCP > is duplexed. Maybe you can turn on the DEBUG log for mrtmp package. > Take a look at the configuration in log4j.properties and make changes > if necessary. > > On 8/24/07, *Dan Rossi* <spam@... > <mailto:spam@...>> wrote: > > Yes i opened up 9035. How am I able to check everything is working > then > ? Why would I be getting connection errors like below, would it be a > problem with the origin connecting back to the edge machine ? The > edge > machine was on my machine so behind a router , what ports would i have > to open up for that. > > Steven Gong wrote: > > The default port is at 9035 on Origin. You can configure the > value in > > red5.properties . > > > > On 8/23/07, *Dan Rossi* < spam@... > <mailto:spam@...> > > <mailto:spam@... <mailto:spam@...>>> > wrote: > > > > Hang on, does the origin communicate back to the edge ? If > so what > > ports > > do i need to open at my lan router. > > > > Dan Rossi wrote: > > > Steven Gong wrote: > > > > > >> Yes, that is a limitation for the prototype now as I haven't > > done the > > >> intelligent connection management. You should make sure > that the > > >> Origin is started up BEFORE you start up the Edge and > also make > > sure > > >> the Edge can connect to Origin successfully. Anyway > thanks for your > > >> information. > > >> > > > Its not connecting ? How can I work that out , the port is > open. > > The > > > origin is up before the edge. > > > > > > > > >> On 8/23/07, *Dan Rossi* <spam@... > <mailto:spam@...> > > <mailto: spam@... <mailto:spam@...>> > > >> <mailto: spam@... > <mailto:spam@...> <mailto:spam@... > <mailto:spam@...>>>> > > wrote: > > >> > > >> Sorry the origin server was firewalled its open now, i > > doubt it works > > >> set to localhost either, as I cant have both running. > > >> > > >> [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION > > >> java.nio.channels.CancelledKeyException > > >> at > > >> > > > sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java :55) > > >> at > > >> > sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:69) > > >> at > > >> sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys > > >> (KQueueSelectorImpl.java :105) > > >> at > > >> > > sun.nio.ch.KQueueSelectorImpl.doSelect > (KQueueSelectorImpl.java:74) > > >> at > > >> > sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69) > > >> at sun.nio.ch.SelectorImpl.select > > (SelectorImpl.java:80) > > >> at > > >> > > > org.mortbay.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:299) > > >> at > > >> > > > org.mortbay.io.nio.SelectorManager.doSelect(SelectorManager.java:73) > > >> at > > >> > > > org.mortbay.jetty.nio.SelectChannelConnector.accept(SelectChannelConnector.java > :120) > > >> at > > >> > > > org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java:498) > > >> at > > >> org.mortbay.thread.BoundedThreadPool$PoolThread.run > > >> (BoundedThreadPool.java :475) > > >> [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION > > >> java.nio.channels.CancelledKeyException > > >> at > > >> > > > sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java :55) > > >> at sun.nio.ch.SelectionKeyImpl.readyOps > > >> (SelectionKeyImpl.java :69) > > >> at > > >> > > > sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys(KQueueSelectorImpl.java > > :105) > > >> at > > >> > > > sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:74) > > >> at sun.nio.ch.SelectorImpl.lockAndDoSelect > > >> (SelectorImpl.java:69) > > >> at > sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80) > > >> at > > >> > > > org.mortbay.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:299) > > >> at > > >> org.mortbay.io.nio.SelectorManager.doSelect > > (SelectorManager.java:73) > > >> at > > >> > > org.mortbay.jetty.nio.SelectChannelConnector.accept > (SelectChannelConnector.java:120) > > >> at > > >> > > > org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java:498) > > >> > > >> at > > >> > > > org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java > > :475) > > >> > > >> > > >> > > >> > > >> Dan Rossi wrote: > > >> > Tried a few combinations, including setting the origin > > host to > > >> > electroteque.org <http://electroteque.org> < > http://electroteque.org> > > <http://electroteque.org> and localhost. I > > >> think there is a problem in the edge > > >> > config. > > >> > > > >> > Connecting with this private var serverURL:String = > > >> > "rtmpt://localhost:8088/oflaDemo/"; > > >> > > > >> > [INFO]:( org.red5.server.Standalone.main ) Startup done > > in: 2641 ms > > >> > [ERROR]:( > org.red5.server.net.rtmpt.RTMPTServlet.handleSend ) > > >> Could not > > >> > process message. > > >> > java.lang.NullPointerException > > >> > at > > >> > > > >> > > org.red5.server.net.rtmpt.EdgeRTMPTHandler.sendConnectMessage > > (EdgeRTMPTHandler.java:181) > > >> > at > > >> > > > >> > > > org.red5.server.net.rtmpt.EdgeRTMPTHandler.handleConnect(EdgeRTMPTHandler.java > :165) > > >> > at > > >> > > > >> > > > org.red5.server.net.rtmpt.EdgeRTMPTHandler.messageReceived(EdgeRTMPTHandler.java:58) > > >> > at > > >> > > > >> org.red5.server.net.rtmpt.RTMPTServlet.handleSend( > > RTMPTServlet.java:355) > > >> > at > > >> > > > >> > > > org.red5.server.net.rtmpt.RTMPTServlet.service(RTMPTServlet.java:433) > > >> > at > > >> javax.servlet.http.HttpServlet.service > (HttpServlet.java:803) > > >> > at > > >> > org.mortbay.jetty.servlet.ServletHolder.handle > > >> (ServletHolder.java:491) > > >> > at > > >> > > > >> > > > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:367) > > >> > at > > >> > > > >> > > org.mortbay.jetty.handler.ContextHandler.handle > (ContextHandler.java:689) > > >> > > >> > at > > >> > > > >> > > > org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java > :146) > > >> > at > > >> > > > >> > > > org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java > > >> :114) > > >> > at > > >> > > > >> > > > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java > > :139) > > >> > at org.mortbay.jetty.Server.handle > (Server.java:285) > > >> > at > > >> > org.mortbay.jetty.HttpConnection.handleRequest > > >> (HttpConnection.java :457) > > >> > at > > >> > > > >> > > > org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:765) > > >> > at > > >> org.mortbay.jetty.HttpParser.parseNext > (HttpParser.java:627) > > >> > at > > >> > > org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209) > > >> > at > > >> org.mortbay.jetty.HttpConnection.handle > > (HttpConnection.java:357) > > >> > at > > >> > org.mortbay.io.nio.SelectChannelEndPoint.run( > > >> SelectChannelEndPoint.java :329) > > >> > at > > >> > > > >> > > > org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) > > >> > [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION > > >> > java.nio.channels.CancelledKeyException > > >> > at > > >> > > > sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java :55) > > >> > at > > >> > sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java :69) > > >> > at > > >> > sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys > > >> (KQueueSelectorImpl.java:105) > > >> > at > > >> > sun.nio.ch.KQueueSelectorImpl.doSelect > > (KQueueSelectorImpl.java:74) > > >> > at > > >> > sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69) > > >> > at > > sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80) > > >> > at > > >> > > > >> > > > org.mortbay.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:299) > > >> > at > > >> > org.mortbay.io.nio.SelectorManager.doSelect > > >> (SelectorManager.java:73) > > >> > at > > >> > > > >> > > > org.mortbay.jetty.nio.SelectChannelConnector.accept(SelectChannelConnector.java > :120) > > >> > at > > >> > > > >> > > > org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java > > >> :498) > > >> > at > > >> > > > >> org.mortbay.thread.BoundedThreadPool$PoolThread.run > > (BoundedThreadPool.java:475) > > >> > [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION > > >> > java.nio.channels.CancelledKeyException > > >> > at > > >> sun.nio.ch.SelectionKeyImpl.ensureValid > > (SelectionKeyImpl.java:55) > > >> > at > > >> > sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:69) > > >> > at > > >> > sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys > > >> ( KQueueSelectorImpl.java:105) > > >> > at > > >> > > > > sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:74) > > >> > at > > >> sun.nio.ch.SelectorImpl.lockAndDoSelect > (SelectorImpl.java:69) > > >> > at > > sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80) > > >> > at > > >> > > > >> org.mortbay.io.nio.SelectorManager$SelectSet.doSelect > > (SelectorManager.java:299) > > >> > at > > >> > org.mortbay.io.nio.SelectorManager.doSelect > > >> (SelectorManager.java:73) > > >> > at > > >> > > > >> > > > org.mortbay.jetty.nio.SelectChannelConnector.accept(SelectChannelConnector.java > :120) > > >> > at > > >> > > > >> > > > org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java > > > > >> :498) > > >> > at > > >> > > > >> > > > org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) > > >> > [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION > > >> > java.nio.channels.CancelledKeyException > > >> > at > > >> > > > sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java :55) > > >> > at > > >> > sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:69) > > >> > at > > >> > sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys > > >> (KQueueSelectorImpl.java:105) > > >> > at > > >> > > > > sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:74) > > >> > at > > >> > sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java :69) > > >> > at > > sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80) > > >> > at > > >> > > > >> > > > org.mortbay.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java > > :299) > > >> > at > > >> > org.mortbay.io.nio.SelectorManager.doSelect > > >> (SelectorManager.java:73) > > >> > at > > >> > > > >> org.mortbay.jetty.nio.SelectChannelConnector.accept > > (SelectChannelConnector.java:120) > > >> > at > > >> > > > >> > > > org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java > > > >> :498) > > >> > at > > >> > > > >> > > > org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) > > >> > > > >> > > > >> > Steven Gong wrote: > > >> > > > >> >> Hi all, > > >> >> I've checked in the prototype for Edge/Origin to the > > clustering > > >> >> branch: > > >> >> > > >> > > > http://svn1.cvsdude.com/osflash/red5/java/server/branches/clustering > <http://svn1.cvsdude.com/osflash/red5/java/server/branches/clustering> > > >> >> < > > >> > > > http://svn1.cvsdude.com/osflash/red5/java/server/branches/clustering > <http://svn1.cvsdude.com/osflash/red5/java/server/branches/clustering> > > > <http://svn1.cvsdude.com/osflash/red5/java/server/branches/clustering>> > > >> >> > > >> >> I haven't integrated the Edge with Terracotta yet but > > will do > > >> it soon. > > >> >> Now you can play with it on two machines with one > Origin > > server > > >> and > > >> >> one Edge server. (Of course, it should work for one > > Origin and > > >> several > > >> >> Edges. But I have never tried it. :-) ) The Edge > server is > > >> accessed by > > >> >> RTMPT. The RTMP Edge support will be added after the > > >> Edge/Origin with > > >> >> Terracotta prototype is done. > > >> >> > > >> >> How to run the prototype inside Eclipse: > > >> >> (1) Check out the code first. > > >> >> (2) Start Origin server by running Standalone without > > arguments. > > >> >> (3) Start Edge server by running Standalone with > argument > > >> " red5-edge.xml " > > >> >> (4) Connect the Edge by RTMPT on port 8088. For > example, > > >> >> "rtmpt://localhost:8088/oflaDemo" > > >> >> > > >> >> The default setting of Edge is to connect Origin > > locally. You can > > >> >> modify the "server" property of "mrtmpClient" bean > in " > > >> >> red5-edge-core.xml " to set the address of Origin > server. > > >> >> > > >> >> I appreciate your feedbacks and suggestions for the > > prototype. > > >> Enjoy!~~ > > >> >> > > >> >> -- > > >> >> Best Regards > > >> >> Steven Gong > > >> >> > > >> >> InfraRed5 Red5 Consultant: http://www.infrared5.com, > > >> >> steven@... <mailto:steven@...> > <mailto:steven@... <mailto:steven@...>> > > <mailto:steven@... <mailto:steven@...> > <mailto: steven@... <mailto:steven@...>>> > > >> <mailto: steven@... > <mailto:steven@...> <mailto:steven@... > <mailto:steven@...>> > > <mailto: steven@... <mailto:steven@...> > <mailto:steven@... <mailto:steven@...>>>> > > >> >> > > >> >> Red5 Developer: http://osflash.org/red5 > > <http://osflash.org/red5>, > > >> >> > http://jira.red5.org/confluence/display/~steven/Home > <http://jira.red5.org/confluence/display/%7Esteven/Home> > > <http://jira.red5.org/confluence/display/%7Esteven/Home> > > >> < http://jira.red5.org/confluence/display/%7Esteven/Home> > > >> >> < > http://jira.red5.org/confluence/display/%7Esteven/Home> > > >> >> > > >> >> Modesty is an overrated quality in men of no great > > >> accomplishment. -- > > >> >> Ricky Jay > > >> >> > > >> > > > ------------------------------------------------------------------------ > > > > >> >> > > >> >> _______________________________________________ > > >> >> Red5 mailing list > > >> >> Red5@... <mailto:Red5@...> > <mailto:Red5@... <mailto:Red5@...>> > > <mailto:Red5@... <mailto:Red5@...> > <mailto:Red5@... <mailto:Red5@...>>> > > >> >> http://osflash.org/mailman/listinfo/red5_osflash.org > > >> >> > > >> >> > > >> > > > >> > > > >> > _______________________________________________ > > >> > Red5 mailing list > > >> > Red5@... <mailto:Red5@...> > <mailto:Red5@... <mailto:Red5@...>> > > <mailto:Red5@... <mailto:Red5@...> > <mailto:Red5@... <mailto:Red5@...>>> > > >> > http://osflash.org/mailman/listinfo/red5_osflash.org > > < http://osflash.org/mailman/listinfo/red5_osflash.org> > > >> > > > >> > > > >> > > >> > > >> _______________________________________________ > > >> Red5 mailing list > > >> Red5@... <mailto:Red5@...> > <mailto:Red5@... <mailto:Red5@...>> > > <mailto: Red5@... <mailto:Red5@...> > <mailto:Red5@... <mailto:Red5@...>>> > > >> http://osflash.org/mailman/listinfo/red5_osflash.org > <http://osflash.org/mailman/listinfo/red5_osflash.org> > > >> > > >> > > >> > > >> > > >> -- > > >> Best Regards > > >> Steven Gong > > >> > > >> InfraRed5 Red5 Consultant: http://www.infrared5.com > > >> < http://www.infrared5.com>, steven@... > <mailto:steven@...> > > <mailto:steven@... <mailto:steven@...>> > > >> <mailto:steven@... > <mailto:steven@...> <mailto: steven@... > <mailto:steven@...>>> > > >> > > >> Red5 Developer: http://osflash.org/red5, > > >> http://jira.red5.org/confluence/display/~steven/Home > <http://jira.red5.org/confluence/display/%7Esteven/Home> > > <http://jira.red5.org/confluence/display/%7Esteven/Home> > > >> < http://jira.red5.org/confluence/display/%7Esteven/Home> > > >> > > >> Modesty is an overrated quality in men of no great > > accomplishment. -- > > >> Ricky Jay > > >> > > > ------------------------------------------------------------------------ > > >> > > >> _______________________________________________ > > >> Red5 mailing list > > >> Red5@... <mailto:Red5@...> > <mailto:Red5@... <mailto:Red5@...>> > > >> http://osflash.org/mailman/listinfo/red5_osflash.org > > >> > > >> > > > > > > > > > _______________________________________________ > > > Red5 mailing list > > > Red5@... <mailto:Red5@...> > <mailto:Red5@... <mailto:Red5@...>> > > > http://osflash.org/mailman/listinfo/red5_osflash.org > > > > > > > > > > > > _______________________________________________ > > Red5 mailing list > > Red5@... <mailto:Red5@...> > <mailto:Red5@... <mailto:Red5@...>> > > http://osflash.org/mailman/listinfo/red5_osflash.org > > > > > > > > > > -- > > Best Regards > > Steven Gong > > > > InfraRed5 Red5 Consultant: http://www.infrared5.com > > < http://www.infrared5.com>, steven@... > <mailto:steven@...> > > <mailto:steven@... <mailto:steven@...>> > > > > Red5 Developer: http://osflash.org/red5, > > http://jira.red5.org/confluence/display/~steven/Home > <http://jira.red5.org/confluence/display/%7Esteven/Home> > > < http://jira.red5.org/confluence/display/%7Esteven/Home> > > > > Modesty is an overrated quality in men of no great > accomplishment. -- > > Ricky Jay > > > ------------------------------------------------------------------------ > > > > > _______________________________________________ > > Red5 mailing list > > Red5@... <mailto:Red5@...> > > http://osflash.org/mailman/listinfo/red5_osflash.org > > > > > _______________________________________________ > Red5 mailing list > Red5@... <mailto:Red5@...> > http://osflash.org/mailman/listinfo/red5_osflash.org > > > > > -- > Best Regards > Steven Gong > > InfraRed5 Red5 Consultant: http://www.infrared5.com > <http://www.infrared5.com>, steven@... > <mailto:steven@...> > > Red5 Developer: http://osflash.org/red5, > http://jira.red5.org/confluence/display/~steven/Home > <http://jira.red5.org/confluence/display/%7Esteven/Home> > > Modesty is an overrated quality in men of no great accomplishment. -- > Ricky Jay > ------------------------------------------------------------------------ > > _______________________________________________ > Red5 mailing list > Red5@... > http://osflash.org/mailman/listinfo/red5_osflash.org > _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
|
|
Re: Exceptions - Edge/Origin prototype is on the clustering branchHi, it seems after an update on the cluster branch it now works !
I have to check the logs on both servers to see whats happening though. Dan Rossi wrote: > Steve I set the log level to INFO and still nothing > > here is the connection url > > rtmpt://localhost:8088/oflaDemo > > I get no log happening at all in the console. here is what the red5.sh > looks like > > exec $JAVA -Djava.security.manager > -Djava.security.policy=conf/red5.policy -cp red5.jar:conf:$CLASSPATH > org.red5.server.Standalone conf/red5-edge.xml > > > Steven Gong wrote: > >> Edge connects to Origin via 9035 and no other TCP link is used as TCP >> is duplexed. Maybe you can turn on the DEBUG log for mrtmp package. >> Take a look at the configuration in log4j.properties and make changes >> if necessary. >> >> On 8/24/07, *Dan Rossi* <spam@... >> <mailto:spam@...>> wrote: >> >> Yes i opened up 9035. How am I able to check everything is working >> then >> ? Why would I be getting connection errors like below, would it be a >> problem with the origin connecting back to the edge machine ? The >> edge >> machine was on my machine so behind a router , what ports would i have >> to open up for that. >> >> Steven Gong wrote: >> > The default port is at 9035 on Origin. You can configure the >> value in >> > red5.properties . >> > >> > On 8/23/07, *Dan Rossi* < spam@... >> <mailto:spam@...> >> > <mailto:spam@... <mailto:spam@...>>> >> wrote: >> > >> > Hang on, does the origin communicate back to the edge ? If >> so what >> > ports >> > do i need to open at my lan router. >> > >> > Dan Rossi wrote: >> > > Steven Gong wrote: >> > > >> > >> Yes, that is a limitation for the prototype now as I haven't >> > done the >> > >> intelligent connection management. You should make sure >> that the >> > >> Origin is started up BEFORE you start up the Edge and >> also make >> > sure >> > >> the Edge can connect to Origin successfully. Anyway >> thanks for your >> > >> information. >> > >> >> > > Its not connecting ? How can I work that out , the port is >> open. >> > The >> > > origin is up before the edge. >> > > >> > > >> > >> On 8/23/07, *Dan Rossi* <spam@... >> <mailto:spam@...> >> > <mailto: spam@... <mailto:spam@...>> >> > >> <mailto: spam@... >> <mailto:spam@...> <mailto:spam@... >> <mailto:spam@...>>>> >> > wrote: >> > >> >> > >> Sorry the origin server was firewalled its open now, i >> > doubt it works >> > >> set to localhost either, as I cant have both running. >> > >> >> > >> [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION >> > >> java.nio.channels.CancelledKeyException >> > >> at >> > >> >> > >> sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java :55) >> > >> at >> > >> >> sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:69) >> > >> at >> > >> sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys >> > >> (KQueueSelectorImpl.java :105) >> > >> at >> > >> >> > sun.nio.ch.KQueueSelectorImpl.doSelect >> (KQueueSelectorImpl.java:74) >> > >> at >> > >> >> sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69) >> > >> at sun.nio.ch.SelectorImpl.select >> > (SelectorImpl.java:80) >> > >> at >> > >> >> > >> org.mortbay.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:299) >> > >> at >> > >> >> > >> org.mortbay.io.nio.SelectorManager.doSelect(SelectorManager.java:73) >> > >> at >> > >> >> > >> org.mortbay.jetty.nio.SelectChannelConnector.accept(SelectChannelConnector.java >> :120) >> > >> at >> > >> >> > >> org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java:498) >> > >> at >> > >> org.mortbay.thread.BoundedThreadPool$PoolThread.run >> > >> (BoundedThreadPool.java :475) >> > >> [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION >> > >> java.nio.channels.CancelledKeyException >> > >> at >> > >> >> > >> sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java :55) >> > >> at sun.nio.ch.SelectionKeyImpl.readyOps >> > >> (SelectionKeyImpl.java :69) >> > >> at >> > >> >> > >> sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys(KQueueSelectorImpl.java >> > :105) >> > >> at >> > >> >> > >> sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:74) >> > >> at sun.nio.ch.SelectorImpl.lockAndDoSelect >> > >> (SelectorImpl.java:69) >> > >> at >> sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80) >> > >> at >> > >> >> > >> org.mortbay.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:299) >> > >> at >> > >> org.mortbay.io.nio.SelectorManager.doSelect >> > (SelectorManager.java:73) >> > >> at >> > >> >> > org.mortbay.jetty.nio.SelectChannelConnector.accept >> (SelectChannelConnector.java:120) >> > >> at >> > >> >> > >> org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java:498) >> > >> >> > >> at >> > >> >> > >> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java >> > :475) >> > >> >> > >> >> > >> >> > >> >> > >> Dan Rossi wrote: >> > >> > Tried a few combinations, including setting the origin >> > host to >> > >> > electroteque.org <http://electroteque.org> < >> http://electroteque.org> >> > <http://electroteque.org> and localhost. I >> > >> think there is a problem in the edge >> > >> > config. >> > >> > >> > >> > Connecting with this private var serverURL:String = >> > >> > "rtmpt://localhost:8088/oflaDemo/"; >> > >> > >> > >> > [INFO]:( org.red5.server.Standalone.main ) Startup done >> > in: 2641 ms >> > >> > [ERROR]:( >> org.red5.server.net.rtmpt.RTMPTServlet.handleSend ) >> > >> Could not >> > >> > process message. >> > >> > java.lang.NullPointerException >> > >> > at >> > >> > >> > >> >> > org.red5.server.net.rtmpt.EdgeRTMPTHandler.sendConnectMessage >> > (EdgeRTMPTHandler.java:181) >> > >> > at >> > >> > >> > >> >> > >> org.red5.server.net.rtmpt.EdgeRTMPTHandler.handleConnect(EdgeRTMPTHandler.java >> :165) >> > >> > at >> > >> > >> > >> >> > >> org.red5.server.net.rtmpt.EdgeRTMPTHandler.messageReceived(EdgeRTMPTHandler.java:58) >> > >> > at >> > >> > >> > >> org.red5.server.net.rtmpt.RTMPTServlet.handleSend( >> > RTMPTServlet.java:355) >> > >> > at >> > >> > >> > >> >> > >> org.red5.server.net.rtmpt.RTMPTServlet.service(RTMPTServlet.java:433) >> > >> > at >> > >> javax.servlet.http.HttpServlet.service >> (HttpServlet.java:803) >> > >> > at >> > >> > org.mortbay.jetty.servlet.ServletHolder.handle >> > >> (ServletHolder.java:491) >> > >> > at >> > >> > >> > >> >> > >> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:367) >> > >> > at >> > >> > >> > >> >> > org.mortbay.jetty.handler.ContextHandler.handle >> (ContextHandler.java:689) >> > >> >> > >> > at >> > >> > >> > >> >> > >> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java >> :146) >> > >> > at >> > >> > >> > >> >> > >> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java >> > >> :114) >> > >> > at >> > >> > >> > >> >> > >> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java >> > :139) >> > >> > at org.mortbay.jetty.Server.handle >> (Server.java:285) >> > >> > at >> > >> > org.mortbay.jetty.HttpConnection.handleRequest >> > >> (HttpConnection.java :457) >> > >> > at >> > >> > >> > >> >> > >> org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:765) >> > >> > at >> > >> org.mortbay.jetty.HttpParser.parseNext >> (HttpParser.java:627) >> > >> > at >> > >> >> > org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209) >> > >> > at >> > >> org.mortbay.jetty.HttpConnection.handle >> > (HttpConnection.java:357) >> > >> > at >> > >> > org.mortbay.io.nio.SelectChannelEndPoint.run( >> > >> SelectChannelEndPoint.java :329) >> > >> > at >> > >> > >> > >> >> > >> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) >> > >> > [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION >> > >> > java.nio.channels.CancelledKeyException >> > >> > at >> > >> >> > >> sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java :55) >> > >> > at >> > >> >> sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java :69) >> > >> > at >> > >> > sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys >> > >> (KQueueSelectorImpl.java:105) >> > >> > at >> > >> > sun.nio.ch.KQueueSelectorImpl.doSelect >> > (KQueueSelectorImpl.java:74) >> > >> > at >> > >> >> sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69) >> > >> > at >> > sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80) >> > >> > at >> > >> > >> > >> >> > >> org.mortbay.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:299) >> > >> > at >> > >> > org.mortbay.io.nio.SelectorManager.doSelect >> > >> (SelectorManager.java:73) >> > >> > at >> > >> > >> > >> >> > >> org.mortbay.jetty.nio.SelectChannelConnector.accept(SelectChannelConnector.java >> :120) >> > >> > at >> > >> > >> > >> >> > >> org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java >> > >> :498) >> > >> > at >> > >> > >> > >> org.mortbay.thread.BoundedThreadPool$PoolThread.run >> > (BoundedThreadPool.java:475) >> > >> > [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION >> > >> > java.nio.channels.CancelledKeyException >> > >> > at >> > >> sun.nio.ch.SelectionKeyImpl.ensureValid >> > (SelectionKeyImpl.java:55) >> > >> > at >> > >> >> sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:69) >> > >> > at >> > >> > sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys >> > >> ( KQueueSelectorImpl.java:105) >> > >> > at >> > >> > >> > >> sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:74) >> > >> > at >> > >> sun.nio.ch.SelectorImpl.lockAndDoSelect >> (SelectorImpl.java:69) >> > >> > at >> > sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80) >> > >> > at >> > >> > >> > >> org.mortbay.io.nio.SelectorManager$SelectSet.doSelect >> > (SelectorManager.java:299) >> > >> > at >> > >> > org.mortbay.io.nio.SelectorManager.doSelect >> > >> (SelectorManager.java:73) >> > >> > at >> > >> > >> > >> >> > >> org.mortbay.jetty.nio.SelectChannelConnector.accept(SelectChannelConnector.java >> :120) >> > >> > at >> > >> > >> > >> >> > >> org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java >> > >> > >> :498) >> > >> > at >> > >> > >> > >> >> > >> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) >> > >> > [ERROR]:( org.mortbay.log.invoke0 ) EXCEPTION >> > >> > java.nio.channels.CancelledKeyException >> > >> > at >> > >> >> > >> sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java :55) >> > >> > at >> > >> >> sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:69) >> > >> > at >> > >> > sun.nio.ch.KQueueSelectorImpl.updateSelectedKeys >> > >> (KQueueSelectorImpl.java:105) >> > >> > at >> > >> > >> > >> sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:74) >> > >> > at >> > >> >> sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java :69) >> > >> > at >> > sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80) >> > >> > at >> > >> > >> > >> >> > >> org.mortbay.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java >> > :299) >> > >> > at >> > >> > org.mortbay.io.nio.SelectorManager.doSelect >> > >> (SelectorManager.java:73) >> > >> > at >> > >> > >> > >> org.mortbay.jetty.nio.SelectChannelConnector.accept >> > (SelectChannelConnector.java:120) >> > >> > at >> > >> > >> > >> >> > >> org.mortbay.jetty.AbstractConnector$Acceptor.run(AbstractConnector.java >> >> > >> :498) >> > >> > at >> > >> > >> > >> >> > >> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) >> > >> > >> > >> > >> > >> > Steven Gong wrote: >> > >> > >> > >> >> Hi all, >> > >> >> I've checked in the prototype for Edge/Origin to the >> > clustering >> > >> >> branch: >> > >> >> >> > >> >> > >> http://svn1.cvsdude.com/osflash/red5/java/server/branches/clustering >> <http://svn1.cvsdude.com/osflash/red5/java/server/branches/clustering> >> > >> >> < >> > >> >> > >> http://svn1.cvsdude.com/osflash/red5/java/server/branches/clustering >> <http://svn1.cvsdude.com/osflash/red5/java/server/branches/clustering> >> > >> <http://svn1.cvsdude.com/osflash/red5/java/server/branches/clustering>> >> > >> >> >> > >> >> I haven't integrated the Edge with Terracotta yet but >> > will do >> > >> it soon. >> > >> >> Now you can play with it on two machines with one >> Origin >> > server >> > >> and >> > >> >> one Edge server. (Of course, it should work for one >> > Origin and >> > >> several >> > >> >> Edges. But I have never tried it. :-) ) The Edge >> server is >> > >> accessed by >> > >> >> RTMPT. The RTMP Edge support will be added after the >> > >> Edge/Origin with >> > >> >> Terracotta prototype is done. >> > >> >> >> > >> >> How to run the prototype inside Eclipse: >> > >> >> (1) Check out the code first. >> > >> >> (2) Start Origin server by running Standalone without >> > arguments. >> > >> >> (3) Start Edge server by running Standalone with >> argument >> > >> " red5-edge.xml " >> > >> >> (4) Connect the Edge by RTMPT on port 8088. For >> example, >> > >> >> "rtmpt://localhost:8088/oflaDemo" >> > >> >> >> > >> >> The default setting of Edge is to connect Origin >> > locally. You can >> > >> >> modify the "server" property of "mrtmpClient" bean >> in " >> > >> >> red5-edge-core.xml " to set the address of Origin >> server. >> > >> >> >> > >> >> I appreciate your feedbacks and suggestions for the >> > prototype. >> > >> Enjoy!~~ >> > >> >> >> > >> >> -- >> > >> >> Best Regards >> > >> >> Steven Gong >> > >> >> >> > >> >> InfraRed5 Red5 Consultant: http://www.infrared5.com, >> > >> >> steven@... <mailto:steven@...> >> <mailto:steven@... <mailto:steven@...>> >> > <mailto:steven@... <mailto:steven@...> >> <mailto: steven@... <mailto:steven@...>>> >> > >> <mailto: steven@... >> <mailto:steven@...> <mailto:steven@... >> <mailto:steven@...>> >> > <mailto: steven@... <mailto:steven@...> >> <mailto:steven@... <mailto:steven@...>>>> >> > >> >> >> > >> >> Red5 Developer: http://osflash.org/red5 >> > <http://osflash.org/red5>, >> > >> >> >> http://jira.red5.org/confluence/display/~steven/Home >> <http://jira.red5.org/confluence/display/%7Esteven/Home> >> > <http://jira.red5.org/confluence/display/%7Esteven/Home> >> > >> < http://jira.red5.org/confluence/display/%7Esteven/Home> >> > >> >> < >> http://jira.red5.org/confluence/display/%7Esteven/Home> >> > >> >> >> > >> >> Modesty is an overrated quality in men of no great >> > >> accomplishment. -- >> > >> >> Ricky Jay >> > >> >> >> > >> >> > >> ------------------------------------------------------------------------ >> > >> > >> >> >> > >> >> _______________________________________________ >> > >> >> Red5 mailing list >> > >> >> Red5@... <mailto:Red5@...> >> <mailto:Red5@... <mailto:Red5@...>> >> > <mailto:Red5@... <mailto:Red5@...> >> <mailto:Red5@... <mailto:Red5@...>>> >> > >> >> http://osflash.org/mailman/listinfo/red5_osflash.org >> > >> >> >> > >> >> >> > >> > >> > >> > >> > >> > _______________________________________________ >> > >> > Red5 mailing list >> > >> > Red5@... <mailto:Red5@...> >> <mailto:Red5@... <mailto:Red5@...>> >> > <mailto:Red5@... <mailto:Red5@...> >> <mailto:Red5@... <mailto:Red5@...>>> >> > >> > http://osflash.org/mailman/listinfo/red5_osflash.org >> > < http://osflash.org/mailman/listinfo/red5_osflash.org> >> > >> > >> > >> > >> > >> >> > >> >> > >> _______________________________________________ >> > >> Red5 mailing list >> > >> Red5@... <mailto:Red5@...> >> <mailto:Red5@... <mailto:Red5@...>> >> > <mailto: Red5@... <mailto:Red5@...> >> <mailto:Red5@... <mailto:Red5@...>>> >> > >> http://osflash.org/mailman/listinfo/red5_osflash.org >> <http://osflash.org/mailman/listinfo/red5_osflash.org> >> > >> >> > >> >> > >> >> > >> >> > >> -- >> > >> Best Regards >> > >> Steven Gong >> > >> >> > >> InfraRed5 Red5 Consultant: http://www.infrared5.com >> > >> < http://www.infrared5.com>, steven@... >> <mailto:steven@...> >> > <mailto:steven@... <mailto:steven@...>> >> > >> <mailto:steven@... >> <mailto:steven@...> <mailto: steven@... >> <mailto:steven@...>>> >> > >> >> > >> Red5 Developer: http://osflash.org/red5, >> > >> http://jira.red5.org/confluence/display/~steven/Home >> <http://jira.red5.org/confluence/display/%7Esteven/Home> >> > <http://jira.red5.org/confluence/display/%7Esteven/Home> >> > >> < http://jira.red5.org/confluence/display/%7Esteven/Home> >> > >> >> > >> Modesty is an overrated quality in men of no great >> > accomplishment. -- >> > >> Ricky Jay >> > >> >> > >> ------------------------------------------------------------------------ >> > >> >> > >> _______________________________________________ >> > >> Red5 mailing list >> > >> Red5@... <mailto:Red5@...> >> <mailto:Red5@... <mailto:Red5@...>> >> > >> http://osflash.org/mailman/listinfo/red5_osflash.org >> > >> >> > >> >> > > >> > > >> > > _______________________________________________ >> > > Red5 mailing list >> > > Red5@... <mailto:Red5@...> >> <mailto:Red5@... <mailto:Red5@...>> >> > > http://osflash.org/mailman/listinfo/red5_osflash.org >> > > >> > > >> > >> > >> > _______________________________________________ >> > Red5 mailing list >> > Red5@... <mailto:Red5@...> >> <mailto:Red5@... <mailto:Red5@...>> >> > http://osflash.org/mailman/listinfo/red5_osflash.org >> > >> > >> > >> > >> > -- >> > Best Regards >> > Steven Gong >> > >> > InfraRed5 Red5 Consultant: http://www.infrared5.com >> > < http://www.infrared5.com>, steven@... >> <mailto:steven@...> >> > <mailto:steven@... <mailto:steven@...>> >> > >> > Red5 Developer: http://osflash.org/red5, >> > http://jira.red5.org/confluence/display/~steven/Home >> <http://jira.red5.org/confluence/display/%7Esteven/Home> >> > < http://jira.red5.org/confluence/display/%7Esteven/Home> >> > >> > Modesty is an overrated quality in men of no great >> accomplishment. -- >> > Ricky Jay >> > >> ------------------------------------------------------------------------ >> >> > >> > _______________________________________________ >> > Red5 mailing list >> > Red5@... <mailto:Red5@...> >> > http://osflash.org/mailman/listinfo/red5_osflash.org >> > >> >> >> _______________________________________________ >> Red5 mailing list >> Red5@... <mailto:Red5@...> >> http://osflash.org/mailman/listinfo/red5_osflash.org >> >> >> >> >> -- >> Best Regards >> Steven Gong >> >> InfraRed5 Red5 Consultant: http://www.infrared5.com >> <http://www.infrared5.com>, steven@... >> <mailto:steven@...> >> >> Red5 Developer: http://osflash.org/red5, >> http://jira.red5.org/confluence/display/~steven/Home >> <http://jira.red5.org/confluence/display/%7Esteven/Home> >> >> Modesty is an overrated quality in men of no great accomplishment. -- >> Ricky Jay >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Red5 mailing list >> Red5@... >> http://osflash.org/mailman/listinfo/red5_osflash.org >> >> > > > _______________________________________________ > Red5 mailing list > Red5@... > http://osflash.org/mailman/listinfo/red5_osflash.org > > _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
| < Prev | 1 - 2 - 3 | Next > |
| Free embeddable forum powered by Nabble | Forum Help |