<div>Did you change the ant build.xml file in the root of the red5 server?&nbsp; If not, then when you run &quot;ant server&quot; it won&#39;t know about your new application that you have added to the webapps directory and won&#39;t compile it.
</div>
<div>&nbsp;</div>
<div>What install of red5 are you using on what platform?&nbsp; 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.&nbsp; If you haven&#39;t seen it yet, a really good place to get just a really simple server side application working is the following:
</div>
<div>&nbsp;</div>
<div><a href="http://www.flashextensions.com/tutorials.php">http://www.flashextensions.com/tutorials.php</a></div>
<div><br>Good luck!<br>&nbsp;</div>
<div><span class="gmail_quote">On 12/18/07, <b class="gmail_sendername">finpingvin</b> &lt;<a href="mailto:pingvingryta@gmail.com">pingvingryta@gmail.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>I can&#39;t connect to my red5 server even locally. I&#39;ve read several guides now<br>and followed them, but I can&#39;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>&nbsp;&nbsp; WEB-INF/<br>&nbsp;&nbsp;&nbsp;&nbsp; lib/<br>&nbsp;&nbsp;&nbsp;&nbsp; classes/<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; se/<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; danielbjorkander/
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; whiteboard/<br><br>&nbsp;&nbsp;&nbsp;&nbsp; src/<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; se/<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; danielbjorkander/<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; whiteboard/<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Application.java<br>&nbsp;&nbsp;&nbsp;&nbsp; web.xml<br>&nbsp;&nbsp;&nbsp;&nbsp; red5-web.properties<br>&nbsp;&nbsp;&nbsp;&nbsp; red5-web.xml<br>&nbsp;&nbsp;&nbsp;&nbsp; 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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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(&quot;rtmp://localhost/whiteboard&quot;);<br>_nc.call(&quot;add&quot;, 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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at<br>whiteboard$iinit()[/home/finpingvin/workspace/whiteboard/src/whiteboard.mxml:8]
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at _whiteboard_mx_managers_SystemManager/create()<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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>