[jboss-jira] [JBoss JIRA] (AS7-6635) EJB2 CMB beans: ejbActivate callback is called after the bean creation

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Tue Feb 26 09:24:56 EST 2013


    [ https://issues.jboss.org/browse/AS7-6635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12756770#comment-12756770 ] 

RH Bugzilla Integration commented on AS7-6635:
----------------------------------------------

Jaikiran Pai <jpai at redhat.com> made a comment on [bug 914738|https://bugzilla.redhat.com/show_bug.cgi?id=914738]

Can you please attach the logs of the failing test, so that I can quickly check if this is really an issue or a testcase problem?
                
>  EJB2 CMB beans: ejbActivate callback is called after the bean creation
> -----------------------------------------------------------------------
>
>                 Key: AS7-6635
>                 URL: https://issues.jboss.org/browse/AS7-6635
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: EJB
>    Affects Versions: 7.2.0.Alpha1
>            Reporter: Wolf-Dieter Fink
>            Assignee: Wolf-Dieter Fink
>              Labels: cmp, ejb, entities, entity
>
> Called ejbActive after the create() call on home interface is incorrect by spec.
> 10.1.3
> There are two possible transitions from the pooled to the ready state: through the ejbCreate<METHOD> and ejbPostCreate<METHOD> methods, or through the ejbActivate method. The container invokes the ejbCreate<METHOD> and ejbPostCreate<METHOD> methods when the instance is assigned to an entity object during entity object creation. 
> The container invokes the ejbActivate method on an instance when an instance needs to be activated to service an invocation on an existing entity object—this occurs because there is no suitable instance in the ready state to service the client’s call or the ejbTimeout method.

--
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: http://www.atlassian.com/software/jira



More information about the jboss-jira mailing list