Java Error while try connect to Red5 Tester

Hello,

 

Please can somebody help me, I getting tierd now,

I've setup the RMS on a seprate Dedicated Server how it is explain in the howto and it starts:

 

HERE IS THE STARTUP MSG:

 

[INFO] 2008-08-10 17:10:24,142 main:( org.red5.server.Standalone.main ) RED5 Server (http://www.osflash.org/red5)
[INFO] 2008-08-10 17:10:24,150 main:( org.red5.server.Standalone.main ) Loading red5 global context from: red5.xml
[INFO] 2008-08-10 17:10:24,154 main:( org.red5.server.Standalone.main ) Setting Red5 root to //var/www/vhosts/rms.jpr-networx.net/RMS_3.5.1
[INFO] 2008-08-10 17:10:24,155 main:( org.red5.server.Standalone.main ) Setting configuation root to /var/www/vhosts/rms.jpr-networx.net/RMS_3.5.1/conf
[INFO] 2008-08-10 17:10:24,272 main:( org.springframework.context.support.ClassPathXmlApplicationContext.prepareRefresh ) Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@181edf4: display name [org.springframework.context.support.ClassPathXmlApplicationContext@181edf4]; startup date [Sun Aug 10 17:10:24 EDT 2008]; root of context hierarchy
[INFO] 2008-08-10 17:10:25,043 main:( org.springframework.context.support.ClassPathXmlApplicationContext.obtainFreshBeanFactory ) Bean factory for application context [org.springframework.context.support.ClassPathXmlApplicationContext@181edf4]: org.springframework.beans.factory.support.DefaultListableBeanFactory@e70e30
[INFO] 2008-08-10 17:10:25,090 main:( org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.loadProperties ) Loading properties file from class path resource [red5.properties]
[INFO] 2008-08-10 17:10:25,098 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons ) Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@e70e30: defining beans [placeholderConfig,red5.common,red5.core,context.loader,jetty6.server]; root of factory hierarchy
[INFO] 2008-08-10 17:10:25,115 main:( org.springframework.context.support.FileSystemXmlApplicationContext.prepareRefresh ) Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@1b06041: display name [org.springframework.context.support.FileSystemXmlApplicationContext@1b06041]; startup date [Sun Aug 10 17:10:25 EDT 2008]; root of context hierarchy
[INFO] 2008-08-10 17:10:25,219 main:( org.springframework.context.support.FileSystemXmlApplicationContext.obtainFreshBeanFactory ) Bean factory for application context [org.springframework.context.support.FileSystemXmlApplicationContext@1b06041]: org.springframework.beans.factory.support.DefaultListableBeanFactory@992bae
[INFO] 2008-08-10 17:10:25,252 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons ) Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@992bae: 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-08-10 17:10:25,312 main:( org.red5.server.jmx.JMXAgent.init ) JMX HTML adapter was not enabled
[INFO] 2008-08-10 17:10:25,345 main:( org.red5.server.jmx.JMXAgent.init ) RMI Registry server was not found on port 9999
[INFO] 2008-08-10 17:10:25,345 main:( org.red5.server.jmx.JMXAgent.init ) Starting an internal RMI registry
[INFO] 2008-08-10 17:10:25,459 main:( org.red5.server.jmx.JMXAgent.init ) JMX RMI connector server successfully started
[INFO] 2008-08-10 17:10:25,624 main:( org.red5.io.StreamableFileFactory.setServices ) StreamableFileFactory set services
[INFO] 2008-08-10 17:10:25,837 main:( org.springframework.context.support.FileSystemXmlApplicationContext.prepareRefresh ) Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@135f44e: display name [org.springframework.context.support.FileSystemXmlApplicationContext@135f44e]; startup date [Sun Aug 10 17:10:25 EDT 2008]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@1b06041
[INFO] 2008-08-10 17:10:25,899 main:( org.springframework.context.support.FileSystemXmlApplicationContext.obtainFreshBeanFactory ) Bean factory for application context [org.springframework.context.support.FileSystemXmlApplicationContext@135f44e]: org.springframework.beans.factory.support.DefaultListableBeanFactory@1a8d460
[INFO] 2008-08-10 17:10:25,929 main:( org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.loadProperties ) Loading properties file from class path resource [red5.properties]
[INFO] 2008-08-10 17:10:25,932 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons ) Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1a8d460: defining beans [customEditorConfigurer,placeholderConfig,rtmpHandler,rtmpMinaIoHandler,rtmpTransport,rtmpMinaConnection,rtmptHandler,rtmptServlet,rtmptConnection,rtmpt.server]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@992bae
[INFO] 2008-08-10 17:10:25,948 main:( org.red5.server.net.rtmp.RTMPMinaTransport.start ) RTMP Mina Transport Settings
[INFO] 2008-08-10 17:10:25,949 main:( org.red5.server.net.rtmp.RTMPMinaTransport.start ) IO Threads: 2+1
[INFO] 2008-08-10 17:10:25,949 main:( org.red5.server.net.rtmp.RTMPMinaTransport.start ) Event Threads: core: 16+1 max: 32+1 queue: -1 keepalive: 60
[INFO] 2008-08-10 17:10:25,977 main:( org.red5.server.net.rtmp.RTMPMinaTransport.start ) TCP No Delay: false
[INFO] 2008-08-10 17:10:25,978 main:( org.red5.server.net.rtmp.RTMPMinaTransport.start ) Receive Buffer Size: 65536
[INFO] 2008-08-10 17:10:25,978 main:( org.red5.server.net.rtmp.RTMPMinaTransport.start ) Send Buffer Size: 271360
[INFO] 2008-08-10 17:10:25,989 main:( org.red5.server.net.rtmp.RTMPMinaTransport.start ) RTMP Mina Transport bound to 0.0.0.0/0.0.0.0:1935
[INFO] 2008-08-10 17:10:26,018 main:( org.springframework.context.support.ClassPathXmlApplicationContext.prepareRefresh ) Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@19646fd: display name [org.springframework.context.support.ClassPathXmlApplicationContext@19646fd]; startup date [Sun Aug 10 17:10:26 EDT 2008]; root of context hierarchy
[INFO] 2008-08-10 17:10:26,058 main:( org.springframework.context.support.ClassPathXmlApplicationContext.obtainFreshBeanFactory ) Bean factory for application context [org.springframework.context.support.ClassPathXmlApplicationContext@19646fd]: org.springframework.beans.factory.support.DefaultListableBeanFactory@345b43
[INFO] 2008-08-10 17:10:26,067 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons ) Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@345b43: defining beans [placeholderConfig,sysProps,webappRoot,rtmptHost,rtmptPort,Server]; root of factory hierarchy
[INFO] 2008-08-10 17:10:26,187 main:( org.mortbay.log.invoke0 ) Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog
[INFO] 2008-08-10 17:10:26,231 main:( org.mortbay.log.invoke0 ) jetty-6.1.5
[INFO] 2008-08-10 17:10:26,284 main:( org.mortbay.log.invoke0 ) Started SelectChannelConnector@0.0.0.0:8088
[INFO] 2008-08-10 17:10:26,288 main:( org.springframework.context.support.FileSystemXmlApplicationContext.prepareRefresh ) Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@15cd9c0: display name [org.springframework.context.support.FileSystemXmlApplicationContext@15cd9c0]; startup date [Sun Aug 10 17:10:26 EDT 2008]; parent: org.springframework.context.support.FileSystemXmlApplicationContext@1b06041
[INFO] 2008-08-10 17:10:26,306 main:( org.springframework.context.support.FileSystemXmlApplicationContext.obtainFreshBeanFactory ) Bean factory for application context [org.springframework.context.support.FileSystemXmlApplicationContext@15cd9c0]: org.springframework.beans.factory.support.DefaultListableBeanFactory@b113c7
[INFO] 2008-08-10 17:10:26,314 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons ) Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@b113c7: defining beans [global.clientRegistry,global.serviceInvoker,global.mappingStrategy,global.context,global.handler,global.scope,red5.scopeResolver]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@992bae
[INFO] 2008-08-10 17:10:26,360 main:( org.springframework.context.support.ClassPathXmlApplicationContext.prepareRefresh ) Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@29d294: display name [org.springframework.context.support.ClassPathXmlApplicationContext@29d294]; startup date [Sun Aug 10 17:10:26 EDT 2008]; root of context hierarchy
[INFO] 2008-08-10 17:10:26,385 main:( org.springframework.context.support.ClassPathXmlApplicationContext.obtainFreshBeanFactory ) Bean factory for application context [org.springframework.context.support.ClassPathXmlApplicationContext@29d294]: org.springframework.beans.factory.support.DefaultListableBeanFactory@1ce15f6
[INFO] 2008-08-10 17:10:26,388 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons ) Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1ce15f6: defining beans [placeholderConfig,sysProps,webappRoot,httpHost,httpPort,Server]; root of factory hierarchy
[INFO] 2008-08-10 17:10:26,432 main:( org.mortbay.log.invoke0 ) jetty-6.1.5
[INFO] 2008-08-10 17:10:26,559 main:( /im.invoke0 ) Set web app root system property: '/im' = [/var/www/vhosts/rms.jpr-networx.net/RMS_3.5.1/webapps/im/]
[INFO] 2008-08-10 17:10:26,560 main:( /im.invoke0 ) Initializing Log4J from [/var/www/vhosts/rms.jpr-networx.net/RMS_3.5.1/webapps/im/WEB-INF/log4j.properties]
[INFO] 2008-08-10 17:10:26,564 main:( /im.invoke0 ) Initializing Spring root WebApplicationContext
[INFO] 2008-08-10 17:10:26,565 main:( org.springframework.web.context.ContextLoader.initWebApplicationContext ) Root WebApplicationContext: initialization started
[INFO] 2008-08-10 17:10:26,602 main:( org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.loadProperties ) Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] 2008-08-10 17:10:26,607 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons ) Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@179b7b0: defining beans [placeholderConfig,web.context,web.scope,web.handler]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@b113c7


