Hi,
I am trying to get version 1.0.0 working on my ubuntu 12.04 box. Unfortunately without success. It just won't finish the startup sequence.
Would be really great if someone could point out what I might be doing wrong.
This is my setup:
ubuntu 12.04
oracle 7 jdk (also tried with Sun Jdk 6 and openJDK 6 and 7)
untared, then renamed the directory to red5-1.0.0 and started Red5 from there via ./red5.sh
Here the verbose log:
root@h1659043:/opt/red5# ./red5.sh
Running on Linux
Starting Red5
Red5 root: /opt/red5
Configuation root: /opt/red5/conf
Selected libraries: (53 items)
file:/opt/red5/red5.jar
file:/opt/red5/lib/xmlrpc-2.0.1.jar
file:/opt/red5/lib/slf4j-api-1.6.6.jar
file:/opt/red5/lib/com.springsource.org.objectweb.asm-3.2.0.jar
file:/opt/red5/lib/jruby-1.6.7.2.jar
file:/opt/red5/lib/jul-to-slf4j-1.6.6.jar
file:/opt/red5/lib/spring-web-3.1.1.RELEASE.jar
file:/opt/red5/lib/commons-modeler-2.0.1.jar
file:/opt/red5/lib/commons-pool-1.5.6.jar
file:/opt/red5/lib/jaudiotagger-2.0.4-SNAPSHOT.jar
file:/opt/red5/lib/logback-classic-1.0.3.jar
file:/opt/red5/lib/com.springsource.org.apache.xerces-2.9.1.jar
file:/opt/red5/lib/com.springsource.org.antlr-3.1.3.jar
file:/opt/red5/lib/jython-standalone-2.5.2.jar
file:/opt/red5/lib/com.springsource.net.sf.cglib-2.2.0.jar
file:/opt/red5/lib/spring-core-3.1.1.RELEASE.jar
file:/opt/red5/lib/spring-aop-3.1.1.RELEASE.jar
file:/opt/red5/lib/bcprov-jdk15on-1.47.jar
file:/opt/red5/lib/com.springsource.org.aopalliance-1.0.0.jar
file:/opt/red5/lib/com.springsource.org.objectweb.asm.commons-3.2.0.jar
file:/opt/red5/lib/log4j-over-slf4j-1.6.6.jar
file:/opt/red5/lib/httpcore-4.2.1.jar
file:/opt/red5/lib/commons-lang3-3.1.jar
file:/opt/red5/lib/mina-integration-jmx-2.0.5.jar
file:/opt/red5/lib/com.springsource.org.mozilla.javascript-1.7.0.R2.jar
file:/opt/red5/lib/commons-codec-1.6.jar
file:/opt/red5/lib/javaee-api-5.1.2.jar
file:/opt/red5/lib/spring-asm-3.1.1.RELEASE.jar
file:/opt/red5/lib/ehcache-core-2.5.0.jar
file:/opt/red5/lib/spring-context-support-3.1.1.RELEASE.jar
file:/opt/red5/lib/jcl-over-slf4j-1.6.6.jar
file:/opt/red5/lib/commons-beanutils-1.8.3.jar
file:/opt/red5/lib/com.springsource.javax.xml.stream-1.0.1.jar
file:/opt/red5/lib/quartz-1.8.5.jar
file:/opt/red5/lib/commons-collections-3.2.1.jar
file:/opt/red5/lib/logback-core-1.0.3.jar
file:/opt/red5/lib/mina-integration-beans-2.0.5.jar
file:/opt/red5/lib/com.springsource.org.codehaus.groovy-1.7.0.jar
file:/opt/red5/lib/spring-beans-3.1.1.RELEASE.jar
file:/opt/red5/lib/httpclient-4.2.jar
file:/opt/red5/lib/sysout-over-slf4j-1.0.2.jar
file:/opt/red5/lib/spring-expression-3.1.1.RELEASE.jar
file:/opt/red5/lib/mina-core-2.0.5.jar
file:/opt/red5/lib/spring-context-3.1.1.RELEASE.jar
file:/opt/red5/conf/
file:/opt/red5/plugins/
file:/opt/red5/plugins/catalina-6.0.36.jar
file:/opt/red5/plugins/ecj-3.7.2.jar
file:/opt/red5/plugins/tomcat-juli-slf4j-1.5.0.jar
file:/opt/red5/plugins/jasper-6.0.36.jar
file:/opt/red5/plugins/jasper-el-6.0.36.jar
file:/opt/red5/plugins/tomcat-coyote-6.0.36.jar
file:/opt/red5/plugins/tomcatplugin-1.3.jar
Root: /opt/red5
Deploy type: bootstrap
Logback selector: org.red5.logging.LoggingContextSelector
Exception in thread "Reference Handler" java.lang.IllegalMonitorStateException
at java.lang.Object.notifyAll(Native Method)
at java.lang.ref.ReferenceQueue.enqueue(ReferenceQueue.java:68)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:146)
15:54:04,296 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
15:54:04,297 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
15:54:04,297 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/opt/red5/conf/logback.xml]
15:54:04,298 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs multiple times on the classpath.
15:54:04,299 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [file:/opt/red5/conf/logback.xml]
15:54:04,299 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [file:/opt/red5/conf/logback.xml]
15:54:04,721 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
15:54:04,727 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
15:54:04,734 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [CONSOLE]
15:54:04,805 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
15:54:04,907 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.FileAppender]
15:54:04,909 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [FILE]
15:54:04,912 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
15:54:04,928 |-INFO in ch.qos.logback.core.FileAppender[FILE] - File property is set to [log/red5.log]
15:54:04,930 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - ROOT level set to INFO
15:54:04,930 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [CONSOLE] to Logger[ROOT]
15:54:04,931 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [FILE] to Logger[ROOT]
15:54:04,931 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - org.springframework level set to INFO
15:54:04,931 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - org.apache level set to INFO
15:54:04,931 |-INFO in ch.qos.logback.classic.joran.action.LevelAction - ch.qos level set to WARN
15:54:04,931 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
15:54:04,933 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@c3455c - Registering current configuration as safe fallback point
Setting default logging context: default
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/red5/red5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/red5/lib/logback-classic-1.0.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Actual binding is of type [org.red5.logging.LoggingContextSelector]
[INFO] [main] org.springframework.context.support.FileSystemXmlApplicationContext - Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@e39f23: startup date [Sun Jan 06 15:54:05 UTC 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@172be65: defining beans [placeholderConfig,red5.common,red5.core,context.loader,pluginLauncher,tomcat.server]; root of factory hierarchy
[INFO] [main] org.springframework.context.support.FileSystemXmlApplicationContext - Refreshing org.springframework.context.support.FileSystemXmlApplicationContext@1ebf1ca: startup date [Sun Jan 06 15:54:06 UTC 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@3fa3cf: defining beans [placeholderConfig,red5.server,rmiRegistry,mbeanServer,org.springframework.jmx.support.ConnectorServerFactoryBean#0,mbeanExporter,serializer,deserializer,minaEncoder,minaDecoder,statusObjectService,rtmpCodecFactory,rtmptCodecFactory,remotingCodecFactory,streamableFileFactory,filePersistenceThread,sharedObjectService,streamService,providerService,consumerService,schedulingService,warDeployService,remotingClient,object.cache,keyframe.cache,flv.impl,flvreader.impl,mp4reader.impl,mp3reader.impl,org.springframework.beans.factory.config.MethodInvokingFactoryBean#0,org.springframework.beans.factory.config.MethodInvokingFactoryBean#1,streamExecutor,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@190eeec
[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
[INFO] [main] org.quartz.core.SchedulerSignalerImpl - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
[INFO] [main] org.quartz.core.QuartzScheduler - Quartz Scheduler v.1.8.5 created.
[INFO] [main] org.quartz.simpl.RAMJobStore - RAMJobStore initialized.
[INFO] [main] org.quartz.core.QuartzScheduler - Scheduler meta-data: Quartz Scheduler (v1.8.5) 'Red5_Scheduler' with instanceId 'h1659043.stratoserver.net1357487647340'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 4 threads.
Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.
[INFO] [main] org.quartz.impl.StdSchedulerFactory - Quartz scheduler 'Red5_Scheduler' initialized from default resource file in Quartz package: 'quartz.properties'
[INFO] [main] org.quartz.impl.StdSchedulerFactory - Quartz scheduler version: 1.8.5
[INFO] [main] org.quartz.core.QuartzScheduler - Scheduler Red5_Scheduler_$_h1659043.stratoserver.net1357487647340 started.
[INFO] [main] org.springframework.jmx.export.annotation.AnnotationMBeanExporter - Bean with name 'schedulingService' has been autodetected for JMX exposure
[INFO] [main] org.springframework.jmx.export.annotation.AnnotationMBeanExporter - Bean with name 'clientBroadcastStream' has been autodetected for JMX exposure
[INFO] [main] org.springframework.jmx.export.annotation.AnnotationMBeanExporter - Located MBean 'org.springframework.jmx.support.ConnectorServerFactoryBean#0': registering with JMX server as MBean [org.red5.server:name=org.springframework.jmx.support.ConnectorServerFactoryBean#0,type=RMIConnectorServer]
[INFO] [main] org.springframework.jmx.export.annotation.AnnotationMBeanExporter - Located MBean 'schedulingService': registering with JMX server as MBean [org.red5.server:name=schedulingService,type=QuartzSchedulingService]
Here it stops and nothing happens anymore.
Thanks a lot for you help in advance,
Mark