Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-2796

JDG tomcat session externalization: session is not passivated properly in case of FINE persistenceStrategy

XMLWordPrintable

    • CR1
    • DataGrid Sprint #44, DataGrid Sprint #45

      After the JDG-2618 is fixed, new issue started to appear for Tomcat 7/8.
      We have a test which tests Session Passivation/Activation. The issue is that after session creation the session is not passivated. It is passivated after each next call to the same session but is not passivated after exactly the first one.
      This happens when `persistenceStrategy` is set to `FINE`. With `COARSE` this doesn't happen.

      This is the specific test failure: https://jdg-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/jdg-func-session-externalization-eap/lastCompletedBuild/CONFIG=XSITE,container=tomcat8,jdk=java18_default,label_exp=RHEL7,strategy=FINE/testReport/org.infinispan.test.sessionext.jee/JeeSessionExternalizationIT/testSessionActiovationAndPassivation/

      The code for the test is located:
      https://github.com/infinispan/jdg-functional-tests/blob/master/remote/session-externalization/src/test/java/org/infinispan/test/sessionext/jee/JeeSessionExternalizationIT.java#L41

      For running it locally run the following command:
      mvn -s /path/to/mvn-settings.xml clean verify -Djdg1.xsite=/path/to/jdg1/jboss-datagrid-7.3.1-server -Djdg2.xsite=/path/to/jdg2/jboss-datagrid-7.3.1-server -Dcatalina1.home=/path/to/jws-3.1/tomcat81 -Dcatalina2.home=/path/to/jws-3.1/tomcat82 -Djws.lib.path=/path/to/jboss-datagrid-7.3.1-tomcat8-session-client -DpersistenceStrategy=FINE -Dit.test=JeeSessionExternalizationIT#testSessionActiovationAndPassivation

            dlovison@redhat.com Diego Lovison
            amanukya@redhat.com Anna Manukyan
            Diego Lovison Diego Lovison
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: