-
1. Re: JBoss EAP 6.0 cluster with two server authinticating the user on both servers
wdfink Mar 10, 2013 8:25 AM (in response to moe.harb)I'm not sure how the replication works in that case.
But it is recommended to use session stickyness.
I suppose the session is not found if you reach the other server, it may that it is not replicated at this moment or a different id is used.
-
2. Re: JBoss EAP 6.0 cluster with two server authinticating the user on both servers
moe.harb Mar 10, 2013 9:39 AM (in response to wdfink)when i login on the second server i can see my session data ,, this means that my session has been replicated (according to my understanding this should be right). i also tried the same application without enabling security domain the session gets replicated with no issues ,,
the session affinity is not an option as my company seeking to achieve LB through round-robin routing policy..
i only face this problem when enabling the security domain... any suggestions guys
-
3. Re: JBoss EAP 6.0 cluster with two server authinticating the user on both servers
tqvarnst Mar 14, 2013 1:05 PM (in response to moe.harb)Have you configured the web sub system to use use the sso replication?
E.g.
<subsystem xmlns="urn:jboss:domain:web:1.1" default-virtual-server="default-host" instance-id="${jboss.node.name}" native="false">
...
<virtual-server name="default-host" enable-welcome-root="true">
...
<sso cache-container="web" cache-name="sso" reauthenticate="false"/>
</virtual-server>
</subsystem>
-
4. Re: JBoss EAP 6.0 cluster with two server authinticating the user on both servers
moe.harb Mar 16, 2013 3:48 AM (in response to tqvarnst)thanks thomas, but it did not work either
and also i have noticed alot of warnnings and errors like :
[Server:server-three] 10:45:52,375 WARN [org.jgroups.protocols.MPING] (Receiver
Thread) discarding discovery request for cluster 'ejb' from slave:server-three/e
jb; our cluster name is 'web'. Please separate your clusters cleanly.
and :
[Server:server-three] Caused by: org.jboss.as.clustering.lock.TimeoutException:
JBAS010213: Cannot acquire lock default-host/WebApp/HCZKqTBMOSD4fLR8Sybw
0+l0 from cluster
[Server:server-three] at org.jboss.as.clustering.lock.SharedLocalYieldingClust
erLockManager.lock(SharedLocalYieldingClusterLockManager.java:439)
[Server:server-three] at org.jboss.as.clustering.web.infinispan.DistributedCac
heManager.acquireSessionOwnership(DistributedCacheManager.java:381)
[Server:server-three] at org.jboss.as.web.session.ClusteredSession.acquireSess
ionOwnership(ClusteredSession.java:529) [jboss-as-web-7.1.3.Final-redhat-4.jar:7
.1.3.Final-redhat-4]
[Server:server-three] at org.jboss.as.web.session.ClusteredSession.access(Clus
teredSession.java:501) [jboss-as-web-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat
-4]
[Server:server-three] ... 17 more
any suggestion !!