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.574 sec
------------- Standard Error -----------------
26-Jun-2017 14:58:49.068 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTraceAllowedCustom]
26-Jun-2017 14:58:49.464 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"]
26-Jun-2017 14:58:49.496 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
26-Jun-2017 14:58:49.496 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.0.M23-dev
26-Jun-2017 14:58:49.672 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-48364"]
26-Jun-2017 14:58:49.795 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-48364"]
26-Jun-2017 14:58:49.846 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
26-Jun-2017 14:58:49.852 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-48364"]
26-Jun-2017 14:58:49.853 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-48364"]
26-Jun-2017 14:58:49.872 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTraceAllowedWebDav]
26-Jun-2017 14:58:49.882 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"]
26-Jun-2017 14:58:49.890 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
26-Jun-2017 14:58:49.890 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.0.M23-dev
26-Jun-2017 14:58:49.895 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-50384"]
26-Jun-2017 14:58:49.899 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-50384"]
26-Jun-2017 14:58:49.949 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
26-Jun-2017 14:58:49.951 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-50384"]
26-Jun-2017 14:58:49.953 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-50384"]
26-Jun-2017 14:58:50.056 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDuplicatePortNoThrows]
26-Jun-2017 14:58:50.067 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-auto-3"]
26-Jun-2017 14:58:50.075 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
26-Jun-2017 14:58:50.076 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-auto-3-51725"]
26-Jun-2017 14:58:50.079 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-51725"]
26-Jun-2017 14:58:50.080 SEVERE [main] org.apache.catalina.util.LifecycleBase.handleSubClassException Failed to initialize component [Connector[HTTP/1.1-51725]]
 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:50)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:52)
	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.rules.RunRules.evaluate(RunRules.java:20)
	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:98)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:343)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:101)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:61)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:308)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:74)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:61)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:286)
	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:390)
	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)
	... 32 more

26-Jun-2017 14:58:50.081 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-51725"]
26-Jun-2017 14:58:50.081 SEVERE [main] org.apache.catalina.util.LifecycleBase.handleSubClassException Failed to start component [Connector[HTTP/1.1-51725]]
 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:50)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:52)
	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.rules.RunRules.evaluate(RunRules.java:20)
	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:98)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:343)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:101)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:61)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:308)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:74)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:61)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:286)
	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:390)
	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)
	... 31 more

26-Jun-2017 14:58:50.082 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4"]
26-Jun-2017 14:58:50.083 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTraceNotAllowedDefault]
26-Jun-2017 14:58:50.099 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"]
26-Jun-2017 14:58:50.101 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
26-Jun-2017 14:58:50.101 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.0.M23-dev
26-Jun-2017 14:58:50.115 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-53656"]
26-Jun-2017 14:58:50.136 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-53656"]
26-Jun-2017 14:58:50.137 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
26-Jun-2017 14:58:50.139 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-53656"]
26-Jun-2017 14:58:50.140 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-53656"]
26-Jun-2017 14:58:50.143 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTraceAllowedDefault]
26-Jun-2017 14:58:50.146 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"]
26-Jun-2017 14:58:50.148 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
26-Jun-2017 14:58:50.148 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.0.M23-dev
26-Jun-2017 14:58:50.163 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37257"]
26-Jun-2017 14:58:50.169 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37257"]
26-Jun-2017 14:58:50.220 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
26-Jun-2017 14:58:50.222 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37257"]
26-Jun-2017 14:58:50.222 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37257"]
26-Jun-2017 14:58:50.224 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testPort]
26-Jun-2017 14:58:50.226 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"]
26-Jun-2017 14:58:50.228 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-auto-8"]
26-Jun-2017 14:58:50.228 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
26-Jun-2017 14:58:50.228 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
26-Jun-2017 14:58:50.228 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.0.M23-dev
26-Jun-2017 14:58:50.229 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-60529"]
26-Jun-2017 14:58:50.230 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-auto-8-57353"]
26-Jun-2017 14:58:50.231 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-60529"]
26-Jun-2017 14:58:50.282 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-auto-8-57353"]
26-Jun-2017 14:58:50.333 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
26-Jun-2017 14:58:50.334 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-60529"]
26-Jun-2017 14:58:50.334 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-auto-8-57353"]
26-Jun-2017 14:58:50.335 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-60529"]
26-Jun-2017 14:58:50.336 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-auto-8-57353"]
26-Jun-2017 14:58:50.337 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testStop]
26-Jun-2017 14:58:50.339 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"]
26-Jun-2017 14:58:50.340 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
26-Jun-2017 14:58:50.340 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.0.M23-dev
26-Jun-2017 14:58:50.344 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-40875"]
26-Jun-2017 14:58:50.349 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-40875"]
26-Jun-2017 14:58:51.402 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-40875"]
26-Jun-2017 14:58:51.403 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
26-Jun-2017 14:58:51.405 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-40875"]
26-Jun-2017 14:58:51.407 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testInvalidProtocolNoThrows]
26-Jun-2017 14:58:51.408 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:50)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:52)
	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.rules.RunRules.evaluate(RunRules.java:20)
	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:98)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:343)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:101)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:61)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:308)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:74)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:61)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:286)
	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:390)
	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)

