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

Details

File Contents

Testsuite: org.apache.catalina.connector.TestConnector
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.767 sec
------------- Standard Error -----------------
26-Apr-2018 09:50:54.217 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTraceAllowedCustom]
26-Apr-2018 09:50:54.633 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"]
26-Apr-2018 09:50:54.678 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
26-Apr-2018 09:50:54.678 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.8-dev
26-Apr-2018 09:50:54.791 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37337"]
26-Apr-2018 09:50:54.963 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37337"]
26-Apr-2018 09:50:55.014 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
26-Apr-2018 09:50:55.027 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37337"]
26-Apr-2018 09:50:55.028 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37337"]
26-Apr-2018 09:50:55.047 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTraceAllowedWebDav]
26-Apr-2018 09:50:55.071 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"]
26-Apr-2018 09:50:55.076 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
26-Apr-2018 09:50:55.076 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.8-dev
26-Apr-2018 09:50:55.093 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-55997"]
26-Apr-2018 09:50:55.102 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-55997"]
26-Apr-2018 09:50:55.152 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
26-Apr-2018 09:50:55.155 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-55997"]
26-Apr-2018 09:50:55.156 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-55997"]
26-Apr-2018 09:50:55.162 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDuplicatePortNoThrows]
26-Apr-2018 09:50:55.171 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-auto-3"]
26-Apr-2018 09:50:55.176 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
26-Apr-2018 09:50:55.182 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-auto-3-55300"]
26-Apr-2018 09:50:55.189 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-55300"]
26-Apr-2018 09:50:55.190 SEVERE [main] org.apache.catalina.util.LifecycleBase.handleSubClassException Failed to initialize component [Connector[HTTP/1.1-55300]]
 org.apache.catalina.LifecycleException: Protocol handler initialization failed
	at org.apache.catalina.connector.Connector.initInternal(Connector.java:935)
	at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:173)
	at org.apache.catalina.connector.TestConnector.doTestDuplicatePort(TestConnector.java:146)
	at org.apache.catalina.connector.TestConnector.testDuplicatePortNoThrows(TestConnector.java:132)
	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)
Caused by: java.net.BindException: Address already in use
	at sun.nio.ch.Net.bind0(Native Method)
	at sun.nio.ch.Net.bind(Net.java:433)
	at sun.nio.ch.Net.bind(Net.java:425)
	at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
	at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
	at org.apache.tomcat.util.net.NioEndpoint.initServerSocket(NioEndpoint.java:227)
	at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:202)
	at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:1043)
	at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:540)
	at org.apache.coyote.http11.AbstractHttp11Protocol.init(AbstractHttp11Protocol.java:74)
	at org.apache.catalina.connector.Connector.initInternal(Connector.java:932)
	... 31 more

26-Apr-2018 09:50:55.191 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-55300"]
26-Apr-2018 09:50:55.191 SEVERE [main] org.apache.catalina.util.LifecycleBase.handleSubClassException Failed to start component [Connector[HTTP/1.1-55300]]
 org.apache.catalina.LifecycleException: Protocol handler start failed
	at org.apache.catalina.connector.Connector.startInternal(Connector.java:960)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
	at org.apache.catalina.connector.TestConnector.doTestDuplicatePort(TestConnector.java:146)
	at org.apache.catalina.connector.TestConnector.testDuplicatePortNoThrows(TestConnector.java:132)
	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)
Caused by: java.net.BindException: Address already in use
	at sun.nio.ch.Net.bind0(Native Method)
	at sun.nio.ch.Net.bind(Net.java:433)
	at sun.nio.ch.Net.bind(Net.java:425)
	at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
	at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
	at org.apache.tomcat.util.net.NioEndpoint.initServerSocket(NioEndpoint.java:227)
	at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:202)
	at org.apache.tomcat.util.net.AbstractEndpoint.start(AbstractEndpoint.java:1107)
	at org.apache.coyote.AbstractProtocol.start(AbstractProtocol.java:550)
	at org.apache.catalina.connector.Connector.startInternal(Connector.java:957)
	... 30 more

26-Apr-2018 09:50:55.192 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4"]
26-Apr-2018 09:50:55.194 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTraceNotAllowedDefault]
26-Apr-2018 09:50:55.196 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"]
26-Apr-2018 09:50:55.198 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
26-Apr-2018 09:50:55.198 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.8-dev
26-Apr-2018 09:50:55.207 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-57076"]
26-Apr-2018 09:50:55.230 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-57076"]
26-Apr-2018 09:50:55.281 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
26-Apr-2018 09:50:55.285 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-57076"]
26-Apr-2018 09:50:55.286 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-57076"]
26-Apr-2018 09:50:55.291 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTraceAllowedDefault]
26-Apr-2018 09:50:55.295 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"]
26-Apr-2018 09:50:55.299 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
26-Apr-2018 09:50:55.299 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.8-dev
26-Apr-2018 09:50:55.308 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-58964"]
26-Apr-2018 09:50:55.312 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-58964"]
26-Apr-2018 09:50:55.363 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
26-Apr-2018 09:50:55.367 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-58964"]
26-Apr-2018 09:50:55.368 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-58964"]
26-Apr-2018 09:50:55.373 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testPort]
26-Apr-2018 09:50:55.376 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"]
26-Apr-2018 09:50:55.379 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-auto-8"]
26-Apr-2018 09:50:55.379 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
26-Apr-2018 09:50:55.380 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
26-Apr-2018 09:50:55.380 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.8-dev
26-Apr-2018 09:50:55.381 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-56269"]
26-Apr-2018 09:50:55.382 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-auto-8-45407"]
26-Apr-2018 09:50:55.384 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-56269"]
26-Apr-2018 09:50:55.435 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-auto-8-45407"]
26-Apr-2018 09:50:55.487 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
26-Apr-2018 09:50:55.488 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-56269"]
26-Apr-2018 09:50:55.488 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-auto-8-45407"]
26-Apr-2018 09:50:55.490 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-56269"]
26-Apr-2018 09:50:55.493 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-auto-8-45407"]
26-Apr-2018 09:50:55.496 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testStop]
26-Apr-2018 09:50:55.500 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"]
26-Apr-2018 09:50:55.506 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
26-Apr-2018 09:50:55.506 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.8-dev
26-Apr-2018 09:50:55.515 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-42812"]
26-Apr-2018 09:50:55.526 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-42812"]
26-Apr-2018 09:50:56.581 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-42812"]
26-Apr-2018 09:50:56.582 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
26-Apr-2018 09:50:56.587 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-42812"]
26-Apr-2018 09:50:56.593 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testInvalidProtocolNoThrows]
26-Apr-2018 09:50:56.594 SEVERE [main] org.apache.catalina.connector.Connector.<init> Protocol handler instantiation failed
 java.lang.ClassNotFoundException: foo.Bar
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:264)
	at org.apache.catalina.connector.Connector.<init>(Connector.java:101)
	at org.apache.catalina.connector.TestConnector.doTestInvalidProtocol(TestConnector.java:117)
	at org.apache.catalina.connector.TestConnector.testInvalidProtocolNoThrows(TestConnector.java:112)
	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)

