RMS connection problems!

Hey,

i have one problem again with my RMS Server.


In my SSH i try follow command:

LuxHOST:/opt/ray_server/RMS_3.5.1# ./ray.sh
[INFO] 2008-10-28 15:26:08,889 main:( org.red5.server.Standalone.main ) RED5 Server (http://www.osflash.org/red5)
[INFO] 2008-10-28 15:26:08,892 main:( org.red5.server.Standalone.main ) Loading red5 global context from: red5.xml
[INFO] 2008-10-28 15:26:08,893 main:( org.red5.server.Standalone.main ) Setting Red5 root to //opt/ray_server/RMS_3.5.1
[INFO] 2008-10-28 15:26:08,894 main:( org.red5.server.Standalone.main ) Setting configuation root to /opt/ray_server/RMS_3.5.1/conf
[INFO] 2008-10-28 15:26:08,950 main:( org.springframework.context.support.ClassPathXmlApplicationContext.prepareRefresh ) Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@1b383e9: display name [org.springframework.context.support.ClassPathXmlApplicationContext@1b383e9]; startup date [Tue Oct 28 15:26:08 CET 2008]; root of context hierarchy
[INFO] 2008-10-28 15:26:09,619 main:( org.springframework.context.support.ClassPathXmlApplicationContext.obtainFreshBeanFactory ) Bean factory for application context [org.springframework.context.support.ClassPathXmlApplicationContext@1b383e9]: org.springframework.beans.factory.support.DefaultListableBeanFactory@18a49e0
[INFO] 2008-10-28 15:26:09,659 main:( org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.loadProperties ) Loading properties file from class path resource [red5.properties]
[INFO] 2008-10-28 15:26:09,666 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons ) Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@18a49e0: defining beans [placeholderConfig,red5.common,red5.core,context.loader,jetty6.server]; root of factory hierarchy
[INFO] 2008-10-28 15:26:09,681 main:( org.springframework.context.support.FileSystemXmlApplicationContext.prepareRefresh ) Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@12f9ee: display name [org.springframework.context.support.FileSystemXmlApplicationContext@12f9ee]; startup date [Tue Oct 28 15:26:09 CET 2008]; root of context hierarchy
[INFO] 2008-10-28 15:26:09,737 main:( org.springframework.context.support.FileSystemXmlApplicationContext.obtainFreshBeanFactory ) Bean factory for application context [org.springframework.context.support.FileSystemXmlApplicationContext@12f9ee]: org.springframework.beans.factory.support.DefaultListableBeanFactory@676437
[INFO] 2008-10-28 15:26:09,766 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons ) Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@676437: defining beans [placeholderConfig,red5.server,jmxFactory,jmxAgent,serializer,deserializer,statusObjectService,rtmpCodecFactory,remotingCodecFactory,videoCodecFactory,streamableFileFactory,sharedObjectService,streamService,providerService,consumerService,BWControlService,schedulingService,threadFactory,remotingPool,remotingClient,object.cache,keyframe.cache,flv.impl,flvreader.impl,mp3reader.impl,org.springframework.beans.factory.config.MethodInvokingFactoryBean,org.springframework.beans.factory.config.MethodInvokingFactoryBean#1,streamExecutor,playlistSubscriberStream,clientBroadcastStream]; root of factory hierarchy
[INFO] 2008-10-28 15:26:09,817 main:( org.red5.server.jmx.JMXAgent.init ) JMX HTML adapter was not enabled
[INFO] 2008-10-28 15:26:09,941 main:( org.red5.server.jmx.JMXAgent.init ) RMI Registry server was not found on port 9999
[INFO] 2008-10-28 15:26:09,942 main:( org.red5.server.jmx.JMXAgent.init ) Starting an internal RMI registry
[INFO] 2008-10-28 15:26:10,053 main:( org.red5.server.jmx.JMXAgent.init ) JMX RMI connector server successfully started
[INFO] 2008-10-28 15:26:10,167 main:( org.red5.io.StreamableFileFactory.setServices ) StreamableFileFactory set services
[INFO] 2008-10-28 15:26:10,310 main:( org.springframework.context.support.FileSystemXmlApplicationContext.prepareRefresh ) Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@1ea0105: display name [org.springframework.context.support.FileSystemXmlApplicationContext@1ea0105]; startup date [Tue Oct 28 15:26:10 CET 2008]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@12f9ee
[INFO] 2008-10-28 15:26:10,347 main:( org.springframework.context.support.FileSystemXmlApplicationContext.obtainFreshBeanFactory ) Bean factory for application context [org.springframework.context.support.FileSystemXmlApplicationContext@1ea0105]: org.springframework.beans.factory.support.DefaultListableBeanFactory@12dd538
[INFO] 2008-10-28 15:26:10,372 main:( org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.loadProperties ) Loading properties file from class path resource [red5.properties]
[INFO] 2008-10-28 15:26:10,375 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons ) Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@12dd538: defining beans [customEditorConfigurer,placeholderConfig,rtmpHandler,rtmpMinaIoHandler,rtmpTransport,rtmpMinaConnection,rtmptHandler,rtmptServlet,rtmptConnection,rtmpt.server]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@676437
[INFO] 2008-10-28 15:26:10,392 main:( org.red5.server.net.rtmp.RTMPMinaTransport.start ) RTMP Mina Transport Settings
[INFO] 2008-10-28 15:26:10,392 main:( org.red5.server.net.rtmp.RTMPMinaTransport.start ) IO Threads: 2+1
[INFO] 2008-10-28 15:26:10,393 main:( org.red5.server.net.rtmp.RTMPMinaTransport.start ) Event Threads: core: 16+1 max: 32+1 queue: -1 keepalive: 60
[INFO] 2008-10-28 15:26:10,421 main:( org.red5.server.net.rtmp.RTMPMinaTransport.start ) TCP No Delay: false
[INFO] 2008-10-28 15:26:10,421 main:( org.red5.server.net.rtmp.RTMPMinaTransport.start ) Receive Buffer Size: 65536
[INFO] 2008-10-28 15:26:10,421 main:( org.red5.server.net.rtmp.RTMPMinaTransport.start ) Send Buffer Size: 271360
[INFO] 2008-10-28 15:26:10,430 main:( org.red5.server.net.rtmp.RTMPMinaTransport.start ) RTMP Mina Transport bound to 0.0.0.0/0.0.0.0:10046
[INFO] 2008-10-28 15:26:10,458 main:( org.springframework.context.support.ClassPathXmlApplicationContext.prepareRefresh ) Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@126c6ea: display name [org.springframework.context.support.ClassPathXmlApplicationContext@126c6ea]; startup date [Tue Oct 28 15:26:10 CET 2008]; root of context hierarchy
[INFO] 2008-10-28 15:26:10,496 main:( org.springframework.context.support.ClassPathXmlApplicationContext.obtainFreshBeanFactory ) Bean factory for application context [org.springframework.context.support.ClassPathXmlApplicationContext@126c6ea]: org.springframework.beans.factory.support.DefaultListableBeanFactory@1aa0e3b
[INFO] 2008-10-28 15:26:10,505 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons ) Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1aa0e3b: defining beans [placeholderConfig,sysProps,webappRoot,rtmptHost,rtmptPort,Server]; root of factory hierarchy
[INFO] 2008-10-28 15:26:10,605 main:( org.mortbay.log.invoke0 ) Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog
[INFO] 2008-10-28 15:26:10,625 main:( org.mortbay.log.invoke0 ) jetty-6.1.5
[INFO] 2008-10-28 15:26:10,660 main:( org.mortbay.log.invoke0 ) Started SelectChannelConnector@0.0.0.0:10089
[INFO] 2008-10-28 15:26:10,665 main:( org.springframework.context.support.FileSystemXmlApplicationContext.prepareRefresh ) Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@f0cb3c: display name [org.springframework.context.support.FileSystemXmlApplicationContext@f0cb3c]; startup date [Tue Oct 28 15:26:10 CET 2008]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@12f9ee
[INFO] 2008-10-28 15:26:10,682 main:( org.springframework.context.support.FileSystemXmlApplicationContext.obtainFreshBeanFactory ) Bean factory for application context [org.springframework.context.support.FileSystemXmlApplicationContext@f0cb3c]: org.springframework.beans.factory.support.DefaultListableBeanFactory@5cc942
[INFO] 2008-10-28 15:26:10,696 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons ) Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@5cc942: defining beans [global.clientRegistry,global.serviceInvoker,global.mappingStrategy,global.context,global.handler,global.scope,red5.scopeResolver]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@676437
[INFO] 2008-10-28 15:26:10,739 main:( org.springframework.context.support.ClassPathXmlApplicationContext.prepareRefresh ) Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@166c114: display name [org.springframework.context.support.ClassPathXmlApplicationContext@166c114]; startup date [Tue Oct 28 15:26:10 CET 2008]; root of context hierarchy
[INFO] 2008-10-28 15:26:10,758 main:( org.springframework.context.support.ClassPathXmlApplicationContext.obtainFreshBeanFactory ) Bean factory for application context [org.springframework.context.support.ClassPathXmlApplicationContext@166c114]: org.springframework.beans.factory.support.DefaultListableBeanFactory@8fcc7b
[INFO] 2008-10-28 15:26:10,760 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons ) Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@8fcc7b: defining beans [placeholderConfig,sysProps,webappRoot,httpHost,httpPort,Server]; root of factory hierarchy
[INFO] 2008-10-28 15:26:10,800 main:( org.mortbay.log.invoke0 ) jetty-6.1.5
[INFO] 2008-10-28 15:26:10,996 main:( /video.invoke0 ) Set web app root system property: '/video' = [/opt/ray_server/RMS_3.5.1/webapps/video/]
[INFO] 2008-10-28 15:26:10,997 main:( /video.invoke0 ) Initializing Log4J from [/opt/ray_server/RMS_3.5.1/webapps/video/WEB-INF/log4j.properties]
[INFO] 2008-10-28 15:26:11,002 main:( /video.invoke0 ) Initializing Spring root WebApplicationContext
[INFO] 2008-10-28 15:26:11,002 main:( org.springframework.web.context.ContextLoader.initWebApplicationContext ) Root WebApplicationContext: initialization started
[INFO] 2008-10-28 15:26:11,029 main:( org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.loadProperties ) Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] 2008-10-28 15:26:11,034 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons ) Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@2d502d: defining beans [placeholderConfig,web.context,web.scope,web.handler]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@5cc942


