Testsuite: org.apache.tomcat.util.net.TestXxxEndpoint Tests run: 3, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 4.375 sec ------------- Standard Error ----------------- 08-Dec-2023 12:18:59.700 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUnixDomainSocket] 08-Dec-2023 12:19:00.139 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-1"] 08-Dec-2023 12:19:00.155 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testStartStopBindOnStart] 08-Dec-2023 12:19:00.222 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 08-Dec-2023 12:19:00.222 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true], UDS [true]. 08-Dec-2023 12:19:00.222 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 08-Dec-2023 12:19:00.225 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 08-Dec-2023 12:19:01.130 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-2"] 08-Dec-2023 12:19:01.188 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Dec-2023 12:19:01.188 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.85-dev] 08-Dec-2023 12:19:01.512 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 08-Dec-2023 12:19:02.125 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: contextInitialized() 08-Dec-2023 12:19:02.126 INFO [main] org.apache.catalina.core.ApplicationContext.log SessionListener: contextInitialized() 08-Dec-2023 12:19:02.129 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: attributeAdded('StockTicker', 'async.Stockticker@4149c063') 08-Dec-2023 12:19:02.281 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-127.0.0.1-auto-2"] 08-Dec-2023 12:19:02.428 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-2-40691"] 08-Dec-2023 12:19:02.430 WARNING [main] org.apache.tomcat.util.net.AprEndpoint.stopInternal Acceptor thread [http-apr-127.0.0.1-auto-2-Acceptor] failed to unlock. Forcing hard socket shutdown. 08-Dec-2023 12:19:02.433 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-127.0.0.1-auto-2"] 08-Dec-2023 12:19:02.548 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-2"] 08-Dec-2023 12:19:02.549 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Dec-2023 12:19:02.554 INFO [main] org.apache.catalina.core.ApplicationContext.log SessionListener: contextDestroyed() 08-Dec-2023 12:19:02.556 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: contextDestroyed() 08-Dec-2023 12:19:02.603 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-2"] 08-Dec-2023 12:19:02.628 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-2"] 08-Dec-2023 12:19:02.631 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testStartStopBindOnInit] 08-Dec-2023 12:19:02.632 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 08-Dec-2023 12:19:02.633 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true], UDS [true]. 08-Dec-2023 12:19:02.633 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 08-Dec-2023 12:19:02.633 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 08-Dec-2023 12:19:02.635 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-3"] 08-Dec-2023 12:19:02.638 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Dec-2023 12:19:02.638 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.85-dev] 08-Dec-2023 12:19:02.679 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 08-Dec-2023 12:19:02.992 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: contextInitialized() 08-Dec-2023 12:19:02.992 INFO [main] org.apache.catalina.core.ApplicationContext.log SessionListener: contextInitialized() 08-Dec-2023 12:19:03.005 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: attributeAdded('StockTicker', 'async.Stockticker@421e361') 08-Dec-2023 12:19:03.030 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-127.0.0.1-auto-3-46499"] 08-Dec-2023 12:19:03.205 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-3-46499"] 08-Dec-2023 12:19:03.219 SEVERE [main] org.apache.tomcat.util.net.TestXxxEndpoint.createAprSocket Could not bind: Address already in use 08-Dec-2023 12:19:03.220 INFO [main] org.apache.tomcat.util.net.TestXxxEndpoint.testStartStopBindOnInit Exception was java.lang.Exception: Address already in use at org.apache.tomcat.util.net.TestXxxEndpoint.createAprSocket(TestXxxEndpoint.java:91) at org.apache.tomcat.util.net.TestXxxEndpoint.testStartStopBindOnInit(TestXxxEndpoint.java:136) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) 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:56) 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.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) 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$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:50) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1197) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1042) 08-Dec-2023 12:19:03.223 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-127.0.0.1-auto-3-46499"] 08-Dec-2023 12:19:03.372 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-3-46499"] 08-Dec-2023 12:19:03.377 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Dec-2023 12:19:03.381 INFO [main] org.apache.catalina.core.ApplicationContext.log SessionListener: contextDestroyed() 08-Dec-2023 12:19:03.381 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: contextDestroyed() 08-Dec-2023 12:19:03.410 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-3-46499"] 08-Dec-2023 12:19:03.426 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-3-46499"] ------------- ---------------- --------------- Testcase: testUnixDomainSocket took 0.977 sec SKIPPED: NIO Unix domain sockets have to be supported for this test Testcase: testUnixDomainSocket took 0.979 sec Testcase: testStartStopBindOnStart took 2.476 sec Testcase: testStartStopBindOnInit took 0.797 sec