mondain / red5

Automatically exported from code.google.com/p/red5
3 stars 8 forks source link

Cant start red5 #420

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Starting Red5
Red5 root: /usr/local/red5
Configuation root: /usr/local/red5/conf
Selected libraries: (52 items)
file:/usr/local/red5/red5.jar
file:/usr/local/red5/lib/com.springsource.net.sf.cglib-2.2.0.jar
file:/usr/local/red5/lib/logback-core-1.0.3.jar
file:/usr/local/red5/lib/spring-beans-3.1.1.RELEASE.jar
file:/usr/local/red5/lib/xmlrpc-2.0.1.jar
file:/usr/local/red5/lib/commons-collections-3.2.1.jar
file:/usr/local/red5/lib/commons-modeler-2.0.1.jar
file:/usr/local/red5/lib/com.springsource.org.aopalliance-1.0.0.jar
file:/usr/local/red5/lib/jul-to-slf4j-1.6.6.jar
file:/usr/local/red5/lib/com.springsource.org.codehaus.groovy-1.7.0.jar
file:/usr/local/red5/lib/logback-classic-1.0.3.jar
file:/usr/local/red5/lib/spring-asm-3.1.1.RELEASE.jar
file:/usr/local/red5/lib/com.springsource.org.apache.xerces-2.9.1.jar
file:/usr/local/red5/lib/httpcore-4.2.1.jar
file:/usr/local/red5/lib/asm-commons-3.2.jar
file:/usr/local/red5/lib/commons-codec-1.6.jar
file:/usr/local/red5/lib/commons-beanutils-1.8.3.jar
file:/usr/local/red5/lib/commons-pool-1.5.6.jar
file:/usr/local/red5/lib/spring-core-3.1.1.RELEASE.jar
file:/usr/local/red5/lib/httpclient-4.2.jar
file:/usr/local/red5/lib/log4j-over-slf4j-1.6.6.jar
file:/usr/local/red5/lib/commons-lang3-3.1.jar
file:/usr/local/red5/lib/jaudiotagger-2.0.1.jar
file:/usr/local/red5/lib/quartz-1.8.5.jar
file:/usr/local/red5/lib/mina-integration-jmx-2.0.5.jar
file:/usr/local/red5/lib/com.springsource.javax.xml.stream-1.0.1.jar
file:/usr/local/red5/lib/spring-context-support-3.1.1.RELEASE.jar
file:/usr/local/red5/lib/spring-aop-3.1.1.RELEASE.jar
file:/usr/local/red5/lib/bcprov-jdk15on-1.47.jar
file:/usr/local/red5/lib/asm-3.2.jar
file:/usr/local/red5/lib/mina-core-2.0.5.jar
file:/usr/local/red5/lib/slf4j-api-1.6.6.jar
file:/usr/local/red5/lib/ehcache-core-2.5.0.jar
file:/usr/local/red5/lib/spring-expression-3.1.1.RELEASE.jar
file:/usr/local/red5/lib/com.springsource.org.antlr-3.1.3.jar
file:/usr/local/red5/lib/mina-integration-beans-2.0.5.jar
file:/usr/local/red5/lib/jcl-over-slf4j-1.6.6.jar
file:/usr/local/red5/lib/jruby-1.6.7.2.jar
file:/usr/local/red5/lib/com.springsource.org.mozilla.javascript-1.7.0.R2.jar
file:/usr/local/red5/lib/spring-web-3.1.1.RELEASE.jar
file:/usr/local/red5/lib/jython-standalone-2.5.2.jar
file:/usr/local/red5/lib/spring-context-3.1.1.RELEASE.jar
file:/usr/local/red5/lib/javaee-api-5.1.2.jar
file:/usr/local/red5/conf/
file:/usr/local/red5/plugins/
file:/usr/local/red5/plugins/jasper-el-6.0.36.jar
file:/usr/local/red5/plugins/catalina-6.0.36.jar
file:/usr/local/red5/plugins/tomcat-juli-slf4j-1.5.0.jar
file:/usr/local/red5/plugins/jasper-6.0.36.jar
file:/usr/local/red5/plugins/ecj-3.7.2.jar
file:/usr/local/red5/plugins/tomcat-coyote-6.0.36.jar
file:/usr/local/red5/plugins/tomcatplugin-1.3.jar