[RAY notification - Video.init] Application Video was started
[INFO] 2008-10-28 15:26:11,075 main:( org.springframework.web.context.ContextLoader.initWebApplicationContext ) Root WebApplicationContext: initialization completed in 72 ms
[INFO] 2008-10-28 15:26:11,106 main:( /chat.invoke0 ) Set web app root system property: '/chat' = [/opt/ray_server/RMS_3.5.1/webapps/chat/]
[INFO] 2008-10-28 15:26:11,107 main:( /chat.invoke0 ) Initializing Log4J from [/opt/ray_server/RMS_3.5.1/webapps/chat/WEB-INF/log4j.properties]
[INFO] 2008-10-28 15:26:11,109 main:( /chat.invoke0 ) Initializing Spring root WebApplicationContext
[INFO] 2008-10-28 15:26:11,110 main:( org.springframework.web.context.ContextLoader.initWebApplicationContext ) Root WebApplicationContext: initialization started
[INFO] 2008-10-28 15:26:11,126 main:( org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.loadProperties ) Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] 2008-10-28 15:26:11,128 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons ) Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@2c03ff: defining beans [placeholderConfig,web.context,web.scope,web.handler]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@5cc942


[RAY notification - Chat.init] Application chat 3.5 was started
[INFO] 2008-10-28 15:26:11,149 main:( org.springframework.web.context.ContextLoader.initWebApplicationContext ) Root WebApplicationContext: initialization completed in 39 ms
[INFO] 2008-10-28 15:26:11,179 main:( /board.invoke0 ) Set web app root system property: '/board' = [/opt/ray_server/RMS_3.5.1/webapps/board/]
[INFO] 2008-10-28 15:26:11,179 main:( /board.invoke0 ) Initializing Log4J from [/opt/ray_server/RMS_3.5.1/webapps/board/WEB-INF/log4j.properties]
[INFO] 2008-10-28 15:26:11,182 main:( /board.invoke0 ) Initializing Spring root WebApplicationContext
[INFO] 2008-10-28 15:26:11,182 main:( org.springframework.web.context.ContextLoader.initWebApplicationContext ) Root WebApplicationContext: initialization started
[INFO] 2008-10-28 15:26:11,198 main:( org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.loadProperties ) Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] 2008-10-28 15:26:11,200 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons ) Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@15118a7: defining beans [placeholderConfig,web.context,web.scope,web.handler]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@5cc942


