Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.696 sec ------------- Standard Error ----------------- 16-Jul-2024 10:54:02.291 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 16-Jul-2024 10:54:03.588 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 16-Jul-2024 10:54:03.746 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Jul-2024 10:54:03.746 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 16-Jul-2024 10:54:03.934 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33819"] 16-Jul-2024 10:54:03.972 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33819"] 16-Jul-2024 10:54:03.993 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Jul-2024 10:54:03.994 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33819"] 16-Jul-2024 10:54:04.005 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33819"] 16-Jul-2024 10:54:04.014 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 16-Jul-2024 10:54:04.017 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 16-Jul-2024 10:54:04.057 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Jul-2024 10:54:04.057 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 16-Jul-2024 10:54:04.069 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41435"] 16-Jul-2024 10:54:04.071 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2e377400] to web application [weaving]. 16-Jul-2024 10:54:04.075 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41435"] 16-Jul-2024 10:54:04.077 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Jul-2024 10:54:04.078 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41435"] 16-Jul-2024 10:54:04.079 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41435"] 16-Jul-2024 10:54:04.083 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 16-Jul-2024 10:54:04.095 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 16-Jul-2024 10:54:04.110 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Jul-2024 10:54:04.111 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 16-Jul-2024 10:54:04.134 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-39139"] 16-Jul-2024 10:54:04.135 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5c90e579] to web application [weaving]. 16-Jul-2024 10:54:04.152 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-39139"] 16-Jul-2024 10:54:04.153 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Jul-2024 10:54:04.154 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-39139"] 16-Jul-2024 10:54:04.155 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-39139"] 16-Jul-2024 10:54:04.161 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 16-Jul-2024 10:54:04.163 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 16-Jul-2024 10:54:04.215 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Jul-2024 10:54:04.216 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 16-Jul-2024 10:54:04.244 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44861"] 16-Jul-2024 10:54:04.252 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6e509ffa] to web application [weaving]. 16-Jul-2024 10:54:04.253 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2898ac89] to web application [weaving]. 16-Jul-2024 10:54:04.258 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44861"] 16-Jul-2024 10:54:04.259 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Jul-2024 10:54:04.260 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44861"] 16-Jul-2024 10:54:04.261 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44861"] 16-Jul-2024 10:54:04.264 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 16-Jul-2024 10:54:04.270 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 16-Jul-2024 10:54:04.290 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Jul-2024 10:54:04.291 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 16-Jul-2024 10:54:04.305 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38591"] 16-Jul-2024 10:54:04.306 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@672872e1] to web application [weaving]. 16-Jul-2024 10:54:04.306 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@32910148] to web application [weaving]. 16-Jul-2024 10:54:04.309 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38591"] 16-Jul-2024 10:54:04.310 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Jul-2024 10:54:04.310 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38591"] 16-Jul-2024 10:54:04.310 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38591"] 16-Jul-2024 10:54:04.316 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 16-Jul-2024 10:54:04.318 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 16-Jul-2024 10:54:04.372 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Jul-2024 10:54:04.372 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 16-Jul-2024 10:54:04.376 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-41497"] 16-Jul-2024 10:54:04.377 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5ab9e72c] to web application [weaving]. 16-Jul-2024 10:54:04.377 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@186f8716] to web application [weaving]. 16-Jul-2024 10:54:04.384 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-41497"] 16-Jul-2024 10:54:04.388 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Jul-2024 10:54:04.389 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-41497"] 16-Jul-2024 10:54:04.389 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-41497"] 16-Jul-2024 10:54:04.393 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 16-Jul-2024 10:54:04.394 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 16-Jul-2024 10:54:04.420 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Jul-2024 10:54:04.420 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 16-Jul-2024 10:54:04.446 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-39559"] 16-Jul-2024 10:54:04.457 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-39559"] 16-Jul-2024 10:54:04.458 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Jul-2024 10:54:04.458 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-39559"] 16-Jul-2024 10:54:04.459 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-39559"] 16-Jul-2024 10:54:04.462 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 16-Jul-2024 10:54:04.463 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 16-Jul-2024 10:54:04.527 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Jul-2024 10:54:04.527 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 16-Jul-2024 10:54:04.546 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36911"] 16-Jul-2024 10:54:04.550 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7e9131d5] to web application [weaving]. 16-Jul-2024 10:54:04.550 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7e9131d5] from web application [weaving]. 16-Jul-2024 10:54:04.560 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36911"] 16-Jul-2024 10:54:04.560 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Jul-2024 10:54:04.561 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36911"] 16-Jul-2024 10:54:04.562 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36911"] 16-Jul-2024 10:54:04.568 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 16-Jul-2024 10:54:04.570 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 16-Jul-2024 10:54:04.602 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Jul-2024 10:54:04.603 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 16-Jul-2024 10:54:04.608 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44343"] 16-Jul-2024 10:54:04.608 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@13b13b5d] to web application [weaving]. 16-Jul-2024 10:54:04.609 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2892dae4] to web application [weaving]. 16-Jul-2024 10:54:04.609 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2892dae4] from web application [weaving]. 16-Jul-2024 10:54:04.612 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44343"] 16-Jul-2024 10:54:04.615 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Jul-2024 10:54:04.615 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44343"] 16-Jul-2024 10:54:04.616 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44343"] 16-Jul-2024 10:54:04.619 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 16-Jul-2024 10:54:04.620 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 16-Jul-2024 10:54:04.656 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Jul-2024 10:54:04.656 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 16-Jul-2024 10:54:04.670 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-37503"] 16-Jul-2024 10:54:04.674 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@19d481b] to web application [weaving]. 16-Jul-2024 10:54:04.675 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1f97cf0d] to web application [weaving]. 16-Jul-2024 10:54:04.675 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1f97cf0d] from web application [weaving]. 16-Jul-2024 10:54:04.678 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-37503"] 16-Jul-2024 10:54:04.687 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Jul-2024 10:54:04.687 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-37503"] 16-Jul-2024 10:54:04.688 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-37503"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.886 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.069 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.077 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.103 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.052 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.076 sec Testcase: testAddingNullTransformerThrowsException took 0.069 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.106 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.05 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.074 sec