I cannot get it to work with WLS7. The filters are deployed correctly and in
the DOS window, I get a slew of errors that start off with:
<Mar 31, 2003 12:49:53 PM CST> <Error> <HTTP> <101020> <[ServletContext(id=4506788,name=tums,context-path=/tums)]
Servlet failed wit
h Exception
java.lang.StackOverflowError
at java.util.Properties.getProperty(Properties.java:473)
at java.lang.System.getProperty(System.java:557)
at sun.security.action.GetPropertyAction.run(GetPropertyAction.java:64)
at java.security.AccessController.doPrivileged(Native Method)
at java.io.PrintWriter.<init>(PrintWriter.java:70)
at java.io.PrintWriter.<init>(PrintWriter.java:55)
at tums.wrappers.CharResponseWrapper.getWriter(CharResponseWrapper.java:20)
at tums.filters.HtmlFilter.doFilter(HtmlFilter.java:54)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:546)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:369)
at tums.filters.HtmlFilter.doFilter(HtmlFilter.java:76)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:546)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:369)
And from there the last four lines repeat until the container kills it.
So, I have an endless recursive loop. My suspicion is that because the header
file is a jsp file, it tries to include itself over and over again. With Tomcat,
filters didn't apply to includes or forwards. It seems that they do with WLS7.
How do I get around this? I have Server Build:WebLogic Server 7.0 SP2 Sun Jan
26 23:09:32 PST 2003 234192 .
TIA,
-Brian
Thanks,
-Brian