[RAY notification] Application IM 3.5 was started
[INFO] 2008-08-10 17:10:26,639 main:( org.springframework.web.context.ContextLoader.initWebApplicationContext ) Root WebApplicationContext: initialization completed in 74 ms
[INFO] 2008-08-10 17:10:26,740 main:( /chat.invoke0 ) Set web app root system property: '/chat' = [/var/www/vhosts/rms.jpr-networx.net/RMS_3.5.1/webapps/chat/]
[INFO] 2008-08-10 17:10:26,741 main:( /chat.invoke0 ) Initializing Log4J from [/var/www/vhosts/rms.jpr-networx.net/RMS_3.5.1/webapps/chat/WEB-INF/log4j.properties]
[INFO] 2008-08-10 17:10:26,743 main:( /chat.invoke0 ) Initializing Spring root WebApplicationContext
[INFO] 2008-08-10 17:10:26,744 main:( org.springframework.web.context.ContextLoader.initWebApplicationContext ) Root WebApplicationContext: initialization started
[INFO] 2008-08-10 17:10:26,762 main:( org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.loadProperties ) Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] 2008-08-10 17:10:26,764 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons ) Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@6a2f81: defining beans [placeholderConfig,web.context,web.scope,web.handler]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@b113c7


[RAY notification - Chat.init] Application chat 3.5 was started
[INFO] 2008-08-10 17:10:26,798 main:( org.springframework.web.context.ContextLoader.initWebApplicationContext ) Root WebApplicationContext: initialization completed in 54 ms
[INFO] 2008-08-10 17:10:26,867 main:( /board.invoke0 ) Set web app root system property: '/board' = [/var/www/vhosts/rms.jpr-networx.net/RMS_3.5.1/webapps/board/]
[INFO] 2008-08-10 17:10:26,868 main:( /board.invoke0 ) Initializing Log4J from [/var/www/vhosts/rms.jpr-networx.net/RMS_3.5.1/webapps/board/WEB-INF/log4j.properties]
[INFO] 2008-08-10 17:10:26,871 main:( /board.invoke0 ) Initializing Spring root WebApplicationContext
[INFO] 2008-08-10 17:10:26,871 main:( org.springframework.web.context.ContextLoader.initWebApplicationContext ) Root WebApplicationContext: initialization started
[INFO] 2008-08-10 17:10:26,903 main:( org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.loadProperties ) Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] 2008-08-10 17:10:26,919 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons ) Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1abbec4: defining beans [placeholderConfig,web.context,web.scope,web.handler]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@b113c7