26-Apr-2018 09:50:56.595 SEVERE [main] org.apache.catalina.util.LifecycleBase.handleSubClassException Failed to initialize component [Connector[foo.Bar-auto-null]]
 org.apache.catalina.LifecycleException: Protocol handler instantiation failed
	at org.apache.catalina.connector.Connector.initInternal(Connector.java:904)
	at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:173)
	at org.apache.catalina.connector.TestConnector.doTestInvalidProtocol(TestConnector.java:120)
	at org.apache.catalina.connector.TestConnector.testInvalidProtocolNoThrows(TestConnector.java:112)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

Continuation...

	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)

26-Apr-2018 09:50:56.597 SEVERE [main] org.apache.catalina.util.LifecycleBase.handleSubClassException Failed to start component [Connector[foo.Bar-auto-null]]
 org.apache.catalina.LifecycleException: The connector cannot start since the specified port value of [-1] is invalid
	at org.apache.catalina.connector.Connector.startInternal(Connector.java:950)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
	at org.apache.catalina.connector.TestConnector.doTestInvalidProtocol(TestConnector.java:120)
	at org.apache.catalina.connector.TestConnector.testInvalidProtocolNoThrows(TestConnector.java:112)
	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)

26-Apr-2018 09:50:56.598 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10"]
26-Apr-2018 09:50:56.599 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTraceNotAllowedCustom]
26-Apr-2018 09:50:56.602 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"]
26-Apr-2018 09:50:56.605 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
26-Apr-2018 09:50:56.606 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.8-dev
26-Apr-2018 09:50:56.615 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-58366"]
26-Apr-2018 09:50:56.620 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-58366"]
26-Apr-2018 09:50:56.671 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
26-Apr-2018 09:50:56.675 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-58366"]
26-Apr-2018 09:50:56.676 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-58366"]
26-Apr-2018 09:50:56.680 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTraceNotAllowedWebDav]
26-Apr-2018 09:50:56.691 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-12"]
26-Apr-2018 09:50:56.698 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
26-Apr-2018 09:50:56.699 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.8-dev
26-Apr-2018 09:50:56.706 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-12-49829"]
26-Apr-2018 09:50:56.709 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-12-49829"]
26-Apr-2018 09:50:56.759 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
26-Apr-2018 09:50:56.761 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-12-49829"]
26-Apr-2018 09:50:56.761 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12-49829"]
26-Apr-2018 09:50:56.867 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testInvalidProtocolThrows]
26-Apr-2018 09:50:56.869 SEVERE [main] org.apache.catalina.connector.Connector.<init> Protocol handler instantiation failed
 java.lang.ClassNotFoundException: foo.Bar
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:264)
	at org.apache.catalina.connector.Connector.<init>(Connector.java:101)
	at org.apache.catalina.connector.TestConnector.doTestInvalidProtocol(TestConnector.java:117)
	at org.apache.catalina.connector.TestConnector.testInvalidProtocolThrows(TestConnector.java:106)
	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.ExpectException.evaluate(ExpectException.java:19)
	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)

26-Apr-2018 09:50:56.872 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13"]
26-Apr-2018 09:50:56.874 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDuplicatePortThrows]
26-Apr-2018 09:50:56.877 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-auto-14"]
26-Apr-2018 09:50:56.878 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
26-Apr-2018 09:50:56.879 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-auto-14-46517"]
26-Apr-2018 09:50:56.889 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-46517"]
26-Apr-2018 09:50:56.890 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15"]
------------- ---------------- ---------------

Testcase: testTraceAllowedCustom took 0.895 sec
Testcase: testTraceAllowedWebDav took 0.116 sec
Testcase: testDuplicatePortNoThrows took 0.032 sec
Testcase: testTraceNotAllowedDefault took 0.097 sec
Testcase: testTraceAllowedDefault took 0.081 sec
Testcase: testPort took 0.123 sec
Testcase: testStop took 1.095 sec
Testcase: testInvalidProtocolNoThrows took 0.006 sec
Testcase: testTraceNotAllowedCustom took 0.081 sec
Testcase: testTraceNotAllowedWebDav took 0.186 sec
Testcase: testInvalidProtocolThrows took 0.006 sec
Testcase: testDuplicatePortThrows took 0.018 sec

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

Last Updated: Thu, 26 Apr 2018 06:00:06 ().Python Logo