[Red5] Webapps initialising twice

mabrek mabrek at gmail.com
Wed Jun 18 12:09:33 PDT 2008


I don't use Spring context loading listener, it's my custom listener than doesn't interact with Spring at all.

> The tomcat loader, loads the Spring contexts automatically after the 
> Webapp has been initialized so there is no need for the listener to be 
> specified. That message your seeing is part of the reason I changed the 
> loader, but even after doing so Spring seems to see the other contexts 
> and will display the message anyway; even though all the web contexts 
> have their own classloaders and resources.
> 
> Paul
> 
> On Wed, Jun 18, 2008 at 3:51 AM, mabrek <mabrek at gmail.com 
> <mailto:mabrek at gmail.com>> wrote:
> 
>     What is the problem with context loader listener? I use it and see
>     [main] INFO  o.a.catalina.core.StandardContext - The     listener
>     "..." is already configured for this context. The duplicate
>     definition has been ignored.
>     in server logs (trunk r2853)
> 
>     On Tue, Jun 17, 2008 at 7:29 PM, Mondain <mondain at gmail.com
>     <mailto:mondain at gmail.com>> wrote:
> 
>         The context loader listener will cause that to happen.. just
>         remove it from your web.xml. Pretty much what Dan said :)
> 
>         Paul
> 
> 
>         On Tue, Jun 17, 2008 at 7:52 AM, Daniel Rossi
>         <spam at electroteque.org <mailto:spam at electroteque.org>> wrote:
> 
> 
>             On 18/06/2008, at 12:27 AM, Trevor Burton wrote:
> 
>              > now i've got Red5 running again in Eclipse i'm now having
>             a weird
>              > issue whereby my webapp is being initialised twice on startup
>              >
>              > the demo webapps startup correctly but the only custom
>             webapp i've
>              > added is being created twice.... anyone experience this
>             before?
>              >
> 
>             Check that your web.xml looks similar to the demo apps.
>             There was
>             changes to how the bean descriptor files get loaded I believe.
> 
>             _______________________________________________
>             Red5 mailing list
>             Red5 at osflash.org <mailto:Red5 at osflash.org>
>             http://osflash.org/mailman/listinfo/red5_osflash.org
> 
> 
> 
> 
>         -- 
>         It is difficult to free fools from the chains they revere. -
>         Voltaire
>         _______________________________________________
>         Red5 mailing list
>         Red5 at osflash.org <mailto:Red5 at osflash.org>
>         http://osflash.org/mailman/listinfo/red5_osflash.org
> 
> 
> 
>     _______________________________________________
>     Red5 mailing list
>     Red5 at osflash.org <mailto:Red5 at osflash.org>
>     http://osflash.org/mailman/listinfo/red5_osflash.org
> 
> 
> 
> 
> -- 
> It is difficult to free fools from the chains they revere. - Voltaire
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org




More information about the Red5 mailing list