Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.893 sec ------------- Standard Error ----------------- 14-Jun-2024 14:25:52.401 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 14-Jun-2024 14:25:53.355 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 14-Jun-2024 14:25:53.426 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Jun-2024 14:25:53.427 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.25-dev] 14-Jun-2024 14:25:53.668 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-43347"] 14-Jun-2024 14:25:53.790 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-43347"] 14-Jun-2024 14:25:53.807 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Jun-2024 14:25:53.812 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-43347"] 14-Jun-2024 14:25:53.825 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-43347"] 14-Jun-2024 14:25:53.836 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 14-Jun-2024 14:25:53.838 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 14-Jun-2024 14:25:53.839 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Jun-2024 14:25:53.839 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.25-dev] 14-Jun-2024 14:25:53.844 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-40815"] 14-Jun-2024 14:25:53.891 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@be35cd9] to web application [weaving]. 14-Jun-2024 14:25:53.897 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-40815"] 14-Jun-2024 14:25:53.901 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Jun-2024 14:25:53.901 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-40815"] 14-Jun-2024 14:25:53.905 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-40815"] 14-Jun-2024 14:25:53.907 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 14-Jun-2024 14:25:53.909 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 14-Jun-2024 14:25:53.916 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Jun-2024 14:25:53.921 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.25-dev] 14-Jun-2024 14:25:53.942 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-39465"] 14-Jun-2024 14:25:54.001 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4e096385] to web application [weaving]. 14-Jun-2024 14:25:54.005 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-39465"] 14-Jun-2024 14:25:54.006 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Jun-2024 14:25:54.007 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-39465"] 14-Jun-2024 14:25:54.008 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-39465"] 14-Jun-2024 14:25:54.010 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 14-Jun-2024 14:25:54.012 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 14-Jun-2024 14:25:54.012 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Jun-2024 14:25:54.013 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.25-dev] 14-Jun-2024 14:25:54.031 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-40849"] 14-Jun-2024 14:25:54.177 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6a84a97d] to web application [weaving]. 14-Jun-2024 14:25:54.177 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6c130c45] to web application [weaving]. 14-Jun-2024 14:25:54.182 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-40849"] 14-Jun-2024 14:25:54.183 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Jun-2024 14:25:54.184 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-40849"] 14-Jun-2024 14:25:54.191 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-40849"] 14-Jun-2024 14:25:54.195 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 14-Jun-2024 14:25:54.198 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 14-Jun-2024 14:25:54.201 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Jun-2024 14:25:54.201 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.25-dev] 14-Jun-2024 14:25:54.218 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-33721"] 14-Jun-2024 14:25:54.274 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6babf3bf] to web application [weaving]. 14-Jun-2024 14:25:54.274 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3059cbc] to web application [weaving]. 14-Jun-2024 14:25:54.278 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-33721"] 14-Jun-2024 14:25:54.281 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Jun-2024 14:25:54.282 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-33721"] 14-Jun-2024 14:25:54.286 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-33721"] 14-Jun-2024 14:25:54.295 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 14-Jun-2024 14:25:54.296 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 14-Jun-2024 14:25:54.297 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Jun-2024 14:25:54.297 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.25-dev] 14-Jun-2024 14:25:54.327 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-45439"] 14-Jun-2024 14:25:54.341 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4d5b6aac] to web application [weaving]. 14-Jun-2024 14:25:54.342 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3e84448c] to web application [weaving]. 14-Jun-2024 14:25:54.350 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-45439"] 14-Jun-2024 14:25:54.353 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Jun-2024 14:25:54.354 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-45439"] 14-Jun-2024 14:25:54.357 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-45439"] 14-Jun-2024 14:25:54.358 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 14-Jun-2024 14:25:54.359 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 14-Jun-2024 14:25:54.360 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Jun-2024 14:25:54.360 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.25-dev] 14-Jun-2024 14:25:54.363 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-35835"] 14-Jun-2024 14:25:54.367 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-35835"] 14-Jun-2024 14:25:54.367 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Jun-2024 14:25:54.368 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-35835"] 14-Jun-2024 14:25:54.369 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-35835"] 14-Jun-2024 14:25:54.379 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 14-Jun-2024 14:25:54.381 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 14-Jun-2024 14:25:54.382 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Jun-2024 14:25:54.382 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.25-dev] 14-Jun-2024 14:25:54.397 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-38881"] 14-Jun-2024 14:25:54.438 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7fee8714] to web application [weaving]. 14-Jun-2024 14:25:54.438 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7fee8714] from web application [weaving]. 14-Jun-2024 14:25:54.442 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-38881"] 14-Jun-2024 14:25:54.444 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Jun-2024 14:25:54.445 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-38881"] 14-Jun-2024 14:25:54.450 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-38881"] 14-Jun-2024 14:25:54.451 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 14-Jun-2024 14:25:54.453 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 14-Jun-2024 14:25:54.453 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Jun-2024 14:25:54.454 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.25-dev] 14-Jun-2024 14:25:54.463 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-41003"] 14-Jun-2024 14:25:54.518 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5acf93bb] to web application [weaving]. 14-Jun-2024 14:25:54.518 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7e7be63f] to web application [weaving]. 14-Jun-2024 14:25:54.518 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7e7be63f] from web application [weaving]. 14-Jun-2024 14:25:54.522 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-41003"] 14-Jun-2024 14:25:54.523 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Jun-2024 14:25:54.523 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-41003"] 14-Jun-2024 14:25:54.525 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-41003"] 14-Jun-2024 14:25:54.528 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 14-Jun-2024 14:25:54.532 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 14-Jun-2024 14:25:54.540 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Jun-2024 14:25:54.541 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.25-dev] 14-Jun-2024 14:25:54.558 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-34335"] 14-Jun-2024 14:25:54.652 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@58d75e99] to web application [weaving]. 14-Jun-2024 14:25:54.652 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@74751b3] to web application [weaving]. 14-Jun-2024 14:25:54.652 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@74751b3] from web application [weaving]. 14-Jun-2024 14:25:54.656 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-34335"] 14-Jun-2024 14:25:54.658 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Jun-2024 14:25:54.659 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-34335"] 14-Jun-2024 14:25:54.661 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-34335"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.639 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.071 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.102 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.183 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.101 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.064 sec Testcase: testAddingNullTransformerThrowsException took 0.012 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.072 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.077 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.135 sec