I just tried to configure the whirly cache with alot of files , 1000MB im assuming it is ?

<bean id="object.cache" class="org.red5.server.cache.WhirlyCacheImpl" init-method="init" autowire="byType">
        <property name="maxEntries" value="100" />
        <property name="cacheConfig">
            <bean class="com.whirlycott.cache.CacheConfiguration">
                <property name="name" value="flv.cache" />
                <property name="maxSize" value="1000" />
                <property name="policy"><value>com.whirlycott.cache.policy.LFUMaintenancePolicy</value></property>
                <property name="backend"><value>com.whirlycott.cache.impl.FastHashMapImpl</value></property>
            </bean>
        </property>
    </bean>

Dan Rossi wrote:
My apologies, i think thats a unix newline thing, wordpad opened it up fine, however the change to red-common is causing exceptions

[INFO] 1844 main:( org.springframework.beans.factory.support.DefaultListableBean
Factory.info ) Destroying singletons in {org.springframework.beans.factory.suppo
rt.DefaultListableBeanFactory defining beans [red5.common,red5.core,context.load
er,jetty6.server]; root of BeanFactory hierarchy}
Exception in thread "main" java.lang.NoSuchMethodException: org.red5.io.flv.impl
.FLV.<init>()
        at java.lang.Class.getConstructor0(Unknown Source)
        at java.lang.Class.getDeclaredConstructor(Unknown Source)
        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:5
9)
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy
.instantiate(SimpleInstantiationStrategy.java:52)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.instantiateBean(AbstractAutowireCapableBeanFactory.java:639)

_______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org



_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to