deltaspike-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerhard Petracek (JIRA)" <>
Subject [jira] [Assigned] (DELTASPIKE-356) MessageContextProducer causes a ton of log output on each request
Date Tue, 30 Apr 2013 12:40:16 GMT


Gerhard Petracek reassigned DELTASPIKE-356:

    Assignee: Mark Struberg
> MessageContextProducer causes a ton of log output on each request
> -----------------------------------------------------------------
>                 Key: DELTASPIKE-356
>                 URL:
>             Project: DeltaSpike
>          Issue Type: Bug
>          Components: I18n-Module
>    Affects Versions: 0.3-incubating
>            Reporter: Stefan Strobl
>            Assignee: Mark Struberg
> {noformat}
> 2013-04-19 12:00:17,102 [http-bio-8080-exec-5]: local 4F6067CAAC93376AC5A451C98CAF289D
WARN  provider.BeanProvider - BeanProvider shall not be used to create @Dependent scoped beans.
Bean: MessageContext, Name:null, WebBeans Type:PRODUCERMETHOD, API Types:[org.apache.deltaspike.core.api.message.MessageContext,java.lang.Object],
> {noformat}
> in our project with a couple of request scoped beans that have messages injected, this
log is produced once per injection point per request (which equals to quite a bit of spam).
The same log is also visible when running the Deltaspike tests.
> After some code reading it seems to me that the entry is caused by the following method:
> {{org.apache.deltaspike.core.impl.message.MessageContextProducer#createDefaultMessageContext}}
> and might only appear when ProjectStage is set to Development or UnitTest
> see:
> {{org.apache.deltaspike.core.api.provider.BeanProvider#logWarningIfDependent}}

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message