Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-25420

ISPN000559 - Serialization error when sharing a session in a cluster

XMLWordPrintable

    • False
    • None
    • False
    • Regression
    • Workaround Exists
    • Hide

      Replace #{session.foo} with #{request.session.foo}

      Show
      Replace #{session.foo} with #{request.session.foo}
    • Hide

      Test app, server configuration, and full log attached. The test app is a WAR with Jakarta Security, a secure page, a login page, and an error page. When a session is started on one node, the error is logged but not propagated to the app.

      Show
      Test app, server configuration, and full log attached. The test app is a WAR with Jakarta Security, a secure page, a login page, and an error page. When a session is started on one node, the error is logged but not propagated to the app.

      Infinispan is producing a serialization error when trying to synchronize a session between two nodes in a cluster. The stack trace seems to be caused by lambda expressions in an internal CDI class, not related to the test app itself. The standalone-ha.xml attached is from 28.0.0.Beta1, but I also observed the issue on 27.0.1.Final.

      ISPN000559: Cannot marshall 'class org.infinispan.marshall.protostream.impl.MarshallableUserObject': java.io.NotSerializableException: com.sun.faces.cdi.SessionProducer$$Lambda$1316/0x0000000801755098 

        1. myweb.zip
          7 kB
        2. server.log
          80 kB
        3. standalone-ha.xml
          34 kB

            pferraro@redhat.com Paul Ferraro
            mchoma@redhat.com Martin Choma
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: