Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-3569

Passivation of SessionContext field does not work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.1.0.Final
    • None
    • EJB

    Description

      In case of adding non-transient SessionContext field to a stateful bean, the passivation of the bean ends with exception: JBAS014538: Failed to passivate, Caused by: java.io.NotSerializableException: org.jboss.as.ejb3.context.SessionContextImpl.
      (EJB3.1 4.2.1)

      Please check my test: https://github.com/ochaloup/jboss-as/blob/JBQA-5483-test-migration-passivation-ctx/testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ejb/stateful/persistencecontext/StatefulBean.java#L47

      Attachments

        Activity

          People

            sdouglas1@redhat.com Stuart Douglas
            ochaloup@redhat.com Ondrej Chaloupka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: