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.191 sec
------------- Standard Error -----------------
20-Sep-2017 15:16:29.796 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testHeaderLimits1]
20-Sep-2017 15:16:29.913 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library 1.2.15 using APR version 1.6.3.
20-Sep-2017 15:16:29.913 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
20-Sep-2017 15:16:29.916 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized (OpenSSL 1.0.2m-dev  xx XXX xxxx)
20-Sep-2017 15:16:30.122 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-1"]
20-Sep-2017 15:16:30.130 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Tomcat
20-Sep-2017 15:16:30.130 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.47-dev
20-Sep-2017 15:16:30.281 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-127.0.0.1-auto-1-35627"]
20-Sep-2017 15:16:30.344 INFO [http-apr-127.0.0.1-auto-1-exec-1] org.apache.coyote.http11.AbstractHttp11Processor.process 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.InternalAprInputBuffer.fill(InternalAprInputBuffer.java:577)
	at org.apache.coyote.http11.InternalAprInputBuffer.parseHeader(InternalAprInputBuffer.java:388)
	at org.apache.coyote.http11.InternalAprInputBuffer.parseHeaders(InternalAprInputBuffer.java:325)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1061)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
	at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2464)
	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-Sep-2017 15:16:30.364 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:82)
	at org.apache.tomcat.util.http.TestMimeHeadersIntegration.testHeaderLimits1(TestMimeHeadersIntegration.java:128)
	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:55)
	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:539)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1210)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1052)

20-Sep-2017 15:16:30.365 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-1-35627"]
20-Sep-2017 15:16:30.368 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service Tomcat
20-Sep-2017 15:16:30.377 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-1-35627"]
20-Sep-2017 15:16:30.430 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-1-35627"]
20-Sep-2017 15:16:30.439 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testHeaderLimits2]
20-Sep-2017 15:16:30.441 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library 1.2.15 using APR version 1.6.3.
20-Sep-2017 15:16:30.441 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
20-Sep-2017 15:16:30.441 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized (OpenSSL 1.0.2m-dev  xx XXX xxxx)
20-Sep-2017 15:16:30.442 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-2"]
20-Sep-2017 15:16:30.443 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Tomcat
20-Sep-2017 15:16:30.443 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.47-dev
20-Sep-2017 15:16:30.451 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-127.0.0.1-auto-2-58665"]
20-Sep-2017 15:16:30.533 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-2-58665"]
20-Sep-2017 15:16:30.584 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service Tomcat
20-Sep-2017 15:16:30.587 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-2-58665"]
20-Sep-2017 15:16:30.642 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-2-58665"]
20-Sep-2017 15:16:30.646 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testHeaderLimits3]
20-Sep-2017 15:16:30.647 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library 1.2.15 using APR version 1.6.3.
20-Sep-2017 15:16:30.647 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
20-Sep-2017 15:16:30.648 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized (OpenSSL 1.0.2m-dev  xx XXX xxxx)
20-Sep-2017 15:16:30.649 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-3"]
20-Sep-2017 15:16:30.649 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Tomcat
20-Sep-2017 15:16:30.649 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.47-dev
20-Sep-2017 15:16:30.655 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-127.0.0.1-auto-3-60976"]
20-Sep-2017 15:16:30.659 INFO [http-apr-127.0.0.1-auto-3-exec-1] org.apache.coyote.http11.AbstractHttp11Processor.process 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:244)
	at org.apache.tomcat.util.http.MimeHeaders.addValue(MimeHeaders.java:281)
	at org.apache.coyote.http11.InternalAprInputBuffer.parseHeader(InternalAprInputBuffer.java:394)
	at org.apache.coyote.http11.InternalAprInputBuffer.parseHeaders(InternalAprInputBuffer.java:325)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1061)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
	at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2464)
	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-Sep-2017 15:16:30.661 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-3-60976"]
20-Sep-2017 15:16:30.712 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service Tomcat
20-Sep-2017 15:16:30.715 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-3-60976"]
20-Sep-2017 15:16:30.767 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-3-60976"]
20-Sep-2017 15:16:30.769 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testHeaderLimits4]
20-Sep-2017 15:16:30.770 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library 1.2.15 using APR version 1.6.3.
20-Sep-2017 15:16:30.771 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
20-Sep-2017 15:16:30.771 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized (OpenSSL 1.0.2m-dev  xx XXX xxxx)
20-Sep-2017 15:16:30.772 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-4"]
20-Sep-2017 15:16:30.772 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Tomcat
20-Sep-2017 15:16:30.772 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.47-dev
20-Sep-2017 15:16:30.779 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-127.0.0.1-auto-4-48553"]
20-Sep-2017 15:16:30.803 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-4-48553"]
20-Sep-2017 15:16:30.853 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service Tomcat
20-Sep-2017 15:16:30.856 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-4-48553"]
20-Sep-2017 15:16:30.908 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-4-48553"]
------------- ---------------- ---------------

Testcase: testHeaderLimits1 took 0.704 sec
Testcase: testHeaderLimits2 took 0.206 sec
Testcase: testHeaderLimits3 took 0.124 sec
Testcase: testHeaderLimits4 took 0.141 sec

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

Last Updated: Wed, 20 Sep 2017 12:00:06 ().Python Logo