google-code-export / red5

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

Red51.0.2 did not start #470

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

Red51.0.2 did not start. 

[INFO] [main] org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler 
- Shutting down ExecutorService 
'org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler#3e4a9a7d'
[INFO] [main] 
org.springframework.beans.factory.support.DefaultListableBeanFactory - 
Destroying singletons in 
org.springframework.beans.factory.support.DefaultListableBeanFactory@7eb5666: 
defining beans 
[placeholderConfig,red5.server,rmiRegistry,mbeanServer,org.springframework.jmx.s
upport.ConnectorServerFactoryBean#0,mbeanExporter,minaEncoder,minaDecoder,status
ObjectService,rtmptCodecFactory,remotingCodecFactory,streamableFileFactory,share
dObjectService,streamService,providerService,consumerService,schedulingService,w
arDeployService,remotingClient,object.cache,keyframe.cache,flv.impl,flvreader.im
pl,mp4reader.impl,mp3reader.impl,org.springframework.beans.factory.config.Method
InvokingFactoryBean#0,org.springframework.beans.factory.config.MethodInvokingFac
toryBean#1,fileConsumer,playlistSubscriberStream,clientBroadcastStream]; root 
of factory hierarchy
[INFO] [main] org.springframework.jmx.export.annotation.AnnotationMBeanExporter 
- Unregistering JMX-exposed beans on shutdown
[INFO] [main] org.springframework.jmx.support.ConnectorServerFactoryBean - 
Stopping JMX connector server: 
javax.management.remote.rmi.RMIConnectorServer@488ddb93
[INFO] [main] org.springframework.remoting.rmi.RmiRegistryFactoryBean - 
Unexporting RMI registry
[INFO] [main] org.quartz.core.QuartzScheduler - Scheduler 
Red5_Scheduler_$_NON_CLUSTERED shutting down.
[INFO] [main] org.quartz.core.QuartzScheduler - Scheduler 
Red5_Scheduler_$_NON_CLUSTERED paused.
[INFO] [main] org.quartz.core.QuartzScheduler - Scheduler 
Red5_Scheduler_$_NON_CLUSTERED shutdown complete.
[INFO] [main] 
org.springframework.beans.factory.support.DefaultListableBeanFactory - 
Destroying singletons in 
org.springframework.beans.factory.support.DefaultListableBeanFactory@f8622f3: 
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 'sharedObjectService' defined in class path resource 
[red5-common.xml]: Error setting property values; nested exception is 
org.springframework.beans.NotWritablePropertyException: Invalid property 
'scheduler' of bean class [org.red5.server.so.SharedObjectService]: Bean 
property 'scheduler' is not writable or has an invalid setter method. Does the 
parameter type of the setter match the return type of the getter?

Original issue reported on code.google.com by duhui0...@gmail.com on 4 Dec 2013 at 7:59

GoogleCodeExporter commented 9 years ago
So far as I can tell from your post, you have an incompatible mix of config and 
code. The scheduler is in fact completely writable in the latest 1.0.2 and has 
been so for awhile now. I just build from trunk and tested startup 
successfully, to be specific: Red5 Server 1.0.2 revision 4730

Original comment by mondain on 4 Dec 2013 at 11:52