tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 452] New - Using jsp:include with an html and flush="true" generates exception BugRat Report#773
Date Wed, 07 Feb 2001 02:25:34 GMT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=452

*** shadow/452	Tue Feb  6 18:25:34 2001
--- shadow/452.tmp.25065	Tue Feb  6 18:25:34 2001
***************
*** 0 ****
--- 1,90 ----
+ +============================================================================+
+ | Using jsp:include with an html and flush="true" generates exception BugRat |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 452                         Product: Tomcat 4                |
+ |       Status: UNCONFIRMED                 Version: Unknown                 |
+ |   Resolution:                            Platform: All                     |
+ |     Severity: Normal                   OS/Version: All                     |
+ |     Priority: High                      Component: Jasper                  |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: Justyna.Horwat@eng.sun.com                                   |
+ |  Reported By: anonymous-bug@cortexity.com                                  |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ When using the jsp:include tag to include an html file and setting the flush option to true,
Tomcat generates the following exception:
+ 
+ A Servlet Exception Has Occurred
+ 
+ Exception Report:
+ 
+ javax.servlet.ServletException: Servlet.service() for servlet default threw exception
+         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:593)
+         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:483)
+         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:388)
+         at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:430)
+         at _0002ftest_0002ejsptest_jsp_6._jspService(_0002ftest_0002ejsptest_jsp_6.java:56)
+         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
+         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
+         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:184)
+         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:328)
+         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:407)
+         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
+         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
+         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:251)
+         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
+         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:196)
+         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
+         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2041)
+         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
+         at org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242)
+         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:414)
+         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:975)
+         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:159)
+         at org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242)
+         at org.apache.catalina.valves.RequestDumperValve.invoke(RequestDumperValve.java:215)
+         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:975)
+         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:818)
+         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:897)
+         at java.lang.Thread.run(Thread.java:484)
+ 
+ Root Cause:
+ 
+ java.lang.IllegalStateException: Buffer size cannot be changed after data has been written
+         at org.apache.catalina.connector.ResponseBase.setBufferSize(ResponseBase.java:746)
+         at javax.servlet.ServletResponseWrapper.setBufferSize(ServletResponseWrapper.java:172)
+         at javax.servlet.ServletResponseWrapper.setBufferSize(ServletResponseWrapper.java:172)
+         at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java:1459)
+         at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:433)
+         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
+         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
+         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:573)
+         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:483)
+         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:388)
+         at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:430)
+         at _0002ftest_0002ejsptest_jsp_6._jspService(_0002ftest_0002ejsptest_jsp_6.java:56)
+         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
+         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
+         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:184)
+         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:328)
+         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:407)
+         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
+         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
+         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:251)
+         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
+         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:196)
+         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
+         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2041)
+         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
+         at org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242)
+         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:414)
+         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:975)
+         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:159)
+         at org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242)
+         at org.apache.catalina.valves.RequestDumperValve.invoke(RequestDumperValve.java:215)
+         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:975)
+         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:818)
+         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:897)
+         at java.lang.Thread.run(Thread.java:484)

Mime
View raw message