Testsuite: org.apache.tomcat.util.net.TestXxxEndpoint Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.794 sec ------------- Standard Error ----------------- 16-Feb-2024 00:19:26.774 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUnixDomainSocket] 16-Feb-2024 00:19:27.020 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-1"] 16-Feb-2024 00:19:27.049 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testStartStopBindOnStart] 16-Feb-2024 00:19:27.158 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 16-Feb-2024 00:19:27.158 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true], UDS [true]. 16-Feb-2024 00:19:27.159 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 16-Feb-2024 00:19:27.168 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 16-Feb-2024 00:19:28.250 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-2"] 16-Feb-2024 00:19:28.332 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Feb-2024 00:19:28.332 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.87-dev] 16-Feb-2024 00:19:28.626 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 16-Feb-2024 00:19:29.025 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: contextInitialized() 16-Feb-2024 00:19:29.026 INFO [main] org.apache.catalina.core.ApplicationContext.log SessionListener: contextInitialized() 16-Feb-2024 00:19:29.028 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: attributeAdded('StockTicker', 'async.Stockticker@3214ee6') 16-Feb-2024 00:19:29.099 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-127.0.0.1-auto-2"] 16-Feb-2024 00:19:29.308 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-2-45333"] 16-Feb-2024 00:19:29.309 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. 16-Feb-2024 00:19:29.312 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-127.0.0.1-auto-2"] 16-Feb-2024 00:19:29.430 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-2"] 16-Feb-2024 00:19:29.430 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Feb-2024 00:19:29.437 INFO [main] org.apache.catalina.core.ApplicationContext.log SessionListener: contextDestroyed() 16-Feb-2024 00:19:29.439 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: contextDestroyed() 16-Feb-2024 00:19:29.481 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-2"] 16-Feb-2024 00:19:29.497 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-2"] 16-Feb-2024 00:19:29.500 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testStartStopBindOnInit] 16-Feb-2024 00:19:29.501 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 16-Feb-2024 00:19:29.501 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true], UDS [true]. 16-Feb-2024 00:19:29.501 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 16-Feb-2024 00:19:29.502 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 16-Feb-2024 00:19:29.539 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-3"] 16-Feb-2024 00:19:29.540 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Feb-2024 00:19:29.541 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.87-dev] 16-Feb-2024 00:19:29.612 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 16-Feb-2024 00:19:29.789 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: contextInitialized() 16-Feb-2024 00:19:29.789 INFO [main] org.apache.catalina.core.ApplicationContext.log SessionListener: contextInitialized() 16-Feb-2024 00:19:29.790 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: attributeAdded('StockTicker', 'async.Stockticker@f14a7d4') 16-Feb-2024 00:19:29.794 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-127.0.0.1-auto-3-37729"] 16-Feb-2024 00:19:29.895 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-3-37729"] 16-Feb-2024 00:19:29.898 SEVERE [main] org.apache.tomcat.util.net.TestXxxEndpoint.createAprSocket Could not bind: Address already in use 16-Feb-2024 00:19:29.898 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:90) at org.apache.tomcat.util.net.TestXxxEndpoint.testStartStopBindOnInit(TestXxxEndpoint.java:135) 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) 16-Feb-2024 00:19:29.899 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-127.0.0.1-auto-3-37729"] 16-Feb-2024 00:19:29.944 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-3-37729"] 16-Feb-2024 00:19:29.945 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Feb-2024 00:19:29.947 INFO [main] org.apache.catalina.core.ApplicationContext.log SessionListener: contextDestroyed() 16-Feb-2024 00:19:29.948 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: contextDestroyed() 16-Feb-2024 00:19:29.952 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-3-37729"] 16-Feb-2024 00:19:29.956 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-3-37729"] ------------- ---------------- --------------- Testcase: testUnixDomainSocket took 0.723 sec Testcase: testStartStopBindOnStart took 2.45 sec Testcase: testStartStopBindOnInit took 0.459 sec