[jboss-jira] [JBoss JIRA] Commented: (JBAS-8384) Passivation of a @Stateful session bean with an @Inject'ed @Stateless session bean fails with not-serializable error.

Ken Britton (JIRA) jira-events at lists.jboss.org
Fri Sep 3 14:02:52 EDT 2010


    [ https://jira.jboss.org/browse/JBAS-8384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12548969#action_12548969 ] 

Ken Britton commented on JBAS-8384:
-----------------------------------

I've noticed there are a lot of people with similar issues that essentially boil down to utilizing a non-serializable class in the SFSB.  Note that in my example, there is one property that is serializable (java.lang.String) and an empty @Stateless sesssion bean.  Given that @Stateless session beans can be passivated by the container I assume that this should just work.

> Passivation of a @Stateful session bean with an @Inject'ed @Stateless session bean fails with not-serializable error.
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBAS-8384
>                 URL: https://jira.jboss.org/browse/JBAS-8384
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 6.0.0.M4
>         Environment: Mac OS 10.6.4, Java6
>            Reporter: Ken Britton
>
> If a @Stateful session bean has an injected @Stateless session bean it cannot be passivated.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list