Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-9245

Passivation of a @Stateful session bean with an @Inject'ed @Stateless session bean fails with not-serializable error.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 6.0.0.Final
    • EJB
    • None
    • Workaround Exists
    • Hide

      The workaround is to use the Cache-Annotation at the stateful bean:

      StatefulBean.java
      @Stateful
      @Cache(value = "NoPassivationCache")
      public class StatefulBean {
        ...
      }
      
      Show
      The workaround is to use the Cache-Annotation at the stateful bean: StatefulBean.java @Stateful @Cache(value = "NoPassivationCache" ) public class StatefulBean { ... }

      I've the same problem described in this issue https://issues.jboss.org/browse/JBAS-8384

      Could you please resolve it (maybe in 6.1.0) and dont just close it. Thank you

            rhn-engineering-cdewolf Carlo de Wolf
            windigo_jira Felix Ullrich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: