Testsuite: org.apache.tomcat.util.net.TestXxxEndpoint Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.929 sec ------------- Standard Error ----------------- 26-Jul-2024 11:14:55.296 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUnixDomainSocket] 26-Jul-2024 11:14:55.673 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-1"] 26-Jul-2024 11:14:55.689 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testStartStopBindOnStart] 26-Jul-2024 11:14:55.854 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] 26-Jul-2024 11:14:55.868 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 26-Jul-2024 11:14:55.870 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true], UDS [true]. 26-Jul-2024 11:14:55.871 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 26-Jul-2024 11:14:55.874 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 26-Jul-2024 11:14:56.771 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-2"] 26-Jul-2024 11:14:56.824 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Jul-2024 11:14:56.824 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.92-dev] 26-Jul-2024 11:14:57.307 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 26-Jul-2024 11:14:57.901 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. 26-Jul-2024 11:14:57.957 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: contextInitialized() 26-Jul-2024 11:14:57.963 INFO [main] org.apache.catalina.core.ApplicationContext.log SessionListener: contextInitialized() 26-Jul-2024 11:14:57.965 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: attributeAdded('StockTicker', 'async.Stockticker@65f8f5ae') 26-Jul-2024 11:14:58.005 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-127.0.0.1-auto-2"] 26-Jul-2024 11:14:58.137 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-2-35843"] 26-Jul-2024 11:14:58.138 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. 26-Jul-2024 11:14:58.146 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-127.0.0.1-auto-2"] 26-Jul-2024 11:14:58.164 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-2"] 26-Jul-2024 11:14:58.164 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Jul-2024 11:14:58.170 INFO [main] org.apache.catalina.core.ApplicationContext.log SessionListener: contextDestroyed() 26-Jul-2024 11:14:58.170 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: contextDestroyed() 26-Jul-2024 11:14:58.204 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-2"] 26-Jul-2024 11:14:58.212 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-2"] 26-Jul-2024 11:14:58.217 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testStartStopBindOnInit] 26-Jul-2024 11:14:58.227 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] 26-Jul-2024 11:14:58.227 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 26-Jul-2024 11:14:58.227 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true], UDS [true]. 26-Jul-2024 11:14:58.227 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 26-Jul-2024 11:14:58.228 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 26-Jul-2024 11:14:58.229 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-3"] 26-Jul-2024 11:14:58.230 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Jul-2024 11:14:58.230 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.92-dev] 26-Jul-2024 11:14:58.270 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 26-Jul-2024 11:14:58.472 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. 26-Jul-2024 11:14:58.498 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: contextInitialized() 26-Jul-2024 11:14:58.499 INFO [main] org.apache.catalina.core.ApplicationContext.log SessionListener: contextInitialized() 26-Jul-2024 11:14:58.501 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: attributeAdded('StockTicker', 'async.Stockticker@163370c2') 26-Jul-2024 11:14:58.520 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-127.0.0.1-auto-3-45127"] 26-Jul-2024 11:14:58.697 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-3-45127"] 26-Jul-2024 11:14:58.699 SEVERE [main] org.apache.tomcat.util.net.TestXxxEndpoint.createAprSocket Could not bind: Address already in use 26-Jul-2024 11:14:58.700 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) 26-Jul-2024 11:14:58.701 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-127.0.0.1-auto-3-45127"] 26-Jul-2024 11:14:58.851 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-3-45127"] 26-Jul-2024 11:14:58.852 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Jul-2024 11:14:58.855 INFO [main] org.apache.catalina.core.ApplicationContext.log SessionListener: contextDestroyed() 26-Jul-2024 11:14:58.855 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: contextDestroyed() 26-Jul-2024 11:14:58.860 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-3-45127"] 26-Jul-2024 11:14:58.864 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-3-45127"] ------------- ---------------- --------------- Testcase: testUnixDomainSocket took 0.601 sec Testcase: testStartStopBindOnStart took 2.529 sec Testcase: testStartStopBindOnInit took 0.657 sec