[Red5] WARN org.red5.server.Context - Bean lookup failed forfoo..soservice in the application context

Manuel Raña info at vengava.com
Wed May 13 08:40:54 PDT 2009


Debian,

are you using SharedObject.send()?
does it works for you?

I've seen this message before when using SharedObject.send() without
affecting funcionality (in my case) it comes from
org.red5.server.Context.java (line 376):

    public Object getBean(String beanId) {
        // for war applications the "application" beans are not stored in
the
        // sub-contexts, so look in the application context first and the
core
        // context second
        Object bean = null;
        try {
            bean = applicationContext.getBean(beanId);
        } catch (NoSuchBeanDefinitionException e) {
            logger.warn("Bean lookup failed for {} in the application
context", beanId, e);
        }
        if (bean == null) {
            bean = getCoreService(beanId);
        }
        return bean;
    }

But it seems to me that it don't affect funcionality, should this warn be
removed?


2009/5/13 Andy Shaules <bowljoman at hotmail.com>

>  yeah, but that message is coming from within red5 in my app too....
>
> I do not use SO's nor do I look them up in this app, and get this message
> each time the server is started.
>
>  Nor do I have a 'foo' any where in my code either.
>
>
>
> ----- Original Message -----
> *From:* Dominick Accattato <daccattato at gmail.com>
> *To:* red5 at osflash.org
> *Sent:* Wednesday, May 13, 2009 8:18 AM
> *Subject:* Re: [Red5] WARN org.red5.server.Context - Bean lookup failed
> forfoo..soservice in the application context
>
> do you have a bean named "foo..soservice" in your red5-web.xml file?  If
> so, you're using the wrong naming convention needed for it to be looked up
> properly.
>
>  Dominick Accattato
> CTO & Senior Engineer
> www.infrared5.com
> 315.717.2818
>
>
>
> On Wed, May 13, 2009 at 4:28 AM, Debian User <testpresta at laposte.net>wrote:
>
>> Hello
>>
>> I have this error message in my log files:
>>
>> WARN  org.red5.server.Context - Bean lookup failed for foo..soservice in
>> the application context
>>
>> I have a sharedobject called foo.
>> Do you know what is the problem ?
>>
>> Thanks
>>
>>
>> _______________________________________________
>> Red5 mailing list
>> Red5 at osflash.org
>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>
>
>  ------------------------------
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
> _______________________________________________
> 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/20090513/1ef0fee4/attachment.html>


More information about the Red5 mailing list