[Red5] Question about Trunk 2141

Lenny Sorey lrsorey at gmail.com
Tue Jun 26 16:43:18 EDT 2007


Hey Joachim,

Been experimenting with the latest build.

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?

Is my thinking correct here?

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

Regards,

Lenny

Regards,

Lenny


On 6/26/07, Joachim Bauch <jojo at struktur.de> wrote:
>
> Hi Lenny,
>
> Lenny Sorey schrieb:
> > In the conf/war folder do you think for Tomcat / J2EE there could be a
> > way to define
> > the actual folder (webapps (by default), webapps2, webapps3, etc) that a
> > user could defined
> > where RED5 is going to live?
> >
> > For those users who Apache , Tomcat , mod_jk, this would be a great
> > place to define this without having
> > to change anything Standalone.java and/or TomcatLoader.java.
> >
> > This way, we / I can avoid changing anything in the source from webapps
> > to webapps2 in either of these two
> > java files which is what I would prefer.
>
> you shouldn't need to change the Standalone.java or TomcatLoader.java when
> running from the WAR package and change the webapps folder. These two are
> only used when running in Jetty or Tomcat standalone mode to determine the
> location of available Red5 applications. In WAR mode, the applications are
> loaded by the *-context.xml files in the "conf" directory.
>
> Is there a problem if you extract the red5.jar inside a folder "webapps2"
> and restart Tomcat?
>
> Joachim
>
> _______________________________________________
> 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/20070626/23d76642/attachment.htm


More information about the Red5 mailing list