tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 19076] New: - Severe Exception while processing Filter
Date Wed, 16 Apr 2003 15:50:17 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19076>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19076

Severe Exception while processing Filter

           Summary: Severe Exception while processing Filter
           Product: Tomcat 5
           Version: Nightly Build
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Servlet & JSP API
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: lkarpel@eloquent.com


I am attempting to run the most recent nightly of Tomcat 5 .. when using a 
filter I get the following exception:

--------------------------

Apr 15, 2003 11:25:26 AM org.apache.catalina.core.ApplicationDispatcher 
doForward
SEVERE: Shouldn't happen - old code
java.lang.Throwable
        at org.apache.catalina.core.ApplicationDispatcher.doForward
(ApplicationDispatcher.java:464)
        at org.apache.catalina.core.ApplicationDispatcher.forward
(ApplicationDispatcher.java:361)
        at com.eloquent.ecs.ERequest.forward(ERequest.java:3659)
        at com.eloquent.ecs.ERequest.service(ERequest.java:1499)
        at com.eloquent.ecs.EServlet.doService(EServlet.java:381)
        at com.eloquent.ecs.EServlet.doGet(EServlet.java:344)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:288)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:206)
        at com.eloquent.ecs.filters.ECompressionFilter.doFilter
(ECompressionFilter.java:88)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:263)
        at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:151)
        at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:552)
        at org.apache.catalina.core.ContainerBase.invoke
(ContainerBase.java:1017)
        at org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:196)
        at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:151)
        at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:552)
        at org.apache.catalina.core.ContainerBase.invoke
(ContainerBase.java:1017)
        at org.apache.catalina.core.StandardContext.invoke
(StandardContext.java:2698)
        at org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:186)
        at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:151)
        at org.apache.catalina.valves.ErrorDispatcherValve.invoke
(ErrorDispatcherValve.java:171)
        at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:149)
        at org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:172)
        at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:149)
        at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:552)
        at org.apache.catalina.core.ContainerBase.invoke
(ContainerBase.java:1017)
        at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:163)
        at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:151)
        at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:552)
        at org.apache.catalina.core.ContainerBase.invoke
(ContainerBase.java:1017)
        at org.apache.coyote.tomcat5.CoyoteAdapter.service
(CoyoteAdapter.java:199)
        at org.apache.coyote.http11.Http11Processor.process
(Http11Processor.java:630)
        at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnectio
n(Http11Protocol.java:463)
        at org.apache.tomcat.util.net.TcpWorkerThread.runIt
(PoolTcpEndpoint.java:568)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
(ThreadPool.java:631)
        at java.lang.Thread.run(Thread.java:534)

----------------------------

my filter (a variant of the example compression filter) wraps the current 
servlet request in an class that extends HttpServletResponseWrapper .. for 
example:

     public class ECompressionServletResponseWrapper extends 
HttpServletResponseWrapper

the code in org.apache.catalina.core.ApplicationDispatcher.doForward makes a 
check to make sure the response is an instance of:

    org.apache.catalina.connector.ResponseFacade

could that possibly be correct ?

Len

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message