[Red5] Hibernate

RTG RTG rtgrtgrtg at googlemail.com
Fri Sep 5 05:10:51 PDT 2008


Hi Georgi,

please also check if all properties referenced in the xml configurations
from the *.properties files are available and well formated. Of course there
might be another issue with class loading and version, but simply check.
What is your deployment process? Is this a local machine or a server you are
deploying to?

RTG


2008/9/4 Georgi Georgiev <gdg81 at hotmail.com>

>  Thanx Carl,
> That is exactly what I mention under the code. I red some java mailing
> lists and i saw that the problem is wheter in versions or in some
> classloader stuff, which I am not understanding because it is too hardcore.
> I have tried all that I can with the string jars. Nothing helped :( . It is
> a petty that one must do so mutch boring stuff before starting to write
> code. Do anybody know how i can do some step by step check, that can show
> what excactly is going wrong?
>
> ------------------------------
> Date: Thu, 4 Sep 2008 09:04:24 -0700
> From: carlsz at gmail.com
>
> To: red5 at osflash.org
> Subject: Re: [Red5] Hibernate
>
> It could also be a versioning issue with the Spring JAR files.  Make sure
> that your application uses the same version of Spring.
> Carl
>
> 2008/9/4 Georgi Georgiev <gdg81 at hotmail.com>
>
>  Hi RTG,
> Thanx for the help. I have stolen the file directly from the cal szieberts
> tutorial, so I thing there is no error. Hier is my DTD:
> <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "
> http://www.springframework.org/dtd/spring-beans.dtd">
> I have validated the file in http://www.validome.org/xml/validate/ and it
> says that i have no error.
>
>
> ------------------------------
> Date: Thu, 4 Sep 2008 10:05:10 +0200
> From: rtgrtgrtg at googlemail.com
> To: red5 at osflash.org
> Subject: Re: [Red5] Hibernate
>
>
> Hi Georgi,
>
> I had similar exception and it was just wrong formatting in the xml. Please
> check whether all configuration files are valid in terms of XML.
>
> RTG
>
> 2008/9/4 Georgi Georgiev <gdg81 at hotmail.com>
>
>  Hi all,
> I am tryiong to run Red5 with hibernate. As I put the sessionFactory in
> red5-web.xml I become the following error:
>
> INFO   | jvm 1    | 2008/09/04 08:13:51 |
> org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected
> exception parsing XML document from ServletContext resource
> [/WEB-INF/red5-web.xml]; nested exception is
> java.lang.IllegalArgumentException: Class
> [org.springframework.beans.factory.xml.SimplePropertyNamespaceHandler] does
> not implement the NamespaceHandler interface
> INFO   | jvm 1    | 2008/09/04 08:13:51 | Caused by:
> java.lang.IllegalArgumentException: Class
> [org.springframework.beans.factory.xml.SimplePropertyNamespaceHandler] does
> not implement the NamespaceHandler interface
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.initHandlerMappings(DefaultNamespaceHandlerResolver.java:119)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.<init>(DefaultNamespaceHandlerResolver.java:96)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.<init>(DefaultNamespaceHandlerResolver.java:82)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createDefaultNamespaceHandlerResolver(XmlBeanDefinitionReader.java:488)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createReaderContext(XmlBeanDefinitionReader.java:477)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:458)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:353)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:280)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:131)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:147)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:101)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:389)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:324)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:244)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:187)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:530)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.mortbay.jetty.servlet.Context.startContext(Context.java:135)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:161)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.mortbay.jetty.Server.doStart(Server.java:217)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.red5.server.jetty.JettyLoader.init(JettyLoader.java:136)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> java.lang.reflect.Method.invoke(Unknown Source)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1240)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1205)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1171)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:425)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.context.access.ContextSingletonBeanFactoryLocator.initializeDefinition(ContextSingletonBeanFactoryLocator.java:141)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:382)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.red5.server.Standalone.main(Standalone.java:155)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> java.lang.reflect.Method.invoke(Unknown Source)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:136)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> java.lang.Thread.run(Unknown Source)
> INFO   | jvm 1    | 2008/09/04 08:13:51 | [ERROR] 2008-09-04 08:13:51,375
> WrapperSimpleAppMain:( org.mortbay.log.invoke0 ) Failed startup of context
> org.mortbay.jetty.webapp.WebAppContext at 39d325{/vctDemo,file:/D:/Programme/Red5/webapps/vctDemo/}
>
> INFO   | jvm 1    | 2008/09/04 08:13:51 |
> org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected
> exception parsing XML document from ServletContext resource
> [/WEB-INF/red5-web.xml]; nested exception is
> java.lang.IllegalArgumentException: Class
> [org.springframework.beans.factory.xml.SimplePropertyNamespaceHandler] does
> not implement the NamespaceHandler interface
> INFO   | jvm 1    | 2008/09/04 08:13:51 | Caused by:
> java.lang.IllegalArgumentException: Class
> [org.springframework.beans.factory.xml.SimplePropertyNamespaceHandler] does
> not implement the NamespaceHandler interface
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.initHandlerMappings(DefaultNamespaceHandlerResolver.java:119)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.<init>(DefaultNamespaceHandlerResolver.java:96)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.<init>(DefaultNamespaceHandlerResolver.java:82)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createDefaultNamespaceHandlerResolver(XmlBeanDefinitionReader.java:488)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createReaderContext(XmlBeanDefinitionReader.java:477)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:458)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:353)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:280)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:131)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:147)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:101)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:389)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:324)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:244)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:187)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:530)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.mortbay.jetty.servlet.Context.startContext(Context.java:135)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:161)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.mortbay.jetty.Server.doStart(Server.java:217)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.red5.server.jetty.JettyLoader.init(JettyLoader.java:136)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> java.lang.reflect.Method.invoke(Unknown Source)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1240)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1205)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1171)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:425)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.context.access.ContextSingletonBeanFactoryLocator.initializeDefinition(ContextSingletonBeanFactoryLocator.java:141)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:382)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.red5.server.Standalone.main(Standalone.java:155)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> java.lang.reflect.Method.invoke(Unknown Source)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:136)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> java.lang.Thread.run(Unknown Source)
> INFO   | jvm 1    | 2008/09/04 08:13:51 | [ERROR] 2008-09-04 08:13:51,609
> WrapperSimpleAppMain:( org.mortbay.log.invoke0 ) Nested in
> org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected
> exception parsing XML document from ServletContext resource
> [/WEB-INF/red5-web.xml]; nested exception is
> java.lang.IllegalArgumentException: Class
> [org.springframework.beans.factory.xml.SimplePropertyNamespaceHandler] does
> not implement the NamespaceHandler interface:
> INFO   | jvm 1    | 2008/09/04 08:13:51 |
> java.lang.IllegalArgumentException: Class
> [org.springframework.beans.factory.xml.SimplePropertyNamespaceHandler] does
> not implement the NamespaceHandler interface
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.initHandlerMappings(DefaultNamespaceHandlerResolver.java:119)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.<init>(DefaultNamespaceHandlerResolver.java:96)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.<init>(DefaultNamespaceHandlerResolver.java:82)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createDefaultNamespaceHandlerResolver(XmlBeanDefinitionReader.java:488)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createReaderContext(XmlBeanDefinitionReader.java:477)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:458)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:353)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:280)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:131)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:147)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:101)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:389)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:324)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:244)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:187)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:530)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.mortbay.jetty.servlet.Context.startContext(Context.java:135)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:161)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.mortbay.jetty.Server.doStart(Server.java:217)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.red5.server.jetty.JettyLoader.init(JettyLoader.java:136)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> java.lang.reflect.Method.invoke(Unknown Source)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1240)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1205)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1171)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:425)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.context.access.ContextSingletonBeanFactoryLocator.initializeDefinition(ContextSingletonBeanFactoryLocator.java:141)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:382)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.red5.server.Standalone.main(Standalone.java:155)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> java.lang.reflect.Method.invoke(Unknown Source)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:136)
> INFO   | jvm 1    | 2008/09/04 08:13:51 |     at
> java.lang.Thread.run(Unknown Source)
>
> As far as i understand that can be a spring version problem. i changed the
> spring files from the lib folder, but i still have the issue. can someone
> help me?
>
> ------------------------------
> Discover the new Windows Vista Learn more!<http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE>
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
>
> ------------------------------
> Connect to the next generation of MSN Messenger  Get it now!
> <http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline>
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
>
> ------------------------------
> Invite your mail contacts to join your friends list with Windows Live
> Spaces. It's easy! Try it!<http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us>
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20080905/46fffaee/attachment-0001.html 


More information about the Red5 mailing list