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.643 sec
------------- Standard Error -----------------
16-Aug-2017 10:12:38.145 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTraceAllowedCustom]
16-Aug-2017 10:12:38.540 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"]
16-Aug-2017 10:12:38.562 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
16-Aug-2017 10:12:38.562 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.0.M27-dev
16-Aug-2017 10:12:38.770 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-54666"]
16-Aug-2017 10:12:38.903 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-54666"]
16-Aug-2017 10:12:38.954 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
16-Aug-2017 10:12:38.963 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-54666"]
16-Aug-2017 10:12:38.963 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-54666"]
16-Aug-2017 10:12:38.982 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTraceAllowedWebDav]
16-Aug-2017 10:12:39.007 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"]
16-Aug-2017 10:12:39.014 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
16-Aug-2017 10:12:39.014 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.0.M27-dev
16-Aug-2017 10:12:39.021 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-50153"]
16-Aug-2017 10:12:39.032 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-50153"]
16-Aug-2017 10:12:39.083 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
16-Aug-2017 10:12:39.086 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-50153"]
16-Aug-2017 10:12:39.086 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-50153"]
16-Aug-2017 10:12:39.094 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDuplicatePortNoThrows]
16-Aug-2017 10:12:39.100 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-auto-3"]
16-Aug-2017 10:12:39.113 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
16-Aug-2017 10:12:39.115 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-auto-3-53968"]
16-Aug-2017 10:12:39.124 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-53968"]
16-Aug-2017 10:12:39.124 SEVERE [main] org.apache.catalina.util.LifecycleBase.handleSubClassException Failed to initialize component [Connector[HTTP/1.1-53968]]
 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:149)
	at org.apache.catalina.connector.TestConnector.testDuplicatePortNoThrows(TestConnector.java:135)
	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)
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:950)
	at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:573)
	at org.apache.coyote.http11.AbstractHttp11Protocol.init(AbstractHttp11Protocol.java:70)
	at org.apache.catalina.connector.Connector.initInternal(Connector.java:932)
	... 31 more

16-Aug-2017 10:12:39.126 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-53968"]
16-Aug-2017 10:12:39.126 SEVERE [main] org.apache.catalina.util.LifecycleBase.handleSubClassException Failed to start component [Connector[HTTP/1.1-53968]]
 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:149)
	at org.apache.catalina.connector.TestConnector.testDuplicatePortNoThrows(TestConnector.java:135)
	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)
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:958)
	at org.apache.coyote.AbstractProtocol.start(AbstractProtocol.java:583)
	at org.apache.catalina.connector.Connector.startInternal(Connector.java:957)
	... 30 more

16-Aug-2017 10:12:39.127 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4"]
16-Aug-2017 10:12:39.133 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTraceNotAllowedDefault]
16-Aug-2017 10:12:39.136 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"]
16-Aug-2017 10:12:39.138 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
16-Aug-2017 10:12:39.138 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.0.M27-dev
16-Aug-2017 10:12:39.144 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-53273"]
16-Aug-2017 10:12:39.167 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-53273"]
16-Aug-2017 10:12:39.218 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
16-Aug-2017 10:12:39.220 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-53273"]
16-Aug-2017 10:12:39.221 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-53273"]
16-Aug-2017 10:12:39.226 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTraceAllowedDefault]
16-Aug-2017 10:12:39.228 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"]
16-Aug-2017 10:12:39.241 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
16-Aug-2017 10:12:39.241 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.0.M27-dev
16-Aug-2017 10:12:39.246 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-57122"]
16-Aug-2017 10:12:39.269 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-57122"]
16-Aug-2017 10:12:39.319 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
16-Aug-2017 10:12:39.321 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-57122"]
16-Aug-2017 10:12:39.321 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-57122"]
16-Aug-2017 10:12:39.323 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testPort]
16-Aug-2017 10:12:39.325 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"]
16-Aug-2017 10:12:39.327 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-auto-8"]
16-Aug-2017 10:12:39.327 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
16-Aug-2017 10:12:39.329 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
16-Aug-2017 10:12:39.329 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.0.M27-dev
16-Aug-2017 10:12:39.330 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-40125"]
16-Aug-2017 10:12:39.330 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-auto-8-50052"]
16-Aug-2017 10:12:39.332 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-40125"]
16-Aug-2017 10:12:39.383 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-auto-8-50052"]
16-Aug-2017 10:12:39.445 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
16-Aug-2017 10:12:39.445 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-40125"]
16-Aug-2017 10:12:39.446 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-auto-8-50052"]
16-Aug-2017 10:12:39.448 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-40125"]
16-Aug-2017 10:12:39.451 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-auto-8-50052"]
16-Aug-2017 10:12:39.454 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testStop]
16-Aug-2017 10:12:39.455 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"]
16-Aug-2017 10:12:39.458 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
16-Aug-2017 10:12:39.458 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.0.M27-dev
16-Aug-2017 10:12:39.471 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-59835"]
16-Aug-2017 10:12:39.478 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-59835"]
16-Aug-2017 10:12:40.531 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-59835"]
16-Aug-2017 10:12:40.532 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
16-Aug-2017 10:12:40.534 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-59835"]
16-Aug-2017 10:12:40.538 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testInvalidProtocolNoThrows]
16-Aug-2017 10:12:40.538 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:335)
	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:120)
	at org.apache.catalina.connector.TestConnector.testInvalidProtocolNoThrows(TestConnector.java:115)
	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)

