Thanks for the 0.4 version... great work! My red5 server runs on debian and the red5 0.3 version came with some handy debian packages (in the mailing list). Any chance we might see them this time? Already tried to install the 0.4 with ANT but i can't get red5 running with the red5.sh script. Following output generated:: >>
[INFO] 0 main:( org.red5.server.Standalone.main ) RED5 Server (http://www.osflash.org/red5) [INFO] 5 main:( org.red5.server.Standalone.main ) Loading red5 global context from: red5.xml [INFO] 14 main:( org.red5.server.Standalone.main ) Setting configuation root to /root/red5_04/conf [INFO] 21 main:( org.red5.server.Standalone.main ) Setting Red5 root to //root/red5_04 [INFO] 456 main:( org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions ) Loading XML bean definitions from URL [file:/root/red5_04/conf/red5.xml] [INFO] 716 main:( org.springframework.context.support.ClassPathXmlApplicationContext.refreshBeanFactory ) Bean factory for application context [org.springframework.context.support.ClassPathXmlApplicationContext;hashCode=12893404]: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [red5.common,red5.core,context.loader,jetty6.server]; root of BeanFactory hierarchy [INFO] 745 main:( org.springframework.context.support.ClassPathXmlApplicationContext.refresh ) 4 beans defined in application context [org.springframework.context.support.ClassPathXmlApplicationContext;hashCode=12893404] [INFO] 807 main:( org.springframework.core.CollectionFactory.<clinit> ) JDK 1.4+ collections available [INFO] 870 main:( org.springframework.core.CollectionFactory.<clinit> ) Commons Collections 3.x available [INFO] 875 main:( org.springframework.context.support.ClassPathXmlApplicationContext.initMessageSource ) Unable to locate MessageSource with name 'messageSource': using default [EMAIL PROTECTED] [INFO] 879 main:( org.springframework.context.support.ClassPathXmlApplicationContext.initApplicationEventMulticaster ) Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [EMAIL PROTECTED] [INFO] 897 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons ) Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [red5.common,red5.core,context.loader,jetty6.server]; root of BeanFactory hierarchy] [INFO] 897 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean ) Creating shared instance of singleton bean 'red5.common' [INFO] 1076 main:( org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions ) Loading XML bean definitions from class path resource [red5-common.xml] [INFO] 1212 main:( org.springframework.context.support.FileSystemXmlApplicationContext.refreshBeanFactory ) Bean factory for application context [org.springframework.context.support.FileSystemXmlApplicationContext;hashCode=23910357]: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [red5.server,serializer,deserializer,statusObjectService,rtmpCodecFactory,remotingCodecFactory,videoCodecFactory]; root of BeanFactory hierarchy [INFO] 1213 main:( org.springframework.context.support.FileSystemXmlApplicationContext.refresh ) 7 beans defined in application context [org.springframework.context.support.FileSystemXmlApplicationContext;hashCode=23910357] [INFO] 1214 main:( org.springframework.context.support.FileSystemXmlApplicationContext.initMessageSource ) Unable to locate MessageSource with name 'messageSource': using default [EMAIL PROTECTED] [INFO] 1215 main:( org.springframework.context.support.FileSystemXmlApplicationContext.initApplicationEventMulticaster ) Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [EMAIL PROTECTED] [INFO] 1216 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons ) Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [red5.server,serializer,deserializer,statusObjectService,rtmpCodecFactory,remotingCodecFactory,videoCodecFactory]; root of BeanFactory hierarchy] [INFO] 1217 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean ) Creating shared instance of singleton bean 'red5.server' [INFO] 1242 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean ) Creating shared instance of singleton bean 'serializer' [INFO] 1323 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean ) Creating shared instance of singleton bean 'deserializer' [INFO] 1328 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean ) Creating shared instance of singleton bean 'statusObjectService' [INFO] 1632 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean ) Creating shared instance of singleton bean 'rtmpCodecFactory' [INFO] 1723 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean ) Creating shared instance of singleton bean 'remotingCodecFactory' [INFO] 1735 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean ) Creating shared instance of singleton bean 'videoCodecFactory' [INFO] 1813 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean ) Creating shared instance of singleton bean 'red5.core' [INFO] 1818 main:( org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions ) Loading XML bean definitions from class path resource [red5-core.xml] [INFO] 2093 main:( org.springframework.context.support.FileSystemXmlApplicationContext.refreshBeanFactory ) Bean factory for application context [org.springframework.context.support.FileSystemXmlApplicationContext;hashCode=28061596]: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [customEditorConfigurer,placeholderConfig,threadPoolFilter,filterChainBuilder,socketAcceptor,rtmpHandler,rtmpMinaIoHandler,rtmptHandler,rtmpt.server]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [red5.server,serializer,deserializer,statusObjectService,rtmpCodecFactory,remotingCodecFactory,videoCodecFactory]; root of BeanFactory hierarchy [INFO] 2095 main:( org.springframework.context.support.FileSystemXmlApplicationContext.refresh ) 9 beans defined in application context [org.springframework.context.support.FileSystemXmlApplicationContext;hashCode=28061596] [INFO] 2096 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean ) Creating shared instance of singleton bean 'customEditorConfigurer' [INFO] 2114 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean ) Creating shared instance of singleton bean 'placeholderConfig' [INFO] 2174 main:( org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.loadProperties ) Loading properties file from class path resource [red5.properties] [INFO] 2179 main:( org.springframework.context.support.FileSystemXmlApplicationContext.initMessageSource ) Unable to locate MessageSource with name 'messageSource': using default [EMAIL PROTECTED] [INFO] 2180 main:( org.springframework.context.support.FileSystemXmlApplicationContext.initApplicationEventMulticaster ) Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [EMAIL PROTECTED] [INFO] 2181 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons ) Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [customEditorConfigurer,placeholderConfig,threadPoolFilter,filterChainBuilder,socketAcceptor,rtmpHandler,rtmpMinaIoHandler,rtmptHandler,rtmpt.server]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [red5.server,serializer,deserializer,statusObjectService,rtmpCodecFactory,remotingCodecFactory,videoCodecFactory]; root of BeanFactory hierarchy] [INFO] 2182 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean ) Creating shared instance of singleton bean 'threadPoolFilter' [INFO] 2254 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean ) Creating shared instance of singleton bean 'filterChainBuilder' [INFO] 2287 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean ) Creating shared instance of singleton bean 'socketAcceptor' [INFO] 2541 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean ) Creating shared instance of singleton bean 'rtmpMinaIoHandler' [INFO] 2550 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean ) Creating shared instance of singleton bean 'rtmpHandler' [INFO] 2640 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons ) Destroying singletons in factory {org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [customEditorConfigurer,placeholderConfig,threadPoolFilter,filterChainBuilder,socketAcceptor,rtmpHandler,rtmpMinaIoHandler,rtmptHandler,rtmpt.server]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [red5.server,serializer,deserializer,statusObjectService,rtmpCodecFactory,remotingCodecFactory,videoCodecFactory]; root of BeanFactory hierarchy} [INFO] 2645 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons ) Destroying singletons in factory {org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [red5.common,red5.core,context.loader,jetty6.server]; root of BeanFactory hierarchy} [INFO] 2646 main:( org.springframework.context.support.FileSystemXmlApplicationContext.close ) Closing application context [org.springframework.context.support.FileSystemXmlApplicationContext;hashCode=23910357] [INFO] 2647 main:( org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons ) Destroying singletons in factory {org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [red5.server,serializer,deserializer,statusObjectService,rtmpCodecFactory,remotingCodecFactory,videoCodecFactory]; root of BeanFactory hierarchy} Exception in thread "main" org.springframework.beans.factory.access.BootstrapException: Unable to initialize group definition. Group resource name [classpath*:red5.xml], factory key [red5.common]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'red5.core' defined in URL [file:/root/red5_04/conf/red5.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.FatalBeanException: Could not instantiate class [org.springframework.context.support.FileSystemXmlApplicationContext]; constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'socketAcceptor' defined in class path resource [red5-core.xml]: Initialization of bean failed; nested exception is java.net.BindException: Address already in use org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'red5.core' defined in URL [file:/root/red5_04/conf/red5.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.FatalBeanException: Could not instantiate class [org.springframework.context.support.FileSystemXmlApplicationContext]; constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'socketAcceptor' defined in class path resource [red5-core.xml]: Initialization of bean failed; nested exception is java.net.BindException: Address already in use org.springframework.beans.FatalBeanException: Could not instantiate class [org.springframework.context.support.FileSystemXmlApplicationContext]; constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'socketAcceptor' defined in class path resource [red5-core.xml]: Initialization of bean failed; nested exception is java.net.BindException: Address already in use org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'socketAcceptor' defined in class path resource [red5-core.xml]: Initialization of bean failed; nested exception is java.net.BindException: Address already in use java.net.BindException: Address already in use at sun.nio.ch.Net.bind(Native Method) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59) at org.apache.mina.transport.socket.nio.support.SocketAcceptorDelegate.registerNew(SocketAcceptorDelegate.java:487) at org.apache.mina.transport.socket.nio.support.SocketAcceptorDelegate.access$1000(SocketAcceptorDelegate.java:58) at org.apache.mina.transport.socket.nio.support.SocketAcceptorDelegate$Worker.run(SocketAcceptorDelegate.java:328) I hope someone is able to help. I have Apache2 and MySQL installed. Any chance that's the problem? Greetings Ralph Das HKUTV project _______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
