[Red5devs] NoSuchBeanDefinitionException: No bean named 'userDetailsService' is defined
Daniel Rossi
spam at electroteque.org
Thu Jun 12 22:07:09 PDT 2008
On 13/06/2008, at 10:38 AM, Thijs Triemstra | Collab wrote:
> Trying to start red5 r2850 with 'sudo ant server' and getting errors
> about userDetailsService: http://red5.pastebin.org/43590
> Any idea?
>
> Cheers,
>
> Thijs
Interesting, should we put dumps into pastbin for now on instead of
email ?
There is a problem with the admin because of bean loader issues with
servlets. It is also happening on my hessian servlet exporter on my
webapp referencing dao beans. It seems the servlet is loaded first and
doesnt know the bean id yet because it hasn't been loaded yet ??
I believe it's time for a ticket, did you want to do it or should I ?
Here is the work around to get it working again
put this code back into web.xml. I believe its been taken out and
handled somewhere else, but u can see as soon as tomcat is loaded it
happens
<context-param>
<param-name>globalScope</param-name>
<param-value>default</param-value>
</context-param>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/red5-*.xml</param-value>
</context-param>
<context-param>
<param-name>locatorFactorySelector</param-name>
<param-value>red5.xml</param-value>
</context-param>
<context-param>
<param-name>parentContextKey</param-name>
<param-value>default.context</param-value>
</context-param>
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5devs_osflash.org/attachments/20080613/bae90529/attachment.html
More information about the Red5devs
mailing list