geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul McMahan <paulmcma...@gmail.com>
Subject Re: need help on Tomcat and EJB web services
Date Tue, 17 Apr 2007 17:15:52 GMT
On Apr 17, 2007, at 11:55 AM, Jeff Genender wrote:

> Why not use a low level Valve to trap the HTTP call before a redirect
> can occur?
>
> Jeff

Maybe there is some way to do that.  But it looks to me like the  
redirect occurs before the first valve is called.   At least that's  
what I observed when I set the EJBWebServiceValve as the basic valve  
instead of just adding it to the context, like so:

--- src/main/java/org/apache/geronimo/tomcat/ 
TomcatEJBWebServiceContext.java    (revision 529223)
+++ src/main/java/org/apache/geronimo/tomcat/ 
TomcatEJBWebServiceContext.java    (working copy)
@@ -127,7 +127,7 @@
              isSecureTransportGuarantee = false;
          }
          this.classLoader = classLoader;
-        this.addValve(new EJBWebServiceValve());
+        this.setBasic(new EJBWebServiceValve());
      }

Best wishes,
Paul
Mime
View raw message