geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jb...@apache.org
Subject svn commit: r476214 - /geronimo/sandbox/javaee5/modules-jee5/geronimo-jetty6-clustering-wadi/src/main/java/org/apache/geronimo/jetty6/cluster/wadi/WADIClusteredPreHandler.java
Date Fri, 17 Nov 2006 16:54:09 GMT
Author: jbohn
Date: Fri Nov 17 08:54:08 2006
New Revision: 476214

URL: http://svn.apache.org/viewvc?view=rev&rev=476214
Log:
* GERONIMO-2470 - Add support for Session Replication
* Move to WADI release version 2.0M2.

Modified:
    geronimo/sandbox/javaee5/modules-jee5/geronimo-jetty6-clustering-wadi/src/main/java/org/apache/geronimo/jetty6/cluster/wadi/WADIClusteredPreHandler.java

Modified: geronimo/sandbox/javaee5/modules-jee5/geronimo-jetty6-clustering-wadi/src/main/java/org/apache/geronimo/jetty6/cluster/wadi/WADIClusteredPreHandler.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/javaee5/modules-jee5/geronimo-jetty6-clustering-wadi/src/main/java/org/apache/geronimo/jetty6/cluster/wadi/WADIClusteredPreHandler.java?view=diff&rev=476214&r1=476213&r2=476214
==============================================================================
--- geronimo/sandbox/javaee5/modules-jee5/geronimo-jetty6-clustering-wadi/src/main/java/org/apache/geronimo/jetty6/cluster/wadi/WADIClusteredPreHandler.java
(original)
+++ geronimo/sandbox/javaee5/modules-jee5/geronimo-jetty6-clustering-wadi/src/main/java/org/apache/geronimo/jetty6/cluster/wadi/WADIClusteredPreHandler.java
Fri Nov 17 08:54:08 2006
@@ -29,6 +29,7 @@
 import org.apache.geronimo.clustering.ClusteredInvocationException;
 import org.apache.geronimo.jetty6.cluster.AbstractClusteredPreHandler;
 import org.codehaus.wadi.InvocationException;
+import org.codehaus.wadi.InvocationProxy;
 import org.codehaus.wadi.impl.ClusteredManager;
 import org.codehaus.wadi.web.impl.WebInvocation;
 
@@ -57,7 +58,7 @@
         }
 
         public void invoke() throws ClusteredInvocationException {
-            WebInvocation invocation = WebInvocation.getThreadLocalInstance();
+            WebInvocation invocation = new WebInvocation();
             FilterChain chainAdapter = new FilterChain() {
                 public void doFilter(ServletRequest request, ServletResponse response) throws
IOException, ServletException {
                     try {
@@ -67,7 +68,8 @@
                     }
                 }
             };
-            invocation.init(request, response, chainAdapter);
+            InvocationProxy invocationProxy = wadiManager.getInvocationProxy();
+            invocation.init(request, response, chainAdapter, invocationProxy);
             try {
                 wadiManager.contextualise(invocation);
             } catch (InvocationException e) {



Mime
View raw message