<div>Did you change the ant build.xml file in the root of the red5 server? If not, then when you run "ant server" it won't know about your new application that you have added to the webapps directory and won't compile it.
</div>
<div> </div>
<div>What install of red5 are you using on what platform? I use the windows installer, but when I am working on applications, I ignore the service and use ant to build my new applications and run the server. If you haven't seen it yet, a really good place to get just a really simple server side application working is the following:
</div>
<div> </div>
<div><a href="http://www.flashextensions.com/tutorials.php">http://www.flashextensions.com/tutorials.php</a></div>
<div><br>Good luck!<br> </div>
<div><span class="gmail_quote">On 12/18/07, <b class="gmail_sendername">finpingvin</b> <<a href="mailto:pingvingryta@gmail.com">pingvingryta@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><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>