tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ole Ersoy <ole.er...@gmail.com>
Subject Re: StandardContext start,SEVERE: Error filterStart When Including HttpServletRequestWrapper in Filter in 6.0.14
Date Sat, 02 Feb 2008 20:57:26 GMT
Actually I probably got this one.  I'm compiling the filter with IcedTea, but using the Sun
JDK to run tomcat, since IcedTea has issues with keystore certificates.  So if I compile with
the Sun JDK I think the issue will go away.

Cheers,
- Ole 

Ole Ersoy wrote:
> Hi,
> 
> I'm getting a:
> 
> org.apache.catalina.core.StandardContext start
> SEVERE: Error filterStart
> 
> When inluding an HttpServletRequestWrapper in a filter.  The code 
> compiles fine and the filter part causing the ruckus looks like this:
> 
>         HttpServletRequestWrapper wrapper =             new 
> HttpServletRequestWrapper((HttpServletRequest)servletRequest)             {
>                public java.lang.String getParameter(java.lang.String 
> name)                {
>                   if ("foo".equals(name))                   {
>                      return "bar";                     }
>                   else                   {
>                      return super.getParameter(name);                     }
>                }
>             };
> Thoughts?
> 
> Thanks,
> - Ole
> 
> 
> 
> 
> 
> 
> 
> 
> 

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message