[Red5] Application does not work after upgrade
Brian
brian at igroops.com
Mon Aug 11 17:23:52 PDT 2008
Ok removed the directory from the red5.sh
Modified "/opt/red5/conf/red5.xml" to force the webapp directory
<!-- Tomcat servlet engine / http server -->
<bean id="tomcat.server" class="org.red5.server.tomcat.TomcatLoader"
init-method="init" destroy-method="shutdown" depends-on="context.loader">
<property name="webappFolder" value="/opt/red5/webapps" />
Now the demo applications start when I use red5.sh
_____
When I add this to the red5.sh
-Dred5.root=/opt/red5
I get this error
Exception in thread "main" java.io.FileNotFoundException:
opt/red5/webapps/red5-default.xml (No such file or directory)
_____
From: red5-bounces at osflash.org [mailto:red5-bounces at osflash.org] On Behalf
Of Mondain
Sent: Monday, August 11, 2008 7:10 PM
To: red5 at osflash.org
Subject: Re: [Red5] Application does not work after upgrade
The difference is that red5 root is set:
<jvmarg value="-Dred5.root=${dist.dir}"/>
Paul
On Mon, Aug 11, 2008 at 4:05 PM, Brian <brian at igroops.com> wrote:
Additional information
If I run under ant server both 5080 and the demo apps respond correctly.
What is different between the starting red5
Ant server
and
red5.sh
Yes the conf/red5.properties is 5080
What sets $red5.root is there any way to remove the extra slash? For the 2
lines
1) 2008-08-11 17:04:19,351 [main] INFO org.red5.server.Standalone -
Setting Red5 root to //opt/red5
2) 2008-08-11 17:04:28,387 [main] INFO
org.red5.server.tomcat.TomcatLoader - Application root: //opt/red5/webapps
It looks like it is not finding the webapps folder during the ant server
compile
I dont like the path having two forward slashes, but it appears that
everything started. Did you make sure that your red5/conf/red5.properties
has the http port set to 5080? If you still see errors I suggest that you
crank up the org.apache log level.
Paul
_______________________________________________
Red5 mailing list
Red5 at osflash.org
http://osflash.org/mailman/listinfo/red5_osflash.org
--
http://gregoire.org/
http://osflash.org/red5
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20080811/32b8b7de/attachment-0001.html
More information about the Red5
mailing list