Testsuite: org.apache.tomcat.util.net.TestXxxEndpoint Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.426 sec ------------- Standard Error ----------------- 05-Jul-2024 18:47:02.569 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUnixDomainSocket] 05-Jul-2024 18:47:02.781 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-1"] 05-Jul-2024 18:47:02.811 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testStartStopBindOnStart] 05-Jul-2024 18:47:02.879 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent An older version [1.2.38] of the Apache Tomcat Native library is installed, while Tomcat recommends a minimum version of [1.3.0] 05-Jul-2024 18:47:02.879 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 05-Jul-2024 18:47:02.879 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true], UDS [true]. 05-Jul-2024 18:47:02.879 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 05-Jul-2024 18:47:02.882 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 05-Jul-2024 18:47:03.956 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-2"] 05-Jul-2024 18:47:04.019 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Jul-2024 18:47:04.020 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.92-dev] 05-Jul-2024 18:47:04.388 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 05-Jul-2024 18:47:04.814 INFO [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. 05-Jul-2024 18:47:04.889 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: contextInitialized() 05-Jul-2024 18:47:04.890 INFO [main] org.apache.catalina.core.ApplicationContext.log SessionListener: contextInitialized() 05-Jul-2024 18:47:04.892 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: attributeAdded('StockTicker', 'async.Stockticker@16612a51') 05-Jul-2024 18:47:05.019 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-127.0.0.1-auto-2"] 05-Jul-2024 18:47:05.100 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-2-44493"] 05-Jul-2024 18:47:05.108 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. 05-Jul-2024 18:47:05.113 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-127.0.0.1-auto-2"] 05-Jul-2024 18:47:05.288 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-2"] 05-Jul-2024 18:47:05.289 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Jul-2024 18:47:05.313 INFO [main] org.apache.catalina.core.ApplicationContext.log SessionListener: contextDestroyed() 05-Jul-2024 18:47:05.314 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: contextDestroyed() 05-Jul-2024 18:47:05.379 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-2"] 05-Jul-2024 18:47:05.395 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-2"] 05-Jul-2024 18:47:05.400 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testStartStopBindOnInit] 05-Jul-2024 18:47:05.401 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent An older version [1.2.38] of the Apache Tomcat Native library is installed, while Tomcat recommends a minimum version of [1.3.0] 05-Jul-2024 18:47:05.402 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 05-Jul-2024 18:47:05.402 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true], UDS [true]. 05-Jul-2024 18:47:05.402 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 05-Jul-2024 18:47:05.403 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 05-Jul-2024 18:47:05.404 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-3"] 05-Jul-2024 18:47:05.411 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Jul-2024 18:47:05.411 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.92-dev] 05-Jul-2024 18:47:05.438 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 05-Jul-2024 18:47:05.779 INFO [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. 05-Jul-2024 18:47:05.884 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: contextInitialized() 05-Jul-2024 18:47:05.885 INFO [main] org.apache.catalina.core.ApplicationContext.log SessionListener: contextInitialized() 05-Jul-2024 18:47:05.886 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: attributeAdded('StockTicker', 'async.Stockticker@4b34fff9') 05-Jul-2024 18:47:05.899 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-127.0.0.1-auto-3-46067"] 05-Jul-2024 18:47:06.017 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-3-46067"] 05-Jul-2024 18:47:06.020 SEVERE [main] org.apache.tomcat.util.net.TestXxxEndpoint.createAprSocket Could not bind: Address already in use 05-Jul-2024 18:47:06.020 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) 05-Jul-2024 18:47:06.021 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-127.0.0.1-auto-3-46067"] 05-Jul-2024 18:47:06.126 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-3-46067"] 05-Jul-2024 18:47:06.126 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Jul-2024 18:47:06.128 INFO [main] org.apache.catalina.core.ApplicationContext.log SessionListener: contextDestroyed() 05-Jul-2024 18:47:06.129 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: contextDestroyed() 05-Jul-2024 18:47:06.149 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-3-46067"] 05-Jul-2024 18:47:06.153 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-3-46067"] ------------- ---------------- --------------- Testcase: testUnixDomainSocket took 0.873 sec Testcase: testStartStopBindOnStart took 2.589 sec Testcase: testStartStopBindOnInit took 0.758 sec