[Red5] warDeployService obligatory ?

szybki szybki at gmail.com
Sat Apr 4 09:13:25 PST 2009


hi,

did you manage to solve this problem?

2009/3/31 julien Devouassoud <julien.dev at gmail.com>:
> Hi,
> I just moved from red50.6 to 0.8RC2
> I changed from java5 to 6 => no prob
> I recompiled with java6    => no prob
> I tried to start red5  => does not work but i though this was gonna be where
> problem occur.
> Problem probably comes from the libs i have in ./lib  and the config files
> in WEB-INF
> I installed and tried to adapt oflademo's  xml files but so far it's a
> failure.
> here is a cleaned version of the logs for [ERROR] :
> [ERROR] [main] org.red5.server.persistence.FilePersistenceThread - Instance
> was not null, this is not a good sign
> [...]
> [ERROR] [main] org.springframework.web.context.ContextLoader - Context
> initialization failed
>       org.springframework.beans.factory.access.BootstrapException: Unable to
> initialize group definition.
>       Group resource name [classpath*:red5.xml], factory key
> [default.context];
>       nested exception is
> org.springframework.beans.factory.BeanCreationException:
>         Error creating bean with name 'red5.common' defined in URL
> [file:/usr/lib/red5/conf/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 'warDeployService' defined in class
> path resource [red5-common.xml]: Invocation of init method failed;
>       nested exception is java.lang.RuntimeException:
> org.quartz.ObjectAlreadyExistsException: Unable to store Job with name:
> 'ScheduledJob_0' and group: 'DEFAULT', because one already exists with this
> identification.
>
> <HERE COMES A SERIES OF at blablabla... until:>
> at org.red5.server.Bootstrap.main(Bootstrap.java:56) [red5.jar:na]
> caused by: org.springframework.beans.factory.BeanCreationException:
>  Error creating bean with name 'red5.common' defined in URL
> [file:/usr/lib/red5/conf/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 'warDeployService' defined in class
> path resource [red5-common.xml]:
>            Invocation of init method failed; nested exception is
> java.lang.RuntimeException: org.quartz.ObjectAlreadyExistsException:
>              Unable to store Job with name: 'ScheduledJob_0' and group:
> 'DEFAULT', because one already exists with this identification.
>
>
> [...] // FROM HERE IT4S PROBABLY JUST LINKED TO ERRORS UP THERE (sv_server
> is my app folder)
> [ERROR] [main]
> org.apache.catalina.core.ContainerBase.[red5Engine].[0.0.0.0].[/sv_server]
>         - Exception sending context initialized event to listener instance
> of class org.springframework.web.context.ContextLoaderListener
>           org.springframework.beans.factory.access.BootstrapException:
>             Unable to initialize group definition. Group resource name
> [classpath*:red5.xml], factory key [default.context];
>           nested exception is
> org.springframework.beans.factory.BeanCreationException:
>             Error creating bean with name 'red5.common' defined in URL
> [file:/usr/lib/red5/conf/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 'warDeployService' defined in
> class path resource [red5-common.xml]: Invocation of init method failed;
>           nested exception is java.lang.RuntimeException:
> org.quartz.ObjectAlreadyExistsException: Unable to store Job with name:
>             'ScheduledJob_0' and group: 'DEFAULT', because one already
> exists with this identification.
>
> ======================================
> In WEB-INF i have : web.xml, red5-properties.xml and red5-web.xml
> COULD THAT BE THE PROBLEM ? =>
> in web.xml I had something else for listener class before, it did not work
> so i tried to put the same as ofla demo still not working
> old one is :
> <listener><listener-class>org.springframework.web.context.ContextLoaderListener</listener-class></listener>
> oflademo one
> <listener><listener-class>org.red5.logging.ContextLoggingListener</listener-class></listener>
>
>
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>



More information about the Red5 mailing list