google-code-export / red5

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

Red5 1.0.2 RC3 start fails due to org.red5.cache.impl.NoCacheImpl convertion #451

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Get 1.0.2RC3
2. Unpack it
3. start red5-debug.sh

What is the expected output? What do you see instead?
I'd expect the server to start :)

Start fails with the following error:

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 'flv.impl' defined in class path resource [red5-common.xml]: 
Initialization of bean failed; nested exception is 
org.springframework.beans.ConversionNotSupportedException: Failed to convert 
property value of type 'org.red5.cache.impl.NoCacheImpl' to required type 
'org.red5.server.api.cache.ICacheStore' for property 'cache'; nested exception 
is java.lang.IllegalStateException: Cannot convert value of type 
[org.red5.cache.impl.NoCacheImpl] to required type 
[org.red5.server.api.cache.ICacheStore] for property 'cache': no matching 
editors or conversion strategy found

The root problem seems to come from "convert value of type 
[org.red5.cache.impl.NoCacheImpl] to required type 
[org.red5.server.api.cache.ICacheStore]"

I've tried with CacheImpl and EhCacheImpl without success :/

Any hint, did I miss something ?

Please provide any additional information below.
Ubuntu 12.04 and Debian Squeeze

Original issue reported on code.google.com by ddeg...@gmail.com on 8 Oct 2013 at 11:04

GoogleCodeExporter commented 9 years ago
This should help you fix the issue: 
https://code.google.com/p/red5/wiki/ServerWontStart#Red5_1.0.2_RC1_to_1.0.2_RC2

Original comment by mondain on 16 Oct 2013 at 4:45