[jboss-user] [Clustering/JBoss] - Web session replication: Classloader Problem

joerg.viola do-not-reply at jboss.com
Fri Sep 5 02:25:02 EDT 2008

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 at 1f13a81c"
for each replicated session. I see:
"pteGqYO5NA6kW6pG-b3kyg**: [B at 8f04ba5" (No MarshalledValue).

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

May the analysis be correct?
Any ideas?

Thanks a lot - Joerg

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4174455#4174455

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4174455

More information about the jboss-user mailing list