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

CLONE - ejbActivate called instead of ejbPassivate for EJB2 stateful beans

XMLWordPrintable

      There is problem with passivation of EJB2 stateful bean. Please check my test case:
      https://github.com/ochaloup/jboss-as/commit/91459f954225dc2760ae640f912186412160843b

      Bean is defined with usage of annotation.
      https://github.com/ochaloup/jboss-as/blob/91459f954225dc2760ae640f912186412160843b/testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ejb/stateful/passivation/ejb2/TestPassivationBean.java

      The EJB2 beans are not passivated or ejbPassivate method is not called on passivation event. There could be problem with definition of cache that is used for passivating of EJB2 beans. In case that it should be used another configuration than that for ejb3 beans then this could be only configuration issue.

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

                Created:
                Updated:
                Resolved: