4 Replies Latest reply on Mar 7, 2009 6:44 PM by Scott Basinger

    seam in tomcat 6 cluster: seam managed entityManager cannot be replicated..

    Stephane DUCAS Newbie

      Hello,


      I'm trying to set up a vertical tomcat cluster (two tomcat instances on the same computer) running a  2.1.0.SP1 seam application.


      Has soon as I start a conversation the replication don't work and throw:


      java.lang.IllegalStateException: unread block data
      



      I tryed evrery JDK(32 and 64bits) version on win32, debian, kubuntu (32 and 64bits), open jdk....


      While debugging i figured out that it was when trying to deserialize (for replication from one node to an other) this session attribute:


      org.jboss.seam.CONVERSATION#61$entityManager
      



      It seems the stream transmitted for that session attribute can not be deserialiazed and throw the above exception.


      How can I fix it?


      How to deal with managed persistance context in a tomcat cluster (org.apache.catalina.ha.tcp.SimpleTcpCluster).


      THX!!