[Red5] can't connect to my red5 server, even locally

Manuel R.G. info at vengava.com
Tue Dec 18 13:51:48 PST 2007


finpingvin,

try removing this from red5-web.xml:

 <bean id="myhandler.service" class="the.path.to.my.ServiceHandler"
singleton="true" />

This is intended to be a real package/class for you to call from clients.

http://www.joachim-bauch.de/tutorials/red5/MigrationGuide.txt#additional-handlers


2007/12/18, finpingvin <pingvingryta at gmail.com>:
>
>
> I can't connect to my red5 server even locally. I've read several guides
> now
> and followed them, but I can't get actionscript to connect to my red5
> server.
> This is what my project looks like
>
> my file structure is this:
> webapps/
>   whiteboard/ (the application name)
>     WEB-INF/
>       lib/
>       classes/
>         se/
>           danielbjorkander/
>             whiteboard/
>
>       src/
>         se/
>           danielbjorkander/
>             whiteboard/
>               Application.java
>       web.xml
>       red5-web.properties
>       red5-web.xml
>       log4j.properties
>
> created an Application class extending ApplicationAdapter in the src.
> changed the configuration files, they are here:
> http://pastebin.parentnode.org/29168 web.xml
> http://pastebin.parentnode.org/29169 red5-web.xml
> red5-web.properties = webapp.contextPath=/whiteboard
>                                      webapp.virtualHosts=localhost,
> 127.0.0.1
>
> so now, when i call this code in actionscript 3.0:
> _nc.connect("rtmp://localhost/whiteboard");
> _nc.call("add", new Responder(onResult), 1, 2);
> i get the following error:
>
> Error #2044: Unhandled NetStatusEvent:. level=error,
> code=NetConnection.Connect.InvalidApp
>         at
>
> whiteboard$iinit()[/home/finpingvin/workspace/whiteboard/src/whiteboard.mxml:8]
>         at _whiteboard_mx_managers_SystemManager/create()
>         at
>
> mx.managers::SystemManager/mx.managers:SystemManager::initializeTopLevelWindow
> ()[E:\dev\flex_3_beta2\sdk\frameworks\projects\framework\src\mx\managers\SystemManager.as:2428]
>         at
> mx.managers::SystemManager/mx.managers:SystemManager::docFrameHandler
> ()[E:\dev\flex_3_beta2\sdk\frameworks\projects\framework\src\mx\managers\SystemManager.as:2320]
>
> So what have i missed? Never mailed a mailinglist before, but im starting
> to
> panic, because i need to get started with programming red5 for a
> school-project im doing. Any help is greatly appriciated.
>
> //Daniel
> --
> View this message in context:
> http://www.nabble.com/can%27t-connect-to-my-red5-server%2C-even-locally-tp14399845p14399845.html
> Sent from the Red5 - English mailing list archive at Nabble.com.
>
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20071218/6521eba7/attachment-0001.html 


More information about the Red5 mailing list