Re: StandardContext start,SEVERE: Error filterStart When Including HttpServletRequestWrapper in Filter in 6.0.14

2008-02-03 Thread Konstantin Kolinko
Hi, Ole In this case I just recompiling the filter and copying it over the the classes folder of the webapp. It's definitely there. Once again, just to be sure. The compiler creates two files, TestFilter.class and TestFilter$1.class. Do you copy both of them? You wrote it, not they.

Re: StandardContext start,SEVERE: Error filterStart When Including HttpServletRequestWrapper in Filter in 6.0.14

2008-02-03 Thread Ole Ersoy
Konstantin, Man - you are so right. Thanks for hanging in there. I should have looked at the target/classes directory and the log a little closer :-). Thanks again, - Ole Once again, just to be sure. The compiler creates two files, TestFilter.class and TestFilter$1.class. Do you copy

Re: StandardContext start,SEVERE: Error filterStart When Including HttpServletRequestWrapper in Filter in 6.0.14

2008-02-02 Thread Ole Ersoy
Well, I was certain it had to be the difference in the JDKs causing it, but after compiling the filter with the Sun JDK, the same exception is still present. The localhost log has this: SEVERE: Exception starting filter testFilter java.lang.NoClassDefFoundError: test/filter/TestFilter$1

Re: StandardContext start,SEVERE: Error filterStart When Including HttpServletRequestWrapper in Filter in 6.0.14

2008-02-02 Thread Ole Ersoy
I managed to narrow it down a little further. The same exception appears if the HttpServletRequestWrapper instance is defined like this: HttpServletRequestWrapper wrapper = new HttpServletRequestWrapper((HttpServletRequest)servletRequest) { public String

Re: StandardContext start,SEVERE: Error filterStart When Including HttpServletRequestWrapper in Filter in 6.0.14

2008-02-02 Thread Konstantin Kolinko
How do you package and deploy your application? If you are seeing java.lang.NoClassDefFoundError: test/filter/TestFilter$1 please check, that the class file TestFilter$1.class is present in your app's WEB-INF/classes/test/filter/ directory on the web server. still present. The localhost log

Re: StandardContext start,SEVERE: Error filterStart When Including HttpServletRequestWrapper in Filter in 6.0.14

2008-02-02 Thread Ole Ersoy
Hi Konstantin, In this case I just recompiling the filter and copying it over the the classes folder of the webapp. It's definitely there. If I compile and copy with a statement like this in the filter: HttpServletRequestWrapper wrapper = new