geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdam...@apache.org
Subject svn commit: r630601 - in /geronimo/server/trunk/plugins/openejb/geronimo-openejb-clustering-wadi/src: main/java/org/apache/geronimo/openejb/cluster/stateful/container/ test/java/org/apache/geronimo/openejb/cluster/stateful/container/
Date Sun, 24 Feb 2008 08:01:44 GMT
Author: gdamour
Date: Sun Feb 24 00:01:43 2008
New Revision: 630601

URL: http://svn.apache.org/viewvc?rev=630601&view=rev
Log:
addState once again during onEndAccess so that the session becomes dirty and
hence is replicated..

Modified:
    geronimo/server/trunk/plugins/openejb/geronimo-openejb-clustering-wadi/src/main/java/org/apache/geronimo/openejb/cluster/stateful/container/ClusteredBeanEntry.java
    geronimo/server/trunk/plugins/openejb/geronimo-openejb-clustering-wadi/src/test/java/org/apache/geronimo/openejb/cluster/stateful/container/ClusteredStatefulInstanceManagerTest.java

Modified: geronimo/server/trunk/plugins/openejb/geronimo-openejb-clustering-wadi/src/main/java/org/apache/geronimo/openejb/cluster/stateful/container/ClusteredBeanEntry.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/openejb/geronimo-openejb-clustering-wadi/src/main/java/org/apache/geronimo/openejb/cluster/stateful/container/ClusteredBeanEntry.java?rev=630601&r1=630600&r2=630601&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/openejb/geronimo-openejb-clustering-wadi/src/main/java/org/apache/geronimo/openejb/cluster/stateful/container/ClusteredBeanEntry.java
(original)
+++ geronimo/server/trunk/plugins/openejb/geronimo-openejb-clustering-wadi/src/main/java/org/apache/geronimo/openejb/cluster/stateful/container/ClusteredBeanEntry.java
Sun Feb 24 00:01:43 2008
@@ -67,6 +67,7 @@
     }
 
     public void endAccess() {
+        session.addState(SESSION_KEY_ENTRY, this);
         session.onEndAccess();
     }
     

Modified: geronimo/server/trunk/plugins/openejb/geronimo-openejb-clustering-wadi/src/test/java/org/apache/geronimo/openejb/cluster/stateful/container/ClusteredStatefulInstanceManagerTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/openejb/geronimo-openejb-clustering-wadi/src/test/java/org/apache/geronimo/openejb/cluster/stateful/container/ClusteredStatefulInstanceManagerTest.java?rev=630601&r1=630600&r2=630601&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/openejb/geronimo-openejb-clustering-wadi/src/test/java/org/apache/geronimo/openejb/cluster/stateful/container/ClusteredStatefulInstanceManagerTest.java
(original)
+++ geronimo/server/trunk/plugins/openejb/geronimo-openejb-clustering-wadi/src/test/java/org/apache/geronimo/openejb/cluster/stateful/container/ClusteredStatefulInstanceManagerTest.java
Sun Feb 24 00:01:43 2008
@@ -193,6 +193,8 @@
         session.addState(ClusteredBeanEntry.SESSION_KEY_ENTRY, null);
         modify().args(is.AS_RECORDED, is.NOT_NULL);
         
+        session.addState(ClusteredBeanEntry.SESSION_KEY_ENTRY, null);
+        modify().args(is.AS_RECORDED, is.NOT_NULL);
         session.onEndAccess();
         
         startVerification();



Mime
View raw message