[RAY notification - Board.init] Board application was started
[INFO] 2008-08-10 17:10:26,943 main:( org.springframework.web.context.ContextLoader.initWebApplicationContext ) Root WebApplicationContext: initialization completed in 71 ms
[INFO] 2008-08-10 17:10:27,030 main:( /video.invoke0 ) Set web app root system property: '/video' = [/var/www/vhosts/rms.jpr-networx.net/RMS_3.5.1/webapps/video/]
[INFO] 2008-08-10 17:10:27,030 main:( /video.invoke0 ) Initializing Log4J from [/var/www/vhosts/rms.jpr-networx.net/RMS_3.5.1/webapps/video/WEB-INF/log4j.properties]
[INFO] 2008-08-10 17:10:27,033 main:( /video.invoke0 ) Initializing Spring root WebApplicationContext
[INFO] 2008-08-10 17:10:27,034 main:( org.springframework.web.context.ContextLoader.initWebApplicationContext ) Root WebApplicationContext: initialization started
[INFO] 2008-08-10 17:10:27,055 main:( org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.loadProperties ) Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] 2008-08-10 17:10:27,057 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons ) Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@3526cf: defining beans [placeholderConfig,web.context,web.scope,web.handler]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@b113c7


[RAY notification - Video.init] Application Video was started
[INFO] 2008-08-10 17:10:27,080 main:( org.springframework.web.context.ContextLoader.initWebApplicationContext ) Root WebApplicationContext: initialization completed in 46 ms
[INFO] 2008-08-10 17:10:27,128 main:( /global.invoke ) Set web app root system property: '/global' = [/var/www/vhosts/rms.jpr-networx.net/RMS_3.5.1/webapps/global/]
[INFO] 2008-08-10 17:10:27,129 main:( /global.invoke ) Initializing Log4J from [/var/www/vhosts/rms.jpr-networx.net/RMS_3.5.1/webapps/global/WEB-INF/log4j.properties]
[INFO] 2008-08-10 17:10:27,132 main:( /global.invoke ) Initializing Spring root WebApplicationContext
[INFO] 2008-08-10 17:10:27,133 main:( org.springframework.web.context.ContextLoader.initWebApplicationContext ) Root WebApplicationContext: initialization started
[INFO] 2008-08-10 17:10:27,157 main:( org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.loadProperties ) Loading properties file from ServletContext resource [/WEB-INF/red5-web.properties]
[INFO] 2008-08-10 17:10:27,163 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons ) Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@106433d: defining beans [placeholderConfig,web.context,web.scope,web.handler]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@b113c7