16-Aug-2017 10:12:40.541 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:123)
	at org.apache.catalina.connector.TestConnector.testInvalidProtocolNoThrows(TestConnector.java:115)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

Continuation...

	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)

16-Aug-2017 10:12:40.542 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:123)
	at org.apache.catalina.connector.TestConnector.testInvalidProtocolNoThrows(TestConnector.java:115)
	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)

16-Aug-2017 10:12:40.542 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10"]
16-Aug-2017 10:12:40.543 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTraceNotAllowedCustom]
16-Aug-2017 10:12:40.544 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"]
16-Aug-2017 10:12:40.546 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
16-Aug-2017 10:12:40.546 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.0.M27-dev
16-Aug-2017 10:12:40.551 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-55969"]
16-Aug-2017 10:12:40.554 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-55969"]
16-Aug-2017 10:12:40.604 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
16-Aug-2017 10:12:40.606 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-55969"]
16-Aug-2017 10:12:40.606 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-55969"]
16-Aug-2017 10:12:40.608 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTraceNotAllowedWebDav]
16-Aug-2017 10:12:40.609 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-12"]
16-Aug-2017 10:12:40.610 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
16-Aug-2017 10:12:40.611 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.0.M27-dev
16-Aug-2017 10:12:40.617 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-12-42335"]
16-Aug-2017 10:12:40.623 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-12-42335"]
16-Aug-2017 10:12:40.674 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
16-Aug-2017 10:12:40.675 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-12-42335"]
16-Aug-2017 10:12:40.676 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12-42335"]
16-Aug-2017 10:12:40.678 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testInvalidProtocolThrows]
16-Aug-2017 10:12:40.679 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:335)
	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:120)
	at org.apache.catalina.connector.TestConnector.testInvalidProtocolThrows(TestConnector.java:109)
	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: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)

16-Aug-2017 10:12:40.679 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13"]
16-Aug-2017 10:12:40.680 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDuplicatePortThrows]
16-Aug-2017 10:12:40.681 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-auto-14"]
16-Aug-2017 10:12:40.682 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
16-Aug-2017 10:12:40.682 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-auto-14-43901"]
16-Aug-2017 10:12:40.686 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-43901"]
16-Aug-2017 10:12:40.687 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15"]
------------- ---------------- ---------------

Testcase: testTraceAllowedCustom took 0.922 sec
Testcase: testTraceAllowedWebDav took 0.113 sec
Testcase: testDuplicatePortNoThrows took 0.033 sec
Testcase: testTraceNotAllowedDefault took 0.099 sec
Testcase: testTraceAllowedDefault took 0.097 sec
Testcase: testPort took 0.131 sec
Testcase: testStop took 1.083 sec
Testcase: testInvalidProtocolNoThrows took 0.005 sec
Testcase: testTraceNotAllowedCustom took 0.065 sec
Testcase: testTraceNotAllowedWebDav took 0.07 sec
Testcase: testInvalidProtocolThrows took 0.002 sec
Testcase: testDuplicatePortThrows took 0.007 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, 16 Aug 2017 06:00:05 ().Python Logo