Root: /usr/local/red5
Deploy type: bootstrap
Logback selector: org.red5.logging.LoggingContextSelector
12:47:52,219 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could 
NOT find resource [logback.groovy]
12:47:52,221 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could 
NOT find resource [logback-test.xml]
12:47:52,222 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found 
resource [logback.xml] at [file:/usr/local/red5/conf/logback.xml]
12:47:52,264 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource 
[logback.xml] occurs multiple times on the classpath.
12:47:52,264 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource 
[logback.xml] occurs at [file:/usr/local/red5/conf/logback.xml]
12:47:52,264 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource 
[logback.xml] occurs at [file:/usr/local/red5/conf/logback.xml]
12:47:53,117 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction 
- debug attribute not set
12:47:53,198 |-ERROR in ch.qos.logback.core.util.ContextUtil@5ff06dc3 - Failed 
to get local hostname java.net.UnknownHostException: nguyendung-centos: 
nguyendung-centos
        at java.net.UnknownHostException: nguyendung-centos: nguyendung-centos
        at      at java.net.InetAddress.getLocalHost(InetAddress.java:1454)
        at      at ch.qos.logback.core.util.ContextUtil.getLocalHostName(ContextUtil.java:32)
        at      at ch.qos.logback.core.util.ContextUtil.addHostNameAsProperty(ContextUtil.java:41)
        at      at ch.qos.logback.classic.joran.action.ConfigurationAction.begin(ConfigurationAction.java:48)
        at      at ch.qos.logback.core.joran.spi.Interpreter.callBeginAction(Interpreter.java:276)
        at      at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:148)
        at      at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:130)
        at      at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:50)
        at      at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:147)
        at      at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:133)
        at      at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:96)
        at      at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:55)
        at      at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:75)
        at      at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:148)
        at      at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:93)
        at      at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:62)
        at      at java.lang.Class.forName0(Native Method)
        at      at java.lang.Class.forName(Class.java:188)
        at      at org.red5.logging.Red5LoggerFactory.getLogger(Red5LoggerFactory.java:119)
        at      at org.red5.logging.Red5LoggerFactory.getLogger(Red5LoggerFactory.java:107)
        at      at org.red5.server.Launcher.launch(Launcher.java:53)
        at      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at      at java.lang.reflect.Method.invoke(Method.java:616)
        at      at org.red5.server.Bootstrap.bootStrap(Bootstrap.java:117)
        at      at org.red5.server.Bootstrap.main(Bootstrap.java:48)
12:47:53,198 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About 
to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
12:47:53,213 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming 
appender as [CONSOLE]
12:47:53,317 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA 
- Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] 
for [encoder] property
12:47:53,488 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About 
to instantiate appender of type [ch.qos.logback.core.FileAppender]
12:47:53,494 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming 
appender as [FILE]
12:47:53,510 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA 
- Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] 
for [encoder] property
12:47:53,614 |-INFO in ch.qos.logback.core.FileAppender[FILE] - File property 
is set to [log/red5.log]
12:47:53,618 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - ROOT 
level set to INFO
12:47:53,619 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - 
Attaching appender named [CONSOLE] to Logger[ROOT]
12:47:53,622 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - 
Attaching appender named [FILE] to Logger[ROOT]
12:47:53,622 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - 
org.springframework level set to INFO
12:47:53,622 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - 
org.apache level set to INFO
12:47:53,623 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - ch.qos 
level set to WARN
12:47:53,623 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction 
- End of configuration.
12:47:53,628 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@47d62270 
- Registering current configuration as safe fallback point