[RAY notification - Board.init] Board application was started
[INFO] 2008-10-28 15:26:11,214 main:( org.springframework.web.context.ContextLoader.initWebApplicationContext ) Root WebApplicationContext: initialization completed in 32 ms
[INFO] 2008-10-28 15:26:11,244 main:( /global.invoke0 ) Set web app root system property: '/global' = [/opt/ray_server/RMS_3.5.1/webapps/global/]
[INFO] 2008-10-28 15:26:11,245 main:( /global.invoke0 ) Initializing Log4J from [/opt/ray_server/RMS_3.5.1/webapps/global/WEB-INF/log4j.properties]
[INFO] 2008-10-28 15:26:11,248 main:( /global.invoke0 ) Initializing Spring root WebApplicationContext
[INFO] 2008-10-28 15:26:11,248 main:( org.springframework.web.context.ContextLoader.initWebApplicationContext ) Root WebApplicationContext: initialization started
[INFO] 2008-10-28 15:26:11,264 main:( org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.loadProperties ) Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] 2008-10-28 15:26:11,266 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons ) Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@725967: defining beans [placeholderConfig,web.context,web.scope,web.handler]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@5cc942


[RAY notification] Application started Global Server
[INFO] 2008-10-28 15:26:11,282 main:( org.springframework.web.context.ContextLoader.initWebApplicationContext ) Root WebApplicationContext: initialization completed in 34 ms
[INFO] 2008-10-28 15:26:11,318 main:( /im.invoke ) Set web app root system property: '/im' = [/opt/ray_server/RMS_3.5.1/webapps/im/]
[INFO] 2008-10-28 15:26:11,318 main:( /im.invoke ) Initializing Log4J from [/opt/ray_server/RMS_3.5.1/webapps/im/WEB-INF/log4j.properties]
[INFO] 2008-10-28 15:26:11,321 main:( /im.invoke ) Initializing Spring root WebApplicationContext
[INFO] 2008-10-28 15:26:11,321 main:( org.springframework.web.context.ContextLoader.initWebApplicationContext ) Root WebApplicationContext: initialization started
[INFO] 2008-10-28 15:26:11,336 main:( org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.loadProperties ) Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] 2008-10-28 15:26:11,338 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons ) Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@9b777a: defining beans [placeholderConfig,web.context,web.scope,web.handler]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@5cc942


