Hi Pierre,
Although I am not to familiar with Resin let me ask a couple of questions.
Are you using any kind of connector between Resin and Apache?
If you have a connector, then the connector should be passing the default
port via a port
like 8009 or what the default passing port from Resin to Apache.
I still think you will have to reference ports 8080 (if that is the default
port for Resin like Tomcat)
Even though I am passing from Tomcat to Apache I still have to reference
port 8080 for both RTMP and RTMPT since
it does not make to port 80 until Tomcat passes via 8080 and 8009 (the
connector port)
One more thing to check is to see if your router or firewall is preventing
port 1935 from passing through.
You might have to open up port 1935 to allow that through.
Regards,
Lenny
On 7/31/07, Pierre-Yves Saumont <[EMAIL PROTECTED]> wrote:
>
> Hello Lenny,
>
> I succeded to compile an run the red5.war application ! (Thanks a lot for
> your help). I tested the port_tester and BallControl with two computers on
> my LAN and it works fine, although the port tester says taht every thing
> failed except RTMP default port and 1935.
>
> Now, I am experiencing a new problem : I intsalled the war on my server,
> which I access through Internet. The port tester gives the same result
> (sucess for RTMP default port and RTMP 1935, failure for everything else.
> However, I can make the BallControl app to work.
>
> My Resin instance is behind an Apache Server. Is there any special setting
> for such a configuration ? I though the port would perhaps be closed, but in
> that case, the port tester should not show any success ? Should I use port
> 80 for rtmpt ? Here is what I used for the red5.properties file :
>
> # HTTP
> http.host=216.227.212.140
> http.port=80
> # RTMP
> rtmp.host=216.227.212.140
> 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=216.227.212.140
> rtmpt.port=80
> rtmpt.ping_interval=5000
> rtmpt.max_inactivity=60000
> # WEBAPP
> webapp.contextPath=/
> webapp.virtualHosts=*,
> www.volgadev.com,volgadev.com,www.volgadev.com:80,volgadev.com:80
>
> Can you see anything wrong ?
>
> Thanks again,
>
> Pierre-Yves
>
> Lenny Sorey a écrit :
>
> 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 [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