Setting default logging context: default
[INFO] [main] org.red5.server.Launcher - Red5 Server 1.0.0 $Rev: 4450 $ 
(http://code.google.com/p/red5/)
Red5 Server 1.0.0 $Rev: 4450 $ (http://code.google.com/p/red5/)
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in 
[jar:file:/usr/local/red5/red5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in 
[jar:file:/usr/local/red5/lib/logback-classic-1.0.3.jar!/org/slf4j/impl/StaticLo
ggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.red5.logging.LoggingContextSelector]
[INFO] [main] 
org.springframework.context.support.FileSystemXmlApplicationContext - 
Refreshing 
org.springframework.context.support.FileSystemXmlApplicationContext@2f774b9b: 
startup date [Sun Jul 28 12:47:54 EDT 2013]; root of context hierarchy
[INFO] [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - 
Loading XML bean definitions from class path resource [red5.xml]
[INFO] [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - 
Loading XML bean definitions from class path resource [jee-container.xml]
[INFO] [main] 
org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - 
Loading properties file from class path resource [red5.properties]
[INFO] [main] 
org.springframework.beans.factory.support.DefaultListableBeanFactory - 
Pre-instantiating singletons in 
org.springframework.beans.factory.support.DefaultListableBeanFactory@53d439fe: 
defining beans 
[placeholderConfig,red5.common,red5.core,context.loader,pluginLauncher,tomcat.se
rver]; root of factory hierarchy
[INFO] [main] 
org.springframework.context.support.FileSystemXmlApplicationContext - 
Refreshing 
org.springframework.context.support.FileSystemXmlApplicationContext@4cdada24: 
startup date [Sun Jul 28 12:47:57 EDT 2013]; root of context hierarchy
[INFO] [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader - 
Loading XML bean definitions from class path resource [red5-common.xml]
[INFO] [main] 
org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - 
Loading properties file from class path resource [red5.properties]
[INFO] [main] 
org.springframework.beans.factory.support.DefaultListableBeanFactory - 
Pre-instantiating singletons in 
org.springframework.beans.factory.support.DefaultListableBeanFactory@74b957ea: 
defining beans 
[placeholderConfig,red5.server,rmiRegistry,mbeanServer,org.springframework.jmx.s
upport.ConnectorServerFactoryBean#0,mbeanExporter,serializer,deserializer,minaEn
coder,minaDecoder,statusObjectService,rtmpCodecFactory,rtmptCodecFactory,remotin
gCodecFactory,streamableFileFactory,filePersistenceThread,sharedObjectService,st
reamService,providerService,consumerService,schedulingService,warDeployService,r
emotingClient,object.cache,keyframe.cache,flv.impl,flvreader.impl,mp4reader.impl
,mp3reader.impl,org.springframework.beans.factory.config.MethodInvokingFactoryBe
an#0,org.springframework.beans.factory.config.MethodInvokingFactoryBean#1,stream
Executor,fileConsumer,playlistSubscriberStream,clientBroadcastStream]; root of 
factory hierarchy
[INFO] [main] org.springframework.remoting.rmi.RmiRegistryFactoryBean - 
Creating new RMI registry
[INFO] [main] org.springframework.jmx.support.ConnectorServerFactoryBean - JMX 
connector server started: 
javax.management.remote.rmi.RMIConnectorServer@30d647d8
[INFO] [main] org.springframework.jmx.export.annotation.AnnotationMBeanExporter 
- Registering beans for JMX exposure on startup
[INFO] [main] org.springframework.jmx.export.annotation.AnnotationMBeanExporter 
- Bean with name 'org.springframework.jmx.support.ConnectorServerFactoryBean#0' 
has been autodetected for JMX exposure
[ERROR] [main] org.quartz.impl.StdSchedulerFactory - Couldn't generate instance 
Id!
org.quartz.SchedulerException: Couldn't get host name!
        at org.quartz.simpl.SimpleInstanceIdGenerator.generateInstanceId(SimpleInstanceIdGenerator.java:36) ~[quartz-1.8.5.jar:na]
        at org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1164) [quartz-1.8.5.jar:na]
        at org.quartz.impl.StdSchedulerFactory.getScheduler(StdSchedulerFactory.java:1465) [quartz-1.8.5.jar:na]
        at org.red5.server.scheduling.QuartzSchedulingService.afterPropertiesSet(QuartzSchedulingService.java:83) [red5.jar:na]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514) [spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452) [spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) [spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) [spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) [spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) [spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) [spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) [spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
        at org.springframework.jmx.export.MBeanExporter.autodetect(MBeanExporter.java:880) [spring-context-3.1.1.RELEASE.jar:3.1.1.RELEASE]
        at org.springframework.jmx.export.MBeanExporter.autodetectMBeans(MBeanExporter.java:854) [spring-context-3.1.1.RELEASE.jar:3.1.1.RELEASE]
        at org.springframework.jmx.export.MBeanExporter.registerBeans(MBeanExporter.java:516) [spring-context-3.1.1.RELEASE.jar:3.1.1.RELEASE]
        at org.springframework.jmx.export.MBeanExporter.afterPropertiesSet(MBeanExporter.java:413) [spring-context-3.1.1.RELEASE.jar:3.1.1.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514) [spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452) [spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) [spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) [spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) [spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) [spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) [spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) [spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585) [spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913) [spring-context-3.1.1.RELEASE.jar:3.1.1.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464) [spring-context-3.1.1.RELEASE.jar:3.1.1.RELEASE]
        at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:140) [spring-context-3.1.1.RELEASE.jar:3.1.1.RELEASE]
        at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:94) [spring-context-3.1.1.RELEASE.jar:3.1.1.RELEASE]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_24]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) [na:1.6.0_24]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [na:1.6.0_24]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:532) [na:1.6.0_24]
        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147) [spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:110) [spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
        at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:280) [spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1035) [spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:939) [spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) [spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) [spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) [spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) [spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) [spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) [spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585) [spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913) [spring-context-3.1.1.RELEASE.jar:3.1.1.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464) [spring-context-3.1.1.RELEASE.jar:3.1.1.RELEASE]
        at org.red5.server.Launcher.launch(Launcher.java:63) [red5.jar:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_24]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.6.0_24]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.6.0_24]
        at java.lang.reflect.Method.invoke(Method.java:616) ~[na:1.6.0_24]
        at org.red5.server.Bootstrap.bootStrap(Bootstrap.java:117) [boot.jar:na]
        at org.red5.server.Bootstrap.main(Bootstrap.java:48) [boot.jar:na]
