[Clustering/JBoss] - Re: Session Replication - Cluster- Getting ERROR [JBossCache
by nagmca
"nagmca" wrote : Hi,
|
| I am trying to achieve the 2 Node clustering with L4 switch in front of them. Multicasting is not enabled so have to use TCP. For that, modified cluster-service.xml and jboss-service.xml (under jboss-web-cluster/META-INF).
|
| Sticky sessions are enabled in L4 Switch. The following scenario is giving me an error w.r.t session replication
|
| 1. User logs into the application .. could see log in Node 1 shows user activitiy. Log from L4 shows user is hitting Node1
| 2. Node 1 goes down after a min or so. Node 2 detects that event.
| 3. Now if the user clicks any link on the application, I am seeing the following error in Node 2 console.
|
| ERROR [JBossCacheService] loadSession() ZMq2dHkNhU4F75TqFEcSbw**exception occurred during serialization: com.xxx.xx.xxxx.xxxx: An unexpected exception occurred while performing encryption/decryption.
|
| User gets a page saying session is timed out and re-enter the credentials.
|
| Any pointers are greatly helpful.
|
| Regards
| Nagesh G
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4218736#4218736
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4218736
17 years, 3 months
[Clustering/JBoss] - Session Replication - Cluster- Getting ERROR [JBossCacheServ
by nagmca
Hi,
I am trying to achieve the 2 Node clustering with L4 switch in front of them. Multicasting is not enabled so have to use TCP. For that, modified cluster-service.xml and jboss-service.xml (under jboss-web-cluster/META-INF).
Sticky sessions are enabled in L4 Switch. The following scenario is giving me an error w.r.t session replication
1. User logs into the application .. could see log in Node 1 shows user activitiy. Log from L4 shows user is hitting Node1
2. Node 1 goes down after a min or so. Node 2 detects that event.
3. Now if the user clicks any link on the application, I am seeing the following error in Node 2 console.
ERROR [JBossCacheService] loadSession() ZMq2dHkNhU4F75TqFEcSbw**exception occurred during serialization: com.xxx.xx.xxxx.xxxx: An unexpected exception occurred while performing encryption/decryption.
Any pointers are greatly helpful.
Regards
Nagesh G
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4218734#4218734
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4218734
17 years, 3 months
[JBoss Cache: Core Edition] - Re: is it possible for MVCCInvocationContext to have null mv
by manik.surtani@jboss.com
"bstansberry(a)jboss.com" wrote : You only modify data that you read? What if I just call removeNode() with no preceding get()?
|
Then the read happens at the time of the removeNode(). I.e., the node to be removed is read from the data structure, then marked as removed and finally removed when the tx completes.
"bstansberry(a)jboss.com" wrote : Well, anyway, that makes it clear that MVCC + R_R is not usable for Hibernate Second Level Caching, at least not without a major rewrite of the integration layer.
Actually, this should actually be viewed as a bug/inconsistency in the way write skews are currently handled, since:
1. A write skew involving modifying data will overwrite any intermediate data and the last commit wins.
2. In the case of a removeNode(), a write preceeding the remove will win.
To be consistent, with the same "last tx wins" approach to dealing with write skews, if write skew checking is disabled a removeNode() should remove *any* node present under the given Fqn, not necessarily the node read earlier in the same tx.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4218732#4218732
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4218732
17 years, 3 months