[Clustering/JBoss] - Web session replication: Classloader Problem
by joerg.viola
Hi,
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
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
17 years, 10 months
JBOSS in udp mode
by Naveen Kumashi
Hello everybody.
By default JBOSS runs in TCP mode.
I would like to know how to make JBOSS run in UDP mode ?
Regards,
Naveen.
17 years, 10 months
[JBossWS] - Consuming a secure web service as standalone app using jboss
by jstewart66061
I need to consume a third=party web service (that is over SSL and requires WS-Security username/password authentication) from both a standalone app (running outside of an app server environment) and from within a web app (a WAR in JBoss 4.2.1+). Is this possible using JBossWS? I have a completely working WS client built using CXF, but can't get anything to work inside JBoss. I'm willing to get rid of CXF if I can get JBossWS native working both inside and outside of the container.
I've already done a nice wsconsume and got the required artifacts. I just can't figure out how to setup the WS-Sec stuff, the SSL stuff, or the WAR's classpath to allow this all to work. If I can get all of that working, I can hopefully figure out the standalone stuff using just a ton of the JBossWS JARs in a really huge classpath.
Any help is greatly appreciated.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4174445#4174445
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4174445
17 years, 10 months