Hello Pierre,
One thing to note.
In the WEB-INF folder under red5, there is a red5.properties.
Make sure it looks something like the following:
# HTTP
http.host=0.0.0.0
http.port=8080
# RTMP
rtmp.host=0.0.0.0
rtmp.port=1935
rtmp.event_threads_core=16
rtmp.event_threads_max=32
# event threads queue: -1 unbounded, 0 direct (no queue), n bounded queue
rtmp.event_threads_queue=-1
rtmp.event_threads_keepalive=60
rtmp.send_buffer_size=271360
rtmp.receive_buffer_size=65536
rtmp.ping_interval=5000
rtmp.max_inactivity=60000
# RTMPT
rtmpt.host=0.0.0.0
rtmpt.port=8080
rtmpt.ping_interval=5000
rtmpt.max_inactivity=60000
# WEBAPP
webapp.contextPath=/
webapp.virtualHosts=*,localhost
The ports by default are set for Jetty 8088 so you will have to change for
Tomcat default 8080. You can also
leave the http.host, rtmp.host and rtmpt.host lines at 0.0.0.0 while you
test with localhost. These will need to be changed to
your servers ip address if you run it other than localhost. I have my test
Tomcat server on an internal ip address of 10.2.0.10.
If you think you did not receive all the needed jar files, let me know and I
will rar up the lib folder in multiple rar files and place
it on my ftp for you to retrieve. But test with the port changes first.
Good luck.
Lenny
On 7/31/07, Pierre-Yves Saumont <[EMAIL PROTECTED]> wrote:
>
> Hi Lenny,
>
> Thanks a lot for you help !
>
> I was running the war version of red5. I thought it was the easiest way to
> test it on my Windows box and then install it on my linux server.
>
> Now I downloaded the sources from trunk, but I could not managed to run
> the ant webwar task. The dependencies are missing ! I believe I should run
> the "all" task to automatically download the dependcies, but it fails with a
> lot of errors, after running for hours ! So I installed dependencies by
> hand, which is a very very tedious job!
> Now, after a full day, I managed to get the whole thing compile en build.
> The result is exactly the same : testing ports fails on all ports.
>
> I tried to port the war application from the standalone version to my
> application server, but it also fails wiith a lot of errors because the
> compiled classe are not present in this version. I believe this is due to
> some specificity of the Jetty server. I need to use Resin as a server. Any
> idea how to port the war to another App Server ?
>
> Thanks,
>
> Pierre-Yves
>
>
>
> Lenny Sorey a écrit :
>
> Hi Pierre,
>
> One question. Did you build the Tomcat RED5 app with "ant webwar"?
>
> What version of Java are you using?
>
> Did you download directly from the RED5 svn trunk?
>
> If you download from RED5 Trunk, and build with ANT "ant webwar"
>
> You will see a red5.war in the dist folder. You can explode this war file
> and
> place in your Tomcat webapps folder.
>
> From this point you should be able to run RED5 with the Demo apps with
> localhost.
>
> Make sure you have the following identified in your environment variables.
>
> java.target_version=${java.specification.version} (Java version needs to
> be either 1.5 or 1.6)
>
> Ah, another thing to note. When you download from the RED5 Trunk for the
> first time,
> run "ANT" from the red5 root folder so you will get the jar files you will
> need to
> compile with "ANT WEBWAR"
>
> I am and have been running RED5 with the following config:
>
> Tomcat 6.0.13
> Java 1.6.0_2
> RED5 Trunk
> Apache 2.2.4
>
> Here is the url running with RED5 running with Tomcat:
> http://red5.fatdot.com
>
> Good luck.
>
> Lenny
>
>
>
>
>
>
>
> On 7/29/07, Pierre-Yves Saumont <[EMAIL PROTECTED]> wrote:
> >
> > Thanks for your help,
> >
> > I just tried this, but it does not change anything. As soon as I click
> > on the connect button, I get the error message, with no noticeable delay.
> > This make my think perhaps the server is not reached. So I shutdown the
> > server and try again. Then I get the same message. So the problem must be
> > with the client application.
> >
> > Pierre-Yves
> >
> > Ben Wade a écrit :
> >
> > Maybe try putting in the ip address of the server instead of localhost.
> >
> >
> >
> > Regards,
> >
> >
> >
> > Ben Wade
> > ------------------------------
> >
> > *From:* [EMAIL PROTECTED] [ mailto:[EMAIL PROTECTED]<[EMAIL PROTECTED]>]
> > *On Behalf Of *Pierre-Yves Saumont
> > *Sent:* Sunday, July 29, 2007 12:15 PM
> > *To:* [email protected]
> > *Subject:* [Red5] No connection to red5 server
> >
> >
> >
> > Hello,
> >
> > I am trying to use the red5 war application. Everything seems to have
> > been installed correctly (except that the application is complaining about a
> > missinh mina/spring integration class that I have added.)
> >
> > I can display all examples, but I can't connect anyone. clicking on the
> > connect button displays an error message : "Please check connection URI
> > String and try again". The URI I am unsing is, for example,
> > "rtmp://localhost/SOSample"
> >
> > When I use the Port tests application, it fails on all ports (Default,
> > 80, 443 and 1935).
> >
> > Ha anyone an idea about what is going wrong ? (I tested the application
> > with Resin an Tomcat)
> >
> > Thnks for any help
> >
> > Pierre-Yves
> >
> > ------------------------------
> >
> > _______________________________________________
> > Red5 mailing [EMAIL
> > PROTECTED]://osflash.org/mailman/listinfo/red5_osflash.org
> >
> >
> > _______________________________________________
> > Red5 mailing list
> > [email protected]
> > http://osflash.org/mailman/listinfo/red5_osflash.org
> >
> >
> ------------------------------
>
> _______________________________________________
> Red5 mailing [EMAIL PROTECTED]://osflash.org/mailman/listinfo/red5_osflash.org
>
>
> _______________________________________________
> Red5 mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org