Testsuite: org.apache.jasper.runtime.TestPageContextImpl Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.255 sec ------------- Standard Error ----------------- 04-Dec-2023 21:06:29.224 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDefaultBufferSize] 04-Dec-2023 21:06:31.179 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 04-Dec-2023 21:06:31.247 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Dec-2023 21:06:31.247 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M15-dev] 04-Dec-2023 21:06:31.495 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 04-Dec-2023 21:06:31.863 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-34875"] 04-Dec-2023 21:06:32.202 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-34875"] 04-Dec-2023 21:06:32.204 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Dec-2023 21:06:32.244 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-34875"] 04-Dec-2023 21:06:32.274 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-34875"] 04-Dec-2023 21:06:32.285 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIncludeThrowsIOException] 04-Dec-2023 21:06:32.294 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 04-Dec-2023 21:06:32.295 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Dec-2023 21:06:32.296 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M15-dev] 04-Dec-2023 21:06:32.337 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 04-Dec-2023 21:06:32.458 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-42753"] 04-Dec-2023 21:06:34.939 SEVERE [http-nio-127.0.0.1-auto-2-exec-1] org.apache.catalina.core.ApplicationDispatcher.invoke Servlet.service() for servlet [jsp] threw exception java.io.IOException: An exception occurred processing [/jsp/pageContext2.jsp] at line [18] 15: limitations under the License. 16: --%> 17: <%@ page import="java.io.IOException" contentType="text/plain"%> 18: <% throw new IOException("Throws IOException."); %> Stacktrace: at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:483) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:357) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:305) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:716) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:548) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:445) at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:994) at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:490) at org.apache.jsp.jsp.pageContext1_jsp._jspService(pageContext1_jsp.java:132) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:716) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:456) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:357) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:305) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:716) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:338) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1749) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:1570) Caused by: java.io.IOException: Throws IOException. at org.apache.jsp.jsp.pageContext2_jsp._jspService(pageContext2_jsp.java:125) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:716) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:456) ... 32 more 04-Dec-2023 21:06:34.954 SEVERE [http-nio-127.0.0.1-auto-2-exec-1] org.apache.catalina.core.ApplicationDispatcher.invoke Servlet.service() for servlet [jsp] threw exception java.io.IOException: An exception occurred processing [/jsp/pageContext2.jsp] at line [18] 15: limitations under the License. 16: --%> 17: <%@ page import="java.io.IOException" contentType="text/plain"%> 18: <% throw new IOException("Throws IOException."); %> Stacktrace: at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:483) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:357) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:305) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:716) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:548) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:445) at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:994) at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:496) at org.apache.jsp.jsp.pageContext1_jsp._jspService(pageContext1_jsp.java:130) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:716) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:456) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:357) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:305) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:716) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:338) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1749) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:1570) Caused by: java.io.IOException: Throws IOException. at org.apache.jsp.jsp.pageContext2_jsp._jspService(pageContext2_jsp.java:125) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:716) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:456) ... 32 more 04-Dec-2023 21:06:34.956 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-42753"] 04-Dec-2023 21:06:34.958 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Dec-2023 21:06:34.963 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-42753"] 04-Dec-2023 21:06:34.968 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-42753"] 04-Dec-2023 21:06:34.970 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDoForward] 04-Dec-2023 21:06:34.982 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 04-Dec-2023 21:06:34.982 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Dec-2023 21:06:34.983 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M15-dev] 04-Dec-2023 21:06:35.014 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 04-Dec-2023 21:06:35.102 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-41707"] 04-Dec-2023 21:06:35.724 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-41707"] 04-Dec-2023 21:06:35.727 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Dec-2023 21:06:35.736 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-41707"] 04-Dec-2023 21:06:35.747 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-41707"] ------------- ---------------- --------------- Testcase: testDefaultBufferSize took 3.645 sec Testcase: testIncludeThrowsIOException took 2.69 sec Testcase: testDoForward took 0.779 sec