2 Replies Latest reply on Mar 24, 2007 2:00 PM by Oliver Charlet

    Serialization Exception after Session timeout

    Oliver Charlet Newbie

      Hi there,

      I am having problems after a session timeout.
      When a session times out, my web page tries to access a property in an Stateful Session Bean in Session Scope and I get the following Exception:

      top:
      Exception getting value of property headline.line1 of base of type : de.greenmiles.website.words.SessionWords$$EnhancerByCGLIB$$a4daa20d
      ...
      Caused by: javax.ejb.EJBTransactionRolledbackException: java.lang.RuntimeException: org.jboss.serial.exception.SerializationException: Could not create instance of org.jboss.seam.persistence.EntityManagerProxy - org.jboss.seam.persistence.EntityManagerProxy

      It seams to me, that this is some follow-up problem, but I have no idea, what could be wrong.

      The exotic part in my setup is, that the session bean accesses another Stateful Session Bean in Application Scope, that is used as a cache for the data used in the Session Bean in Session Scope.

      I hope, someone can give me a hint, why the Serialization Exception is happening.

      Thanks for any help
      :oliver