Hello Walter,
According to the log
Could not resolve placeholder 'jmx.mina.poll.interval'
which is placeholder is defined in red5/conf/red5.properties
have you changed anything except persistence.xml?
On Mon, Aug 6, 2012 at 9:53 PM, Walter Neumann
<[email protected] <mailto:[email protected]>>
wrote:
Hello,
I tried to setup Openmeetings 2.0.0 r 1361497 on my CentOS 5.5 server.
I changed the mysql_persistence.xml -> persistence.xml and edited
dbhost user and password.
I changed the rtmp port to 443 in both files.
After starting red5 come some error messages:
Logback selector: org.red5.logging.LoggingContextSelector
16:41:45,931 |-INFO in
ch.qos.logback.classic.LoggerContext[default] - Could NOT find
resource [logback.groovy]
16:41:45,931 |-INFO in
ch.qos.logback.classic.LoggerContext[default] - Could NOT find
resource [logback-test.xml]
16:41:45,931 |-INFO in
ch.qos.logback.classic.LoggerContext[default] - Found resource
[logback.xml] at [file:/usr/src/om/conf/logback.xml]
16:41:45,933 |-WARN in
ch.qos.logback.classic.LoggerContext[default] - Resource
[logback.xml] occurs multiple times on the classpath.
16:41:45,933 |-WARN in
ch.qos.logback.classic.LoggerContext[default] - Resource
[logback.xml] occurs at [file:/usr/src/om/conf/logback.xml]
16:41:45,933 |-WARN in
ch.qos.logback.classic.LoggerContext[default] - Resource
[logback.xml] occurs at [file:/usr/src/om/conf/logback.xml]
16:41:46,125 |-INFO in
ch.qos.logback.classic.joran.action.ConfigurationAction - debug
attribute not set
16:41:46,128 |-INFO in
ch.qos.logback.core.joran.action.AppenderAction - About to
instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
16:41:46,132 |-INFO in
ch.qos.logback.core.joran.action.AppenderAction - Naming appender
as [CONSOLE]
16:41:46,163 |-INFO in
ch.qos.logback.core.joran.action.NestedComplexPropertyIA -
Assuming default type
[ch.qos.logback.classic.encoder.PatternLayoutEncoder] for
[encoder] property
16:41:46,211 |-INFO in
ch.qos.logback.core.joran.action.AppenderAction - About to
instantiate appender of type [ch.qos.logback.core.FileAppender]
16:41:46,214 |-INFO in
ch.qos.logback.core.joran.action.AppenderAction - Naming appender
as [FILE]
16:41:46,223 |-INFO in
ch.qos.logback.core.joran.action.NestedComplexPropertyIA -
Assuming default type
[ch.qos.logback.classic.encoder.PatternLayoutEncoder] for
[encoder] property
16:41:46,238 |-INFO in ch.qos.logback.core.FileAppender[FILE] -
File property is set to [log/red5.log]
16:41:46,239 |-INFO in
ch.qos.logback.core.joran.action.AppenderAction - About to
instantiate appender of type [ch.qos.logback.core.FileAppender]
16:41:46,239 |-INFO in
ch.qos.logback.core.joran.action.AppenderAction - Naming appender
as [ERRORFILE]
16:41:46,244 |-INFO in
ch.qos.logback.core.joran.action.NestedComplexPropertyIA -
Assuming default type
[ch.qos.logback.classic.encoder.PatternLayoutEncoder] for
[encoder] property
16:41:46,245 |-INFO in ch.qos.logback.core.FileAppender[ERRORFILE]
- File property is set to [log/error.log]
16:41:46,245 |-INFO in
ch.qos.logback.classic.joran.action.LevelAction - ROOT level set
to INFO
16:41:46,245 |-INFO in
ch.qos.logback.core.joran.action.AppenderRefAction - Attaching
appender named [CONSOLE] to Logger[ROOT]
16:41:46,246 |-INFO in
ch.qos.logback.core.joran.action.AppenderRefAction - Attaching
appender named [FILE] to Logger[ROOT]
16:41:46,246 |-INFO in
ch.qos.logback.classic.joran.action.LevelAction -
org.springframework level set to INFO
16:41:46,246 |-INFO in
ch.qos.logback.classic.joran.action.LevelAction - org.apache level
set to INFO
16:41:46,246 |-INFO in
ch.qos.logback.classic.joran.action.LevelAction - ch.qos level set
to WARN
16:41:46,246 |-INFO in
ch.qos.logback.classic.joran.action.ConfigurationAction - End of
configuration.
16:41:46,248 |-INFO in
ch.qos.logback.classic.joran.JoranConfigurator@33d6f122 -
Registering current configuration as safe fallback point
Setting default logging context: default
[INFO] [main] org.red5.server.Launcher - Red5 Server 1.0.0 RC3
$Rev: 4387 $ (http://code.google.com/p/red5/)
Red5 Server 1.0.0 RC3 $Rev: 4387 $ (http://code.google.com/p/red5/)
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in
[jar:file:/usr/src/om/red5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/usr/src/om/lib/logback-classic-1.0.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for
an explanation.
[INFO] [main]
org.springframework.context.support.FileSystemXmlApplicationContext -
Refreshing
org.springframework.context.support.FileSystemXmlApplicationContext@2f774b9b:
startup date [Mon Aug 06 16:41:46 CEST 2012]; 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@3c24c4a3:
defining beans
[placeholderConfig,red5.common,red5.core,context.loader,pluginLauncher,tomcat.server,rtmpt.server];
root of factory hierarchy
[INFO] [main]
org.springframework.context.support.FileSystemXmlApplicationContext -
Refreshing
org.springframework.context.support.FileSystemXmlApplicationContext@a0b1cd0:
startup date [Mon Aug 06 16:41:46 CEST 2012]; 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@1af0b4a3:
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,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@10b914b3
[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 's15435587.onlinehome-server.info1344264107349'
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_$_s15435587.onlinehome-server.info1344264107349
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]
[INFO] [main] org.red5.server.service.WarDeployer - War deployer
service created
[INFO] [main]
org.springframework.context.support.FileSystemXmlApplicationContext -
Refreshing
org.springframework.context.support.FileSystemXmlApplicationContext@2e67cd84:
startup date [Mon Aug 06 16:41:47 CEST 2012]; parent:
ApplicationContext 'red5.common'
[INFO] [main]
org.springframework.beans.factory.xml.XmlBeanDefinitionReader -
Loading XML bean definitions from class path resource [red5-core.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
- Destroying singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@24bb6086:
defining beans
[customEditorConfigurer,placeholderConfig,rtmpMinaConnManager,rtmpHandler,rtmpMinaIoHandler,rtmpTransport,rtmpMinaConnection,rtmptConnManager,rtmptHandler,rtmptServlet,rtmptConnection];
parent:
org.springframework.beans.factory.support.DefaultListableBeanFactory@1af0b4a3
[INFO] [main]
org.springframework.beans.factory.support.DefaultListableBeanFactory
- Destroying singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@3c24c4a3:
defining beans
[placeholderConfig,red5.common,red5.core,context.loader,pluginLauncher,tomcat.server,rtmpt.server];
root of factory hierarchy
[INFO] [main]
org.springframework.context.support.FileSystemXmlApplicationContext -
Closing ApplicationContext 'red5.common': startup date [Mon Aug 06
16:41:46 CEST 2012]; root of context hierarchy
[INFO] [main]
org.springframework.beans.factory.support.DefaultListableBeanFactory
- Destroying singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@1af0b4a3:
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,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.jmx.export.annotation.AnnotationMBeanExporter
- Unregistering JMX-exposed beans on shutdown
[INFO] [main] org.quartz.core.QuartzScheduler - Scheduler
Red5_Scheduler_$_s15435587.onlinehome-server.info1344264107349
shutting down.
[INFO] [main] org.quartz.core.QuartzScheduler - Scheduler
Red5_Scheduler_$_s15435587.onlinehome-server.info1344264107349 paused.
[INFO] [main] org.quartz.core.QuartzScheduler - Scheduler
Red5_Scheduler_$_s15435587.onlinehome-server.info1344264107349
shutdown complete.
[INFO] [main]
org.springframework.jmx.support.ConnectorServerFactoryBean -
Stopping JMX connector server:
javax.management.remote.rmi.RMIConnectorServer@10b914b3
[INFO] [main]
org.springframework.remoting.rmi.RmiRegistryFactoryBean -
Unexporting RMI registry
Exception org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'red5.core' 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.BeanDefinitionStoreException:
Invalid bean definition with name 'rtmpTransport' defined in class
path resource [red5-core.xml]: Could not resolve placeholder
'jmx.mina.poll.interval'
Any help would be welcome.
Thank you
--
Mit freundlichen Grüßen
Walter Neumann
Bürostudio Neumann
Lundenburger Straße 57
2143 Großkrut
Österreich
Tel. +43 664 1826291
Skype: wneumann1
Internet: http://www.buerostudio-neumann.at
--
WBR
Maxim aka solomax