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

Strange behaviour of bean passivation with definition of max-size attribute at file-passivation-store

XMLWordPrintable

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

      Please check my test: https://github.com/ochaloup/jboss-as/blob/JBQA-5483-test-migration-passivation2/testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ejb/stateful/passivation/PassivationSucceedsUnitTestCase.java

      Bean passivation has strange behavior after definition of max-size for file-passivation-store.
      The test creates two SFSB.

      In case that I set max-size = 1 the passivation was not provided despite it should be because of size of store.
      In case that I set max-size = 2 (or 3) the test freezes. There is no exception but it ends with timeout and no action is provided (the debug log level says: "[com.arjuna.ats.arjuna] (Periodic Recovery) Periodic recovery second pass at Mon, 30 Jan 2012 17:11:29" and continues with messages in similar way)

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

                Created:
                Updated:
                Resolved: