You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by Gurkan Erdogdu <cg...@gmail.com> on 2010/03/16 19:14:34 UTC

Re: [jira] Created: (OWB-327) annotating an Interceptor with @ApplictionScoped leads to OutOfMemory

>>>Please note that an Interceptor is per definition @Dependent scoped as of
section 6.4.1.
As you said, you must not define interceptors as ApplicationScoped otherwise
behaviour is undefined.

Thanks;

--Gurkan

2010/3/16 Mark Struberg (JIRA) <ji...@apache.org>

> annotating an Interceptor with @ApplictionScoped leads to OutOfMemory
> ---------------------------------------------------------------------
>
>                 Key: OWB-327
>                 URL: https://issues.apache.org/jira/browse/OWB-327
>             Project: OpenWebBeans
>          Issue Type: Bug
>    Affects Versions: M4
>            Reporter: Mark Struberg
>            Assignee: Gurkan Erdogdu
>            Priority: Critical
>             Fix For: 1.0.0
>
>
> If you write an Interceptor and manually annotate it @ApplicationScoped
> then the memory will get used up until a OOME.
>
> Please note that an Interceptor is per definition @Dependent scoped as of
> section 6.4.1.
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>


-- 
Gurkan Erdogdu
http://gurkanerdogdu.blogspot.com

Re: [jira] Created: (OWB-327) annotating an Interceptor with @ApplictionScoped leads to OutOfMemory

Posted by Gurkan Erdogdu <gu...@yahoo.com>.
>>>think we should drop the scope and log a warning, wdyt?
Yea, good idea!




________________________________
From: Mark Struberg <st...@yahoo.de>
To: dev@openwebbeans.apache.org
Sent: Tue, March 16, 2010 8:22:54 PM
Subject: Re: [jira] Created: (OWB-327) annotating an Interceptor with  @ApplictionScoped leads to OutOfMemory

Yes, I've now also checked with jboss folks and there seems to be no further restriction other than "it's not a good idea" ;)

I think we should drop the scope and log a warning, wdyt?

To consume up memory is at least not a good idea ;)

LieGrue,
strub

--- Gurkan Erdogdu <cg...@gmail.com> schrieb am Di, 16.3.2010:

> Von: Gurkan Erdogdu <cg...@gmail.com>
> Betreff: Re: [jira] Created: (OWB-327) annotating an Interceptor with  @ApplictionScoped leads to OutOfMemory
> An: dev@openwebbeans.apache.org
> Datum: Dienstag, 16. März, 2010 19:14 Uhr
> >>>Please note that an
> Interceptor is per definition @Dependent scoped as of
> section 6.4.1.
> As you said, you must not define interceptors as
> ApplicationScoped otherwise
> behaviour is undefined.
> 
> Thanks;
> 
> --Gurkan
> 
> 2010/3/16 Mark Struberg (JIRA) <ji...@apache.org>
> 
> > annotating an Interceptor with @ApplictionScoped leads
> to OutOfMemory
> >
> ---------------------------------------------------------------------
> >
> >             
>    Key: OWB-327
> >             
>    URL: https://issues.apache.org/jira/browse/OWB-327
> >         
>    Project: OpenWebBeans
> >          Issue Type: Bug
> >    Affects Versions: M4
> >            Reporter:
> Mark Struberg
> >            Assignee:
> Gurkan Erdogdu
> >            Priority:
> Critical
> >         
>    Fix For: 1.0.0
> >
> >
> > If you write an Interceptor and manually annotate it
> @ApplicationScoped
> > then the memory will get used up until a OOME.
> >
> > Please note that an Interceptor is per definition
> @Dependent scoped as of
> > section 6.4.1.
> >
> > --
> > This message is automatically generated by JIRA.
> > -
> > You can reply to this email to add a comment to the
> issue online.
> >
> >
> 
> 
> -- 
> Gurkan Erdogdu
> http://gurkanerdogdu.blogspot.com
> 

__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. 
http://mail.yahoo.com



      ___________________________________________________________________
Yahoo! Türkiye açıldı!  http://yahoo.com.tr
İnternet üzerindeki en iyi içeriği Yahoo! Türkiye sizlere sunuyor!

Re: [jira] Created: (OWB-327) annotating an Interceptor with @ApplictionScoped leads to OutOfMemory

Posted by Mark Struberg <st...@yahoo.de>.
Yes, I've now also checked with jboss folks and there seems to be no further restriction other than "it's not a good idea" ;)

I think we should drop the scope and log a warning, wdyt?

To consume up memory is at least not a good idea ;)

LieGrue,
strub

--- Gurkan Erdogdu <cg...@gmail.com> schrieb am Di, 16.3.2010:

> Von: Gurkan Erdogdu <cg...@gmail.com>
> Betreff: Re: [jira] Created: (OWB-327) annotating an Interceptor with  @ApplictionScoped leads to OutOfMemory
> An: dev@openwebbeans.apache.org
> Datum: Dienstag, 16. März, 2010 19:14 Uhr
> >>>Please note that an
> Interceptor is per definition @Dependent scoped as of
> section 6.4.1.
> As you said, you must not define interceptors as
> ApplicationScoped otherwise
> behaviour is undefined.
> 
> Thanks;
> 
> --Gurkan
> 
> 2010/3/16 Mark Struberg (JIRA) <ji...@apache.org>
> 
> > annotating an Interceptor with @ApplictionScoped leads
> to OutOfMemory
> >
> ---------------------------------------------------------------------
> >
> >             
>    Key: OWB-327
> >             
>    URL: https://issues.apache.org/jira/browse/OWB-327
> >         
>    Project: OpenWebBeans
> >          Issue Type: Bug
> >    Affects Versions: M4
> >            Reporter:
> Mark Struberg
> >            Assignee:
> Gurkan Erdogdu
> >            Priority:
> Critical
> >         
>    Fix For: 1.0.0
> >
> >
> > If you write an Interceptor and manually annotate it
> @ApplicationScoped
> > then the memory will get used up until a OOME.
> >
> > Please note that an Interceptor is per definition
> @Dependent scoped as of
> > section 6.4.1.
> >
> > --
> > This message is automatically generated by JIRA.
> > -
> > You can reply to this email to add a comment to the
> issue online.
> >
> >
> 
> 
> -- 
> Gurkan Erdogdu
> http://gurkanerdogdu.blogspot.com
> 

__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. 
http://mail.yahoo.com