geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Genender <jgenen...@apache.org>
Subject Re: need help on Tomcat and EJB web services
Date Tue, 17 Apr 2007 17:28:16 GMT
Can you step through it and see where its occurring?  We did a special
trick with the DefaultSubject vlave IIRC that had to inject it before
everything else.  I recall we did something funky.  If you can find
where it occurs, I may be able to help you get around this ;-) Hopefully ;-)

Jeff

Paul McMahan wrote:
> 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