Hi Lenny, Lenny Sorey schrieb: > Instead of setting webapps2 for each item in each *-context.xml > file I made a reference in the red5.properties file under > webapps.contextPath=/webapps2. > > All the demos are running fine (rtmp and rtmpt). > > So as I understand (please correct me if my thinking is wrong), I could > define as many > folders beneath Tomcat, naming them webapps2, webapps3,etc and reference > them > in each respective *-context.xml file and red5 should find them?
well, I only used the Tomcat WAR package for testing if it "just works", therefore I might not be entirely right in my assumptions, too ;) AFAIK, all paths defined in the *context.xml files are just used for the resolving of RTMP and RTMPT connects, i.e. a webapp defined with "/oflaDemo" is used when you connect to "rtmp://server/oflaDemo". This resolution is independent from where you extract the Red5 WAR. If you change your Tomcat "webapps" folder to "webapps2", you should only need to change your Tomcat configuration - all filesystem paths in Red5 should be relative to the actual Red5 webapp (which would be "webapps2/red5" in your case). After all, if you're running Red5 inside Tomcat, you don't have a dedicated folder per application as with the standalone versions. Anyway, as said before, I might be completely wrong so I will test myself and see what happens ;) > Also,I will go back to the Wiki and edit the instructions wacking out > where I referenced > changing webapps to webapps2 for TomcatLoader.java and Standalone.java Great, thanks. Joachim _______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
