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.549 sec
------------- Standard Error -----------------
17-Jul-2018 16:34:39.626 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testHeaderLimits1]
17-Jul-2018 16:34:40.174 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"]
17-Jul-2018 16:34:40.202 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
17-Jul-2018 16:34:40.202 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.11-dev
17-Jul-2018 16:34:40.360 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40468"]
17-Jul-2018 16:34:40.449 INFO [http-nio2-127.0.0.1-auto-1-exec-2] org.apache.coyote.http11.Http11Processor.service Error parsing HTTP request header
 Note: further occurrences of HTTP request parsing errors will be logged at DEBUG level.
 java.lang.IllegalArgumentException: Request header is too large
	at org.apache.coyote.http11.Http11InputBuffer.fill(Http11InputBuffer.java:718)
	at org.apache.coyote.http11.Http11InputBuffer.parseHeader(Http11InputBuffer.java:793)
	at org.apache.coyote.http11.Http11InputBuffer.parseHeaders(Http11InputBuffer.java:563)
	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:311)
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:770)
	at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1684)
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
	at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1008)
	at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$4.completed(Nio2Endpoint.java:548)
	at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$4.completed(Nio2Endpoint.java:526)
	at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
	at sun.nio.ch.Invoker$2.run(Invoker.java:218)
	at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
	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)

17-Jul-2018 16:34:40.551 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:373)
	at org.apache.catalina.startup.SimpleHttpClient.processBody(SimpleHttpClient.java:311)
	at org.apache.catalina.startup.SimpleHttpClient.readResponse(SimpleHttpClient.java:256)
	at org.apache.catalina.startup.SimpleHttpClient.processRequest(SimpleHttpClient.java:205)
	at org.apache.catalina.startup.SimpleHttpClient.processRequest(SimpleHttpClient.java:198)
	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.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:346)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:311)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:76)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:309)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:63)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:289)
	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.run(ParentRunner.java:393)
	at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:48)
	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)

17-Jul-2018 16:34:40.552 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40468"]
17-Jul-2018 16:34:40.603 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
17-Jul-2018 16:34:40.620 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40468"]
17-Jul-2018 16:34:40.621 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40468"]
17-Jul-2018 16:34:40.658 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testHeaderLimits2]
17-Jul-2018 16:34:40.661 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"]
17-Jul-2018 16:34:40.675 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
17-Jul-2018 16:34:40.675 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.11-dev
17-Jul-2018 16:34:40.690 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-48775"]
17-Jul-2018 16:34:40.722 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-48775"]
17-Jul-2018 16:34:40.773 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
17-Jul-2018 16:34:40.780 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-48775"]
17-Jul-2018 16:34:40.781 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-48775"]
17-Jul-2018 16:34:40.839 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testHeaderLimits3]
17-Jul-2018 16:34:40.842 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"]
17-Jul-2018 16:34:40.844 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
17-Jul-2018 16:34:40.844 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.11-dev
17-Jul-2018 16:34:40.850 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-42117"]
17-Jul-2018 16:34:40.858 INFO [http-nio2-127.0.0.1-auto-3-exec-1] org.apache.coyote.http11.Http11Processor.service Error parsing HTTP request header
 Note: further occurrences of HTTP request 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:802)
	at org.apache.coyote.http11.Http11InputBuffer.parseHeaders(Http11InputBuffer.java:563)
	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:311)
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:770)
	at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1684)
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
	at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1008)
	at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$4.completed(Nio2Endpoint.java:548)
	at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$4.completed(Nio2Endpoint.java:526)
	at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
	at sun.nio.ch.Invoker$2.run(Invoker.java:218)
	at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
	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)

17-Jul-2018 16:34:40.862 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-42117"]
17-Jul-2018 16:34:40.913 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
17-Jul-2018 16:34:40.918 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-42117"]
17-Jul-2018 16:34:40.919 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-42117"]
17-Jul-2018 16:34:40.925 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testHeaderLimits4]
17-Jul-2018 16:34:40.929 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"]
17-Jul-2018 16:34:40.938 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
17-Jul-2018 16:34:40.938 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.11-dev
17-Jul-2018 16:34:40.949 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34012"]
17-Jul-2018 16:34:40.955 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34012"]
17-Jul-2018 16:34:41.006 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
17-Jul-2018 16:34:41.011 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34012"]
17-Jul-2018 16:34:41.012 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34012"]
------------- ---------------- ---------------

Testcase: testHeaderLimits1 took 1.171 sec
Testcase: testHeaderLimits2 took 0.181 sec
Testcase: testHeaderLimits3 took 0.085 sec
Testcase: testHeaderLimits4 took 0.093 sec

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

Last Updated: Tue, 17 Jul 2018 12:00:05 ().Python Logo