Caused by: java.net.UnknownHostException: nguyendung-centos: nguyendung-centos
        at java.net.InetAddress.getLocalHost(InetAddress.java:1454) ~[na:1.6.0_24]
        at org.quartz.simpl.SimpleInstanceIdGenerator.generateInstanceId(SimpleInstanceIdGenerator.java:34) ~[quartz-1.8.5.jar:na]
        ... 53 common frames omitted
[INFO] [main] 
org.springframework.beans.factory.support.DefaultListableBeanFactory - 
Destroying singletons in 
org.springframework.beans.factory.support.DefaultListableBeanFactory@74b957ea: 
defining beans 
[placeholderConfig,red5.server,rmiRegistry,mbeanServer,org.springframework.jmx.s
upport.ConnectorServerFactoryBean#0,mbeanExporter,serializer,deserializer,minaEn
coder,minaDecoder,statusObjectService,rtmpCodecFactory,rtmptCodecFactory,remotin
gCodecFactory,streamableFileFactory,filePersistenceThread,sharedObjectService,st
reamService,providerService,consumerService,schedulingService,warDeployService,r
emotingClient,object.cache,keyframe.cache,flv.impl,flvreader.impl,mp4reader.impl
,mp3reader.impl,org.springframework.beans.factory.config.MethodInvokingFactoryBe
an#0,org.springframework.beans.factory.config.MethodInvokingFactoryBean#1,stream
Executor,fileConsumer,playlistSubscriberStream,clientBroadcastStream]; root of 
factory hierarchy
[INFO] [main] org.springframework.jmx.support.ConnectorServerFactoryBean - 
Stopping JMX connector server: 
javax.management.remote.rmi.RMIConnectorServer@30d647d8
[INFO] [main] org.springframework.remoting.rmi.RmiRegistryFactoryBean - 
Unexporting RMI registry
[INFO] [main] 
org.springframework.beans.factory.support.DefaultListableBeanFactory - 
Destroying singletons in 
org.springframework.beans.factory.support.DefaultListableBeanFactory@53d439fe: 
defining beans 
[placeholderConfig,red5.common,red5.core,context.loader,pluginLauncher,tomcat.se
rver]; root of factory hierarchy
Exception org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'red5.common' defined in class path resource 
[red5.xml]: Instantiation of bean failed; nested exception is 
org.springframework.beans.BeanInstantiationException: Could not instantiate 
bean class 
[org.springframework.context.support.FileSystemXmlApplicationContext]: 
Constructor threw exception; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'mbeanExporter': Invocation of init method failed; nested exception 
is org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'schedulingService' defined in class path resource [red5-common.xml]: 
Invocation of init method failed; nested exception is 
java.lang.IllegalStateException: Cannot run without an instance id.

Original issue reported on code.google.com by nguyendu...@gmail.com on 28 Jul 2013 at 4:49

Attachments:

GoogleCodeExporter commented 9 years ago
Please help me! :( i cant start red5.

Original comment by nguyendu...@gmail.com on 28 Jul 2013 at 4:49

GoogleCodeExporter commented 9 years ago
Java cannot resolve your host: nguyendung-centos fix that and you're all set.
Further information:
http://serverfault.com/questions/109148/problem-with-tomcat-and-getlocalhost-exc
eption
http://stackoverflow.com/questions/6484275/what-causes-the-error-java-net-unknow
nhostexception

Original comment by mondain on 29 Jul 2013 at 3:24