[RAY notification] Application started Global Server
[INFO] 2008-08-10 17:10:27,185 main:( org.springframework.web.context.ContextLoader.initWebApplicationContext ) Root WebApplicationContext: initialization completed in 50 ms
[INFO] 2008-08-10 17:10:27,188 main:( org.mortbay.log.invoke ) Started SelectChannelConnector@0.0.0.0:5080
[INFO] 2008-08-10 17:10:27,189 main:( org.red5.server.Standalone.main ) Startup done in: 3049 m

--- END OF THE STARTUP MSG ---

 

Then I try to test it with the boonex Red5 Tester and become this error code:

 

--- START OF THE ERROR MSG ---

 

amework.context.support.FileSystemXmlApplicationContext@1b06041]; startup date [Sun Aug 10 17:10:25 EDT 2008]; root of context hierarchy
[ERROR] 2008-08-10 17:16:07,838 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:885)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
        at java.lang.Thread.run(Thread.java:619)

 

--- END OF THE ERROR MSG ---

 

The Java JDK 1.6.0.6 is installed and there is CentOS 5.2

 

Thank you for helping me.

 

Quote · 10 Aug 2008

check your path to java in ray.sh, also check your version i have read it needs to be jre 5 and above....

Quote · 10 Aug 2008

also if you set the accessdat to allow specific hosts it wont let rms tester connec

Quote · 10 Aug 2008
 
 
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.