[RAY notification] Application IM 3.5 was started
[INFO] 2008-10-28 15:26:11,351 main:( org.springframework.web.context.ContextLoader.initWebApplicationContext ) Root WebApplicationContext: initialization completed in 30 ms
[INFO] 2008-10-28 15:26:11,355 main:( org.mortbay.log.invoke ) Started SelectChannelConnector@0.0.0.0:10080
[INFO] 2008-10-28 15:26:11,355 main:( org.red5.server.Standalone.main ) Startup done in: 2467 ms

The Server seems to be running?

No i go to this page: http://www.boonex.com/rms.html

i give my server connection data.

i get this error: NetConnection.Connect.Failed

Quote · 28 Oct 2008

Did you open up your firewall in IPTables (or whatever firewall you are using) to allow ports 1935,1936 and 5080?. If you don't have the right type of access to edit the firewall rules, you will need to contact your hosting company in order to have those ports opened up.

Quote · 28 Oct 2008

Hi,

sure all my ports are normaly open, how i can show my iptables ports? using Debian etch? i´m the owner of the server

Quote · 29 Oct 2008

Same thing here buddy. I'm on the lookout for a solution and so far things are looking bleak.

Quote · 31 Oct 2008

I also have the same problem. It doesn't work even with firewall disabled so I am sure its not because of firewall. When I check the connection using http://www.boonex.com/rms.html, I get the NetConnection.Connect.Failed error. Also, in my red5 output I see the following.

[ERROR] 2009-01-07 16:26:06,346 pool-3-thread-4:( org.red5.server.net.rtmp.RTMPHandler.onInvoke ) Error connecting
java.lang.ArrayIndexOutOfBoundsException: 1
at org.red5.server.webapp.chat.Application.connect(Application.java:206)
at org.red5.server.Scope.connect(Scope.java:417)
at org.red5.server.BaseConnection.connect(BaseConnection.java:264)
at org.red5.server.net.rtmp.RTMPConnection.connect(RTMPConnection.java:244)
at org.red5.server.net.rtmp.RTMPMinaConnection.connect(RTMPMinaConnection.java:67)
at org.red5.server.net.rtmp.RTMPHandler.onInvoke(RTMPHandler.java:313)
at org.red5.server.net.rtmp.BaseRTMPHandler.messageReceived(BaseRTMPHandler.java:143)
at org.red5.server.net.rtmp.RTMPMinaIoHandler.messageReceived(RTMPMinaIoHandler.java:120)
at org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived(AbstractIoFilterChain.java:570)
at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299)
at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53)
at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648)
at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:220)
at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(ExecutorFilter.java:264)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)

Previously it used to say "Unknown Space" inside those brackets, but I managed to get rid of that message by installing Java by following this tutorial. http://nicklothian.com/blog/2008/12/07/installing-java-on-redhat-linux-by-building-your-own-rpm/.

Quote · 7 Jan 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.