Run| Workspace| Log| Issues| Fixes| Pre-reqs| Stats| XRef| Maven Repository Proxy Log Gump Logo

Details

File Contents

Testsuite: org.apache.tomcat.util.http.TestMimeHeadersIntegration
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.253 sec
------------- Standard Error -----------------
20-May-2019 09:29:18.688 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testHeaderLimits1]
20-May-2019 09:29:18.842 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library [1.2.22] using APR version [1.7.0].
20-May-2019 09:29:18.842 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
20-May-2019 09:29:18.842 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
20-May-2019 09:29:18.845 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1c-dev  xx XXX xxxx]
20-May-2019 09:29:19.054 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-1"]
20-May-2019 09:29:19.098 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
20-May-2019 09:29:19.099 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.42-dev
20-May-2019 09:29:19.297 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-127.0.0.1-auto-1-58562"]
20-May-2019 09:29:19.349 INFO [http-apr-127.0.0.1-auto-1-exec-1] org.apache.coyote.http11.Http11Processor.service Error parsing HTTP request header
 Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level.
	java.lang.IllegalArgumentException: Request header is too large
		at org.apache.coyote.http11.Http11InputBuffer.parseHeaders(Http11InputBuffer.java:589)
		at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:700)
		at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
		at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:808)
		at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2129)
		at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
		at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
		at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
		at java.lang.Thread.run(Thread.java:748)
20-May-2019 09:29:19.381 WARNING [main] org.apache.tomcat.util.http.TestMimeHeadersIntegration.runHeadersTest Connection reset
	java.net.SocketException: Connection reset
		at java.net.SocketInputStream.read(SocketInputStream.java:210)
		at java.net.SocketInputStream.read(SocketInputStream.java:141)
		at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)
		at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
		at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
		at java.io.InputStreamReader.read(InputStreamReader.java:184)
		at java.io.BufferedReader.fill(BufferedReader.java:161)
		at java.io.BufferedReader.readLine(BufferedReader.java:324)
		at java.io.BufferedReader.readLine(BufferedReader.java:389)
		at org.apache.catalina.startup.SimpleHttpClient.readLine(SimpleHttpClient.java:369)
		at org.apache.catalina.startup.SimpleHttpClient.processBody(SimpleHttpClient.java:307)
		at org.apache.catalina.startup.SimpleHttpClient.readResponse(SimpleHttpClient.java:253)
		at org.apache.catalina.startup.SimpleHttpClient.processRequest(SimpleHttpClient.java:202)
		at org.apache.catalina.startup.SimpleHttpClient.processRequest(SimpleHttpClient.java:195)
		at org.apache.tomcat.util.http.TestMimeHeadersIntegration.runHeadersTest(TestMimeHeadersIntegration.java:79)
		at org.apache.tomcat.util.http.TestMimeHeadersIntegration.testHeaderLimits1(TestMimeHeadersIntegration.java:126)
		at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
		at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
		at java.lang.reflect.Method.invoke(Method.java:498)
		at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
		at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
		at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61)
		at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
		at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
		at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
		at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
		at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:305)
		at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
		at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:365)
		at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
		at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
		at org.junit.runners.ParentRunner$4.run(ParentRunner.java:330)
		at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:78)
		at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:328)
		at org.junit.runners.ParentRunner.access$100(ParentRunner.java:65)
		at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:292)
		at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
		at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
		at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:305)
		at org.junit.runners.ParentRunner.run(ParentRunner.java:412)
		at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:50)
		at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:534)
		at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1196)
		at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1041)
20-May-2019 09:29:19.382 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-1-58562"]
20-May-2019 09:29:19.388 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
20-May-2019 09:29:19.402 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-1-58562"]
20-May-2019 09:29:19.454 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-1-58562"]
20-May-2019 09:29:19.464 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testHeaderLimits2]
20-May-2019 09:29:19.468 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library [1.2.22] using APR version [1.7.0].
20-May-2019 09:29:19.472 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
20-May-2019 09:29:19.472 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
20-May-2019 09:29:19.472 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1c-dev  xx XXX xxxx]
20-May-2019 09:29:19.473 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-2"]
20-May-2019 09:29:19.474 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
20-May-2019 09:29:19.474 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.42-dev
20-May-2019 09:29:19.503 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-127.0.0.1-auto-2-50308"]
20-May-2019 09:29:19.533 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-2-50308"]
20-May-2019 09:29:19.539 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
20-May-2019 09:29:19.542 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-2-50308"]
20-May-2019 09:29:19.596 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-2-50308"]
20-May-2019 09:29:19.598 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testHeaderLimits3]
20-May-2019 09:29:19.600 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library [1.2.22] using APR version [1.7.0].
20-May-2019 09:29:19.600 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
20-May-2019 09:29:19.600 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
20-May-2019 09:29:19.601 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1c-dev  xx XXX xxxx]
20-May-2019 09:29:19.601 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-3"]
20-May-2019 09:29:19.602 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
20-May-2019 09:29:19.602 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.42-dev
20-May-2019 09:29:19.622 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-127.0.0.1-auto-3-41626"]
20-May-2019 09:29:19.639 INFO [http-apr-127.0.0.1-auto-3-exec-1] org.apache.coyote.http11.Http11Processor.service Error parsing HTTP request header
 Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level.
	java.lang.IllegalStateException: More than the maximum allowed number of headers, [100], were detected.
		at org.apache.tomcat.util.http.MimeHeaders.createHeader(MimeHeaders.java:260)
		at org.apache.tomcat.util.http.MimeHeaders.addValue(MimeHeaders.java:305)
		at org.apache.coyote.http11.Http11InputBuffer.parseHeader(Http11InputBuffer.java:810)
		at org.apache.coyote.http11.Http11InputBuffer.parseHeaders(Http11InputBuffer.java:579)
		at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:700)
		at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
		at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:808)
		at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2129)
		at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
		at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
		at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
		at java.lang.Thread.run(Thread.java:748)
20-May-2019 09:29:19.642 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-3-41626"]
20-May-2019 09:29:19.647 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
20-May-2019 09:29:19.651 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-3-41626"]
20-May-2019 09:29:19.704 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-3-41626"]
20-May-2019 09:29:19.706 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testHeaderLimits4]
20-May-2019 09:29:19.707 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library [1.2.22] using APR version [1.7.0].
20-May-2019 09:29:19.708 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
20-May-2019 09:29:19.708 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
20-May-2019 09:29:19.708 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1c-dev  xx XXX xxxx]
20-May-2019 09:29:19.709 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-4"]
20-May-2019 09:29:19.710 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
20-May-2019 09:29:19.710 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.42-dev
20-May-2019 09:29:19.716 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-127.0.0.1-auto-4-59612"]
20-May-2019 09:29:19.753 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-4-59612"]
20-May-2019 09:29:19.758 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
20-May-2019 09:29:19.760 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-4-59612"]
20-May-2019 09:29:19.812 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-4-59612"]
------------- ---------------- ---------------

Testcase: testHeaderLimits1 took 0.839 sec
Testcase: testHeaderLimits2 took 0.135 sec
Testcase: testHeaderLimits3 took 0.108 sec
Testcase: testHeaderLimits4 took 0.107 sec

Apache Gump, Gump, Apache, the Apache feather logo, and the Apache Gump project logos are trademarks of The Apache Software Foundation.

Last Updated: Mon, 20 May 2019 06:00:06 ().Python Logo