0 Replies Latest reply on Sep 5, 2008 2:25 AM by Jörg Viola

    Web session replication: Classloader Problem

    Jörg Viola Newbie

      deploying a Seam webapp in a two node cluster, I get a problem immediatly after adding the second node (i.e. when replication starts):

      Symptom: "value of context variable is not an instance of the component bound to the context variable" from Seam.

      Analysis: The object put into the web session by replication is an instance of a classloader which is not the webapp classloader, hence it is not assignable to the class the Seam component expects.

      Further symptom: Docs state that TomcatClusteringCache MBean shoud show something like
      "FB04767C454BAB3B2E462A27CB571330: org.jboss.invocation.MarshalledValue@1f13a81c"
      for each replicated session. I see:
      "pteGqYO5NA6kW6pG-b3kyg**: [B@8f04ba5" (No MarshalledValue).

      Tried "UseMarshalling" and "UseRegionBasedMarshalling" to no use.

      May the analysis be correct?
      Any ideas?

      Thanks a lot - Joerg