finpingvin,<br><br>try removing this from red5-web.xml:<br><br> <span class="tag"><</span><span></span><span class="tag-name">bean</span><span> </span><span class="attribute">id</span><span>=</span><span class="attribute-value">
"myhandler.service"</span> <span class="attribute">class</span><span>=</span><span class="attribute-value">"the.path.to.my.ServiceHandler" </span><span class="attribute">singleton</span><span>=</span><span class="attribute-value">
"true"</span><span> </span><span class="tag">/><br><br>This is intended to be a real package/class for you to call from clients</span>.<br><br><a href="http://www.joachim-bauch.de/tutorials/red5/MigrationGuide.txt#additional-handlers">
http://www.joachim-bauch.de/tutorials/red5/MigrationGuide.txt#additional-handlers</a><span></span><br><div><span class="gmail_quote"><br><br>2007/12/18, finpingvin <<a href="mailto:pingvingryta@gmail.com">pingvingryta@gmail.com
</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>I can't connect to my red5 server even locally. I've read several guides now
<br>and followed them, but I can't get actionscript to connect to my red5<br>server.<br>This is what my project looks like<br><br>my file structure is this:<br>webapps/<br> whiteboard/ (the application name)<br> WEB-INF/
<br> lib/<br> classes/<br> se/<br> danielbjorkander/<br> whiteboard/<br><br> src/<br> se/<br> danielbjorkander/<br> whiteboard/<br> Application.java
<br> web.xml<br> red5-web.properties<br> red5-web.xml<br> log4j.properties<br><br>created an Application class extending ApplicationAdapter in the src.<br>changed the configuration files, they are here:
<br><a href="http://pastebin.parentnode.org/29168">http://pastebin.parentnode.org/29168</a> web.xml<br><a href="http://pastebin.parentnode.org/29169">http://pastebin.parentnode.org/29169</a> red5-web.xml<br>red5-web.properties
= webapp.contextPath=/whiteboard<br> webapp.virtualHosts=localhost,<br><a href="http://127.0.0.1">127.0.0.1</a><br><br>so now, when i call this code in actionscript 3.0:<br> _nc.connect("rtmp://localhost/whiteboard");
<br> _nc.call("add", new Responder(onResult), 1, 2);<br>i get the following error:<br><br>Error #2044: Unhandled NetStatusEvent:. level=error,<br>code=NetConnection.Connect.InvalidApp<br> at<br>whiteboard$iinit()[/home/finpingvin/workspace/whiteboard/src/whiteboard.mxml:8]
<br> at _whiteboard_mx_managers_SystemManager/create()<br> at<br>mx.managers::SystemManager/mx.managers:SystemManager::initializeTopLevelWindow()[E:\dev\flex_3_beta2\sdk\frameworks\projects\framework\src\mx\managers\SystemManager.as:2428]
<br> at<br>mx.managers::SystemManager/mx.managers:SystemManager::docFrameHandler()[E:\dev\flex_3_beta2\sdk\frameworks\projects\framework\src\mx\managers\SystemManager.as:2320]<br><br>So what have i missed? Never mailed a mailinglist before, but im starting to
<br>panic, because i need to get started with programming red5 for a<br>school-project im doing. Any help is greatly appriciated.<br><br>//Daniel<br>--<br>View this message in context: <a href="http://www.nabble.com/can%27t-connect-to-my-red5-server%2C-even-locally-tp14399845p14399845.html">
http://www.nabble.com/can%27t-connect-to-my-red5-server%2C-even-locally-tp14399845p14399845.html</a><br>Sent from the Red5 - English mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br><br><br>_______________________________________________
<br>Red5 mailing list<br><a href="mailto:Red5@osflash.org">Red5@osflash.org</a><br><a href="http://osflash.org/mailman/listinfo/red5_osflash.org">http://osflash.org/mailman/listinfo/red5_osflash.org</a><br></blockquote></div>
<br>