Hello Joseph,

Yes, That appears to be what is happening.

The remote machine connects and then for some reason disconnects.

The strange thing about it is as I had mentioned in the log below.

The second set of green "returning context" in appears in this order from
the remote connection.

Three "returning context" appear immediately and the just stays and the
platform does nothing.

The Green Icon appears when I click on the Connect Button.

The remaining three "returning context" items appear only after I disconnect
and return to the RED5 menu.

Regards,

Lenny


On 4/2/07, joseph wamicha <[EMAIL PROTECTED]> wrote:

Just to understand on the error; does the application connect then
disconnect all by itself from remote machines?

 On 4/3/07, Lenny Sorey < [EMAIL PROTECTED]> wrote:

>  Hello All,
>
> Has anyone gotten the Flex2 FLVPlayer Sample working within a network or
> via the Internet on more than one machine?  The reason I ask is I cannot get
> this example to operate on more than one machine either in my network or via
> my Internet Server.
>
> First of all, Let me just say I am learning Flex 2 scripting with John
> Grden's excellent FLVPlayer Sample..
>
> I am using Tomcat 5.5 with Java 1.6 for my platform, server is Win2k
> Professional.
>
> I have placed the FLVPlayer in the demos folder and opted to run it from
> the "ofla"
>
> I can get the FLVPLayer to work on one particular machine that the Flex2
> app is compiled on. The remaining machines in the network
> can connect to this app but the grid with the flv's displayed do not
> display.
>
> All the other samples in the RED5 project work fine from any machine in
> the network or from any machine from the
> Internet when I the app running on my Server.
>
> The following is my log file from the Tomcat log folder regarding RED5.
>
> The color coding is as follows:
>
> BLACK - This is Tomcat starting up and loading items.
> RED - the listing where ofla is loaded
> Blue - The first machine that can connect to the FLVPlayer
> Green - This is where the app is actually connecting to display the
> grid. (notice in the first connection there are
> 7 returning context statements after adding client. This one actually
> connects.
> Purple - The ip address and port where the connection is coming from
> Orange - This is the second machine in the network trying to connect to
> the FLVPLayer
> Green - The green for the second machine never really connects. actually
> the app hangs after 3 returning context statements.
> The remaining 3 returning context statement are written after I return
> back to the RED5 menu.
>
> I have looked and looked until I can look no more.
>
> Anybody run into this problem or maybe this app needs to updated since I
> am running the latest from the Trunk.
>
> I think this app was published back late November 2006.
>
> Wish I knew more about what is causing this but the logs just stop when
> any other machine in my network is trying to connect to this app.
>
> Ip address 10.2.0.10 and 10.2.0.22 are internal addresses on my network.
>
> I am using rmpt://10.2.0.10/ofla in the flex2t connect uri string.
>
> Any help or suggestions are greatly appreciated.
>
> Regards,
>
> Lenny
>
>
>
>
>
> [INFO] 0 Thread-1:( org.red5.server.MainServlet.contextInitialized )
> RED5 Server ( http://www.osflash.org/red5 )
>
> [INFO] 0 Thread-1:( org.red5.server.MainServlet.contextInitialized )
> Loading red5 global context from: /WEB-INF/applicationContext.xml
>
> [INFO] 0 Thread-1:( org.red5.server.MainServlet.contextInitialized )
> Path: d:\java\Tomcat55\webapps\red5\
>
> [INFO] 0 Thread-1:( org.red5.server.MainServlet.contextInitialized )
> Classpath: d:\java\Tomcat55\bin\bootstrap.jar
>
> [DEBUG] 0 Thread-1:( org.red5.server.MainServlet.contextInitialized )
> New classpath:
> d:\java\Tomcat55\bin\bootstrap.jar;D:/java/Tomcat55/webapps/red5/ WEB-INF
>
> [INFO] 0 Thread-1:( org.red5.server.MainServlet.contextInitialized )
> Setting configuation root to D:/java/Tomcat55/webapps/red5/WEB-INF
>
> [INFO] 0 Thread-1:( org.red5.server.MainServlet.contextInitialized )
> Setting Red5 root to D:/java/Tomcat55/webapps/red5
>
> [INFO] 93 Thread-1:( org.red5.server.MainServlet.contextInitialized )
> Config location files: 4
>
> [INFO] 203 Thread-1:( org.springframework.core.CollectionFactory.info
> <http://org.springframework.core.collectionfactory.info/>) JDK 
1.4+collections available
>
> [INFO] 203 Thread-1:( org.springframework.core.CollectionFactory.info
> <http://org.springframework.core.collectionfactory.info/>) Commons
> Collections 3.x available
>
> [INFO] 2578 Thread-1:( 
org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.info
>
> 
<http://org.springframework.beans.factory.config.propertyplaceholderconfigurer.info/>)
> Loading properties file from class path resource [red5.properties]
>
> [INFO] 2640 Thread-1:( 
org.springframework.beans.factory.support.DefaultListableBeanFactory.info
>
> 
<http://org.springframework.beans.factory.support.defaultlistablebeanfactory.info/>)
> Pre-instantiating singletons in factory [
> org.springframework.beans.factory.support.DefaultListableBeanFactorydefining 
beans [
> global.clientRegistry,global.serviceInvoker,global.mappingStrategy,
> global.context,global.handler ,global.scope,red5.scopeResolver,
> 
web.context,web.scope,red5.server,serializer,deserializer,statusObjectService,rtmpCodecFactory,remotingCodecFactory,videoCodecFactory,streamableFileFactory,sharedObjectService,streamService,providerService,consumerService,BWControlService,schedulingService,threadFactory,remotingPool,
> object.cache,keyframe.cache,flv.impl,
> org.springframework.beans.factory.config.MethodInvokingFactoryBean,
> org.springframework.beans.factory.config.MethodInvokingFactoryBean#1,
> 
flvreader.impl,mp3reader.impl,playlistSubscriberStream,clientBroadcastStream,customEditorConfigurer,placeholderConfig,threadExecutor,filterChainBuilder,socketAcceptor,rtmpHandler,rtmpMinaIoHandler,rtmptHandler,rtmpMinaConnection,rtmptConnection,
> echo.context,echo.scope,echo.handler,fitcDemo.context,fitcDemo.scope,
> fitcDemo.handler,SOSample.context,SOSample.scope,SOSample.handler,
> tutorial.context,tutorial.scope,tutorial.handler,ofla.context,ofla.scope
> ,ofla.handler , demoService.service]; root of BeanFactory hierarchy]
>
> [INFO] 2875 Thread-1:( org.red5.server.Server.info
> <http://org.red5.server.server.info/>) Registering global scope: default
>
>
> [DEBUG] 3859 Thread-1:( org.red5.server.Server.debug ) Add mapping:
> /echo => default
>
> [DEBUG] 3890 Thread-1:( org.red5.server.Scope.debug ) Has child scope?
> echo in [EMAIL PROTECTED] Depth = 0, Path = '', Name = 'default']
>
> [DEBUG] 3906 Thread-1:( org.red5.server.Scope.debug ) Add child scope: [
> [EMAIL PROTECTED] Depth = 1, Path = '/default', Name = 'echo'] to [
> [EMAIL PROTECTED] Depth = 0, Path = '', Name = 'default']
>
> [DEBUG] 3906 Thread-1:( org.red5.server.adapter.ApplicationAdapter.debug) 
appStart: [
> [EMAIL PROTECTED] Depth = 1, Path = '/default', Name = 'echo']
>
> [DEBUG] 3937 Thread-1:( org.red5.server.Server.debug ) Add mapping:
> 10.2.0.10/fitcDemo => default
>
> [DEBUG] 3937 Thread-1:( org.red5.server.Scope.debug ) Has child scope?
> fitcDemo in [EMAIL PROTECTED] Depth = 0, Path = '', Name = 'default']
>
>
> [DEBUG] 3937 Thread-1:( org.red5.server.Scope.debug ) Add child scope: [
> [EMAIL PROTECTED] Depth = 1, Path = '/default', Name = 'fitcDemo'] to [
> [EMAIL PROTECTED] Depth = 0, Path = '', Name = 'default']
>
> [DEBUG] 3953 Thread-1:( org.red5.server.Server.debug ) Add mapping:
> /SOSample => default
>
> [DEBUG] 3953 Thread-1:( org.red5.server.Server.debug ) Add mapping:
> localhost/SOSample => default
>
> [DEBUG] 3953 Thread-1:( org.red5.server.Server.debug ) Add mapping:
> localhost:5080/SOSample => default
>
> [DEBUG] 3953 Thread-1:( org.red5.server.Server.debug ) Add mapping:
> 127.0.0.1:5080/SOSample => default
>
> [DEBUG] 3953 Thread-1:( org.red5.server.Scope.debug ) Has child scope?
> SOSample in [EMAIL PROTECTED] Depth = 0, Path = '', Name = 'default']
>
>
> [DEBUG] 3953 Thread-1:( org.red5.server.Scope.debug ) Add child scope: [
> [EMAIL PROTECTED] Depth = 1, Path = '/default', Name = 'SOSample'] to [
> [EMAIL PROTECTED] Depth = 0, Path = '', Name = 'default']
>
> [DEBUG] 3953 Thread-1:( org.red5.server.adapter.ApplicationAdapter.debug) 
appStart: [
> [EMAIL PROTECTED] Depth = 1, Path = '/default', Name = 'SOSample']
>
> [DEBUG] 4000 Thread-1:( org.red5.server.Server.debug ) Add mapping:
> localhost/tutorial => default
>
> [DEBUG] 4015 Thread-1:( org.red5.server.Server.debug ) Add mapping:
> 127.0.0.1/tutorial => default
>
> [DEBUG] 4015 Thread-1:( org.red5.server.Server.debug ) Add mapping:
> 192.168.1.2/tutorial => default
>
> [DEBUG] 4015 Thread-1:( org.red5.server.Scope.debug ) Has child scope?
> tutorial in [EMAIL PROTECTED] Depth = 0, Path = '', Name = 'default']
>
>
> [DEBUG] 4015 Thread-1:( org.red5.server.Scope.debug ) Add child scope: [
> [EMAIL PROTECTED] Depth = 1, Path = '/default', Name = 'tutorial'] to [
> [EMAIL PROTECTED] Depth = 0, Path = '', Name = 'default']
>
> [DEBUG] 4015 Thread-1:( org.red5.server.adapter.ApplicationAdapter.debug) 
appStart: [
> [EMAIL PROTECTED] Depth = 1, Path = '/default', Name = 'tutorial']
>
> [DEBUG] 4046 Thread-1:( org.red5.server.Server.debug ) Add mapping:
> 10.2.0.10/oflaDemo => default
>
> [DEBUG] 4046 Thread-1:( org.red5.server.Scope.debug ) Has child scope?
> oflaDemo in [EMAIL PROTECTED] Depth = 0, Path = '', Name = 'default']
>
>
> [DEBUG] 4046 Thread-1:( org.red5.server.Scope.debug ) Add child scope: [
> [EMAIL PROTECTED] Depth = 1, Path = '/default', Name = 'oflaDemo'] to [
> [EMAIL PROTECTED] Depth = 0, Path = '', Name = 'default']
>
> [INFO] 4046 Thread-1:( org.red5.server.MainServlet.contextInitialized )
> default context:
> org.springframework.web.context.support.XmlWebApplicationContext :
> display name [Root WebApplicationContext]; startup date [Mon Apr 02 17:04:59
> GMT-06:00 2007]; root of context hierarchy; config locations
> [/WEB-INF/applicationContext.xml,/WEB-INF/red5-common.xml,/WEB-INF/red5-
> core.xml ,/ WEB-INF/*-context.xml]
>
> [INFO] 4046 Thread-1:( org.red5.server.MainServlet.contextInitialized )
> Startup done in: 4062 ms
>
> [DEBUG] 4046 Thread-1:( 
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/red5].debug
> ) Starting filters
>
> [DEBUG] 380500 pool-2-thread-4:( org.red5.server.Server.debug ) Check
> host and path: 10.2.0.10/oflaDemo
>
> [DEBUG] 380515 pool-2-thread-4:( org.red5.server.Scope.debug ) returning
> context
>
> [DEBUG] 380515 pool-2-thread-4:( org.red5.server.Scope.debug ) Has child
> scope? oflaDemo in [EMAIL PROTECTED] Depth = 0, Path = '', Name =
> 'default']
>
> [DEBUG] 380515 pool-2-thread-4:( org.red5.server.CoreHandler.debug )
> Connect to core handler ?
>
> [DEBUG] 380515 pool-2-thread-4:( org.red5.server.Scope.debug ) returning
> context
>
> [DEBUG] 380531 pool-2-thread-4:( org.red5.server.Scope.debug ) adding
> client
>
> [DEBUG] 380625 pool-2-thread-4:(
> org.red5.server.adapter.ApplicationAdapter.debug ) appConnect:
> RTMPMinaConnection from 10.2.0.10:2735 to 10.2.0.10 (in: 3397, out:
> 3122)
>
> [DEBUG] 380625 pool-2-thread-4:(
> org.red5.server.adapter.ApplicationAdapter.debug ) appJoin: Client: 0 >>
> [EMAIL PROTECTED] Depth = 1, Path = '/default', Name = 'oflaDemo']
>
> [DEBUG] 380625 pool-2-thread-4:( org.red5.server.Scope.debug ) adding
> client
>
> [DEBUG] 380625 pool-2-thread-4:( org.red5.server.Scope.debug ) returning
> context
>
> [DEBUG] 380640 pool-2-thread-4:( org.red5.server.Scope.debug ) returning
> context
>
> [DEBUG] 380640 pool-2-thread-4:( org.red5.server.Scope.debug ) returning
> context
>
> [DEBUG] 380984 pool-2-thread-4:( org.red5.server.Scope.debug ) returning
> context
>
> [DEBUG] 380984 pool-2-thread-4:( org.red5.server.Scope.debug ) returning
> context
>
> [DEBUG] 381000 pool-2-thread-4:( org.red5.server.Scope.debug ) returning
> context
>
> [DEBUG] 381015 pool-2-thread-4:( org.red5.server.Scope.debug ) returning
> context
>
> [DEBUG] 381015 pool-2-thread-4:(
> org.red5.server.webapp.oflaDemo.DemoService.debug ) getting the FLV
> files
>
> [DEBUG] 381015 pool-2-thread-4:(
> org.red5.server.webapp.oflaDemo.DemoService.debug ) flvName:
> on2_flash8_w_audio.flv
>
> [DEBUG] 381015 pool-2-thread-4:(
> org.red5.server.webapp.oflaDemo.DemoService.debug ) lastModified date:
> 02/04/07 6:12:30
>
> [DEBUG] 381015 pool-2-thread-4:(
> org.red5.server.webapp.oflaDemo.DemoService.debug ) flvBytes: 8446642
>
> [DEBUG] 381015 pool-2-thread-4:(
> org.red5.server.webapp.oflaDemo.DemoService.debug ) -------
>
> [DEBUG] 381015 pool-2-thread-4:(
> org.red5.server.webapp.oflaDemo.DemoService.debug ) flvName:
> Spiderman3_trailer_300.flv
>
> [DEBUG] 381015 pool-2-thread-4:(
> org.red5.server.webapp.oflaDemo.DemoService.debug ) lastModified date:
> 02/04/07 6:12:30
>
> [DEBUG] 381015 pool-2-thread-4:(
> org.red5.server.webapp.oflaDemo.DemoService.debug ) flvBytes: 6200492
>
> [DEBUG] 381015 pool-2-thread-4:(
> org.red5.server.webapp.oflaDemo.DemoService.debug ) -------
>
> [DEBUG] 418125 pool-2-thread-9:( org.red5.server.Scope.debug ) returning
> context
>
> [DEBUG] 418140 pool-2-thread-9:( org.red5.server.Scope.debug ) returning
> context
>
> [DEBUG] 418140 pool-2-thread-9:( org.red5.server.Scope.debug ) returning
> context
>
> [DEBUG] 418140 pool-2-thread-9:( org.red5.server.BaseConnection.debug )
> Close, disconnect from scope, and children
>
> [DEBUG] 418140 pool-2-thread-9:(
> org.red5.server.adapter.ApplicationAdapter.debug ) disconnect
>
> [DEBUG] 418140 pool-2-thread-9:(
> org.red5.server.adapter.ApplicationAdapter.debug ) appDisconnect:
> RTMPMinaConnection from 10.2.0.10:2735 to 10.2.0.10 (in: 3578, out:
> 3594)
>
> [DEBUG] 418140 pool-2-thread-9:(
> org.red5.server.adapter.ApplicationAdapter.debug ) leave
>
> [DEBUG] 418140 pool-2-thread-9:(
> org.red5.server.adapter.ApplicationAdapter.debug ) appLeave: Client: 0<< [
> [EMAIL PROTECTED] Depth = 1, Path = '/default', Name = 'oflaDemo']
>
> [DEBUG] 876812 pool-2-thread-11:( org.red5.server.Server.debug ) Check
> host and path: 10.2.0.10/oflaDemo
>
> [DEBUG] 876812 pool-2-thread-11:( org.red5.server.Scope.debug )
> returning context
>
> [DEBUG] 876812 pool-2-thread-11:( org.red5.server.Scope.debug ) Has
> child scope? oflaDemo in [EMAIL PROTECTED] Depth = 0, Path = '', Name
> = 'default']
>
> [DEBUG] 876828 pool-2-thread-11:( org.red5.server.CoreHandler.debug )
> Connect to core handler ?
>
> [DEBUG] 876828 pool-2-thread-11:( org.red5.server.Scope.debug )
> returning context
>
> [DEBUG] 876828 pool-2-thread-11:( org.red5.server.Scope.debug ) adding
> client
>
> [DEBUG] 876828 pool-2-thread-11:(
> org.red5.server.adapter.ApplicationAdapter.debug ) appConnect:
> RTMPMinaConnection from 10.2.0.22:1140 to 10.2.0.10 (in: 3397, out:
> 3122)
>
> [DEBUG] 876828 pool-2-thread-11:(
> org.red5.server.adapter.ApplicationAdapter.debug ) appJoin: Client: 1 >>
> [ [EMAIL PROTECTED] Depth = 1, Path = '/default', Name = 'oflaDemo']
>
> [DEBUG] 876828 pool-2-thread-11:( org.red5.server.Scope.debug ) adding
> client
>
> [DEBUG] 876828 pool-2-thread-11:( org.red5.server.Scope.debug )
> returning context
>
> [DEBUG] 876828 pool-2-thread-11:( org.red5.server.Scope.debug )
> returning context
>
> [DEBUG] 876828 pool-2-thread-11:( org.red5.server.Scope.debug )
> returning context
>
> [DEBUG] 989984 pool-2-thread-6:( org.red5.server.Scope.debug ) returning
> context
>
> [DEBUG] 989984 pool-2-thread-6:( org.red5.server.Scope.debug ) returning
> context
>
> [DEBUG] 989984 pool-2-thread-6:( org.red5.server.Scope.debug ) returning
> context
>
> [DEBUG] 989984 pool-2-thread-6:( org.red5.server.BaseConnection.debug )
> Close, disconnect from scope, and children
>
> [DEBUG] 989984 pool-2-thread-6:(
> org.red5.server.adapter.ApplicationAdapter.debug ) disconnect
>
> [DEBUG] 989984 pool-2-thread-6:(
> org.red5.server.adapter.ApplicationAdapter.debug ) appDisconnect:
> RTMPMinaConnection from 10.2.0.22:1140 to 10.2.0.10 (in: 3524, out:
> 3343)
>
> [DEBUG] 989984 pool-2-thread-6:(
> org.red5.server.adapter.ApplicationAdapter.debug ) leave
>
> [DEBUG] 990000 pool-2-thread-6:(
> org.red5.server.adapter.ApplicationAdapter.debug ) appLeave: Client: 1<< [
> [EMAIL PROTECTED] Depth = 1, Path = '/default', Name = 'oflaDemo']
>
> _______________________________________________
> Red5 mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>


--
C is forever.
_______________________________________________
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

Reply via email to