It looks to me like you're trying to use a port that is already in use. Try changing it to something else, or find out what is using the offending port and kill it :) Configuration files for your red5 should be in /usr/lib/red5/conf (cant remember exactly :)
On 8/26/07, James Throgmorton <[EMAIL PROTECTED]> wrote: > > I am trying to setup red5 on my server, but I am having no luck. > > I do not know anything about bean factories, but I want to get this > service running so that I can use open meetings. > > This is the output that I get when I run red5.sh > > > Is there help for me? > Thanks > > > [INFO] 0 main:( org.red5.server.Standalone.main ) RED5 Server > (http://www.osflash.org/red5) > > [INFO] 6 main:( org.red5.server.Standalone.main ) Loading red5 global > context from: red5.xml > [INFO] 8 main:( org.red5.server.Standalone.main ) Setting configuation > root to /usr/lib/red5/conf > [INFO] 12 main:( org.red5.server.Standalone.main ) Setting Red5 root to > //usr/lib/red5 > [INFO] 12 main:( org.red5.server.Standalone.main ) Setting webapp root to > //usr/lib/red5 > [INFO] 112 main:( > org.springframework.context.support.ClassPathXmlApplicationContext.prepareRefresh > ) Refreshing > [EMAIL PROTECTED]: display name [ > [EMAIL PROTECTED]; > startup date [Sat Aug 25 18:17:45 CDT 2007]; root of context hierarchy > [INFO] 4148 main:( > org.springframework.context.support.ClassPathXmlApplicationContext.obtainFreshBeanFactory) > Bean factory for application context [ > [EMAIL PROTECTED]: > > [EMAIL PROTECTED] > [INFO] 4182 main:( > org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons) > Pre-instantiating singletons in > [EMAIL PROTECTED]: > defining beans [red5.common,red5.core,context.loader,jetty6.server]; root > of factory hierarchy > [INFO] 4377 main:( > org.springframework.context.support.FileSystemXmlApplicationContext.prepareRefresh) > Refreshing > [EMAIL PROTECTED]: > display name [ > [EMAIL PROTECTED]; startup date [Sat Aug 25 18:17:49 CDT 2007]; root of > context hierarchy > [INFO] 4606 main:( > org.springframework.context.support.FileSystemXmlApplicationContext.obtainFreshBeanFactory) > Bean factory for application context [ > [EMAIL PROTECTED]: > > [EMAIL PROTECTED] > [INFO] 4890 main:( > org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons) > Pre-instantiating singletons in > [EMAIL PROTECTED]: > 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] 5092 main:( org.red5.server.jmx.JMXAgent.init ) JMX HTML adapter > was not enabled > [INFO] 5970 main:( org.red5.server.jmx.JMXAgent.init ) JMX RMI connector > server successfully started > [INFO] 7599 main:( > org.springframework.context.support.FileSystemXmlApplicationContext.prepareRefresh) > Refreshing > [EMAIL PROTECTED]: > display name [ > [EMAIL PROTECTED]; > startup date [Sat Aug 25 18:17:52 CDT 2007]; parent: > [EMAIL PROTECTED] > [INFO] 7675 main:( > org.springframework.context.support.FileSystemXmlApplicationContext.obtainFreshBeanFactory) > Bean factory for application context [ > [EMAIL PROTECTED]: > > [EMAIL PROTECTED] > [INFO] 7803 main:( > org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.loadProperties) > Loading properties file from class path resource [ > red5.properties] > [INFO] 7811 main:( > org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons) > Pre-instantiating singletons in > [EMAIL PROTECTED]: > defining beans > [customEditorConfigurer,placeholderConfig,rtmpHandler,rtmpMinaIoHandler,rtmpTransport,rtmpMinaConnection,rtmptHandler,rtmptConnection, > rtmpt.server]; parent: > [EMAIL PROTECTED] > [INFO] 7863 main:( org.red5.server.net.rtmp.RTMPMinaTransport.start ) RTMP > Mina Transport Settings > [INFO] 7864 main:( org.red5.server.net.rtmp.RTMPMinaTransport.start ) IO > Threads: 1+1 > [INFO] 7865 main:( org.red5.server.net.rtmp.RTMPMinaTransport.start ) > Event Threads: core: 16+1 max: 32+1 queue: -1 keepalive: 60 > [INFO] 7937 main:( org.red5.server.net.rtmp.RTMPMinaTransport.start ) TCP > No Delay: false > [INFO] 7942 main:( org.red5.server.net.rtmp.RTMPMinaTransport.start ) > Receive Buffer Size: 65536 > [INFO] 7943 main:( org.red5.server.net.rtmp.RTMPMinaTransport.start ) Send > Buffer Size: 271360 > [INFO] 7979 main:( > org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons) > Destroying singletons in > [EMAIL PROTECTED]: defining beans > [customEditorConfigurer,placeholderConfig,rtmpHandler,rtmpMinaIoHandler,rtmpTransport,rtmpMinaConnection,rtmptHandler,rtmptConnection, > rtmpt.server]; parent: > [EMAIL PROTECTED] > [INFO] 7981 main:( > org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons) > Destroying singletons in > [EMAIL PROTECTED]: > defining beans [ red5.common,red5.core,context.loader,jetty6.server]; root > of factory hierarchy > [INFO] 7982 main:( > org.springframework.context.support.FileSystemXmlApplicationContext.doClose) > Closing > [EMAIL PROTECTED]: display name [ > [EMAIL PROTECTED]; > startup date [Sat Aug 25 18:17:49 CDT 2007]; root of context hierarchy > [INFO] 7983 main:( > org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons) > Destroying singletons in > [EMAIL PROTECTED]: > 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 > Exception in thread "main" 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.SocketAcceptor.registerNew > (SocketAcceptor.java:400) > at org.apache.mina.transport.socket.nio.SocketAcceptor.access$900( > SocketAcceptor.java:55) > at org.apache.mina.transport.socket.nio.SocketAcceptor$Worker.run( > SocketAcceptor.java:235) > at org.apache.mina.util.NamePreservingRunnable.run( > NamePreservingRunnable.java:43) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask( > ThreadPoolExecutor.java:650) > at java.util.concurrent.ThreadPoolExecutor$Worker.run( > ThreadPoolExecutor.java:675) > at java.lang.Thread.run (Thread.java:595) > > _______________________________________________ > Red5 mailing list > [email protected] > http://osflash.org/mailman/listinfo/red5_osflash.org > > -- lp, Anže
_______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