26-Jun-2017 14:58:51.408 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)

Continuation...

	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:50)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:52)
	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.rules.RunRules.evaluate(RunRules.java:20)
	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:98)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:343)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:101)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:61)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:308)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:74)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:61)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:286)
	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:390)
	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)

26-Jun-2017 14:58:51.409 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:50)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:52)
	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.rules.RunRules.evaluate(RunRules.java:20)
	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:98)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:343)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:101)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:61)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:308)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:74)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:61)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:286)
	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:390)
	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)

26-Jun-2017 14:58:51.409 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10"]
26-Jun-2017 14:58:51.410 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTraceNotAllowedCustom]
26-Jun-2017 14:58:51.411 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"]
26-Jun-2017 14:58:51.420 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
26-Jun-2017 14:58:51.420 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.0.M23-dev
26-Jun-2017 14:58:51.426 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-51926"]
26-Jun-2017 14:58:51.429 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-51926"]
26-Jun-2017 14:58:51.480 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
26-Jun-2017 14:58:51.481 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-51926"]
26-Jun-2017 14:58:51.482 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-51926"]
26-Jun-2017 14:58:51.483 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTraceNotAllowedWebDav]
26-Jun-2017 14:58:51.485 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-12"]
26-Jun-2017 14:58:51.487 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
26-Jun-2017 14:58:51.487 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.0.M23-dev
26-Jun-2017 14:58:51.493 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-12-58424"]
26-Jun-2017 14:58:51.497 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-12-58424"]
26-Jun-2017 14:58:51.548 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
26-Jun-2017 14:58:51.549 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-12-58424"]
26-Jun-2017 14:58:51.550 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12-58424"]
26-Jun-2017 14:58:51.553 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testInvalidProtocolThrows]
26-Jun-2017 14:58:51.554 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:50)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:52)
	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.rules.RunRules.evaluate(RunRules.java:20)
	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:98)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:343)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:101)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:61)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:308)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:74)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:61)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:286)
	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:390)
	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)

26-Jun-2017 14:58:51.554 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13"]
26-Jun-2017 14:58:51.555 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDuplicatePortThrows]
26-Jun-2017 14:58:51.556 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-auto-14"]
26-Jun-2017 14:58:51.556 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
26-Jun-2017 14:58:51.557 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-auto-14-34966"]
26-Jun-2017 14:58:51.559 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-34966"]
26-Jun-2017 14:58:51.559 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15"]
------------- ---------------- ---------------

Testcase: testTraceAllowedCustom took 0.871 sec
Testcase: testTraceAllowedWebDav took 0.185 sec
Testcase: testDuplicatePortNoThrows took 0.026 sec
Testcase: testTraceNotAllowedDefault took 0.06 sec
Testcase: testTraceAllowedDefault took 0.081 sec
Testcase: testPort took 0.113 sec
Testcase: testStop took 1.069 sec
Testcase: testInvalidProtocolNoThrows took 0.004 sec
Testcase: testTraceNotAllowedCustom took 0.073 sec
Testcase: testTraceNotAllowedWebDav took 0.069 sec
Testcase: testInvalidProtocolThrows took 0.001 sec
Testcase: testDuplicatePortThrows took 0.004 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, 26 Jun 2017 12:00:06 ().Python Logo