[Red5devs] NoSuchBeanDefinitionException: No bean named 'userDetailsService' is defined
Mondain
mondain at gmail.com
Thu Jun 12 22:24:19 PDT 2008
This line in your web.xml will cause many things to load more than one copy
<listener>
<listener-class>org.springframework.
web.context.ContextLoaderListener<http://web.context.contextloaderlistener/>
</listener-class>
</listener>
I recommend not putting it in.. as for the ticket, please put one in Jira
for tracking since I havent had time to fix this yet.
Paul
On Thu, Jun 12, 2008 at 10:07 PM, Daniel Rossi <spam at electroteque.org>
wrote:
>
> 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>
>
>
>
> _______________________________________________
> Red5devs mailing list
> Red5devs at osflash.org
> http://osflash.org/mailman/listinfo/red5devs_osflash.org
>
>
--
It is difficult to free fools from the chains they revere. - Voltaire
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5devs_osflash.org/attachments/20080612/b442adf0/attachment.html
More information about the Red5devs
mailing list