Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.956 sec ------------- Standard Error ----------------- 05-Nov-2024 15:51:42.886 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 05-Nov-2024 15:51:43.931 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 05-Nov-2024 15:51:44.102 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Nov-2024 15:51:44.109 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 05-Nov-2024 15:51:44.398 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-44261"] 05-Nov-2024 15:51:44.439 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-44261"] 05-Nov-2024 15:51:44.453 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Nov-2024 15:51:44.456 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-44261"] 05-Nov-2024 15:51:44.460 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-44261"] 05-Nov-2024 15:51:44.485 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 05-Nov-2024 15:51:44.494 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 05-Nov-2024 15:51:44.608 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Nov-2024 15:51:44.608 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 05-Nov-2024 15:51:44.627 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-36363"] 05-Nov-2024 15:51:44.636 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@10aa41f2] to web application [weaving]. 05-Nov-2024 15:51:44.640 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-36363"] 05-Nov-2024 15:51:44.641 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Nov-2024 15:51:44.641 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-36363"] 05-Nov-2024 15:51:44.642 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-36363"] 05-Nov-2024 15:51:44.646 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 05-Nov-2024 15:51:44.655 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 05-Nov-2024 15:51:44.766 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Nov-2024 15:51:44.766 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 05-Nov-2024 15:51:44.774 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-43031"] 05-Nov-2024 15:51:44.780 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@424e1977] to web application [weaving]. 05-Nov-2024 15:51:44.784 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-43031"] 05-Nov-2024 15:51:44.789 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Nov-2024 15:51:44.789 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-43031"] 05-Nov-2024 15:51:44.790 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-43031"] 05-Nov-2024 15:51:44.793 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 05-Nov-2024 15:51:44.795 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 05-Nov-2024 15:51:44.883 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Nov-2024 15:51:44.884 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 05-Nov-2024 15:51:44.895 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44383"] 05-Nov-2024 15:51:44.905 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@623a8092] to web application [weaving]. 05-Nov-2024 15:51:44.905 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@a1cdc6d] to web application [weaving]. 05-Nov-2024 15:51:44.914 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44383"] 05-Nov-2024 15:51:44.915 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Nov-2024 15:51:44.918 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44383"] 05-Nov-2024 15:51:44.920 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44383"] 05-Nov-2024 15:51:44.931 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 05-Nov-2024 15:51:44.932 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 05-Nov-2024 15:51:45.039 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Nov-2024 15:51:45.039 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 05-Nov-2024 15:51:45.054 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-45327"] 05-Nov-2024 15:51:45.054 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7c83dc97] to web application [weaving]. 05-Nov-2024 15:51:45.054 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7748410a] to web application [weaving]. 05-Nov-2024 15:51:45.061 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-45327"] 05-Nov-2024 15:51:45.066 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Nov-2024 15:51:45.067 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-45327"] 05-Nov-2024 15:51:45.068 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-45327"] 05-Nov-2024 15:51:45.070 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 05-Nov-2024 15:51:45.077 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 05-Nov-2024 15:51:45.110 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Nov-2024 15:51:45.110 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 05-Nov-2024 15:51:45.142 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40505"] 05-Nov-2024 15:51:45.154 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@28975c28] to web application [weaving]. 05-Nov-2024 15:51:45.154 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3943a2be] to web application [weaving]. 05-Nov-2024 15:51:45.158 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40505"] 05-Nov-2024 15:51:45.159 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Nov-2024 15:51:45.159 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40505"] 05-Nov-2024 15:51:45.160 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40505"] 05-Nov-2024 15:51:45.165 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 05-Nov-2024 15:51:45.166 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 05-Nov-2024 15:51:45.168 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Nov-2024 15:51:45.168 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 05-Nov-2024 15:51:45.173 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-44827"] 05-Nov-2024 15:51:45.177 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-44827"] 05-Nov-2024 15:51:45.181 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Nov-2024 15:51:45.182 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-44827"] 05-Nov-2024 15:51:45.182 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-44827"] 05-Nov-2024 15:51:45.185 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 05-Nov-2024 15:51:45.186 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 05-Nov-2024 15:51:45.231 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Nov-2024 15:51:45.232 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 05-Nov-2024 15:51:45.247 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-34123"] 05-Nov-2024 15:51:45.247 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4ef37659] to web application [weaving]. 05-Nov-2024 15:51:45.248 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4ef37659] from web application [weaving]. 05-Nov-2024 15:51:45.251 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-34123"] 05-Nov-2024 15:51:45.252 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Nov-2024 15:51:45.252 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-34123"] 05-Nov-2024 15:51:45.253 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-34123"] 05-Nov-2024 15:51:45.256 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 05-Nov-2024 15:51:45.258 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 05-Nov-2024 15:51:45.351 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Nov-2024 15:51:45.352 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 05-Nov-2024 15:51:45.372 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46883"] 05-Nov-2024 15:51:45.372 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5fa07e12] to web application [weaving]. 05-Nov-2024 15:51:45.372 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@55b53d44] to web application [weaving]. 05-Nov-2024 15:51:45.372 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@55b53d44] from web application [weaving]. 05-Nov-2024 15:51:45.376 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46883"] 05-Nov-2024 15:51:45.379 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Nov-2024 15:51:45.380 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46883"] 05-Nov-2024 15:51:45.381 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46883"] 05-Nov-2024 15:51:45.384 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 05-Nov-2024 15:51:45.389 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 05-Nov-2024 15:51:45.498 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Nov-2024 15:51:45.498 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 05-Nov-2024 15:51:45.510 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34019"] 05-Nov-2024 15:51:45.526 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@77eca502] to web application [weaving]. 05-Nov-2024 15:51:45.526 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3246fb96] to web application [weaving]. 05-Nov-2024 15:51:45.526 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3246fb96] from web application [weaving]. 05-Nov-2024 15:51:45.533 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34019"] 05-Nov-2024 15:51:45.537 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Nov-2024 15:51:45.537 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34019"] 05-Nov-2024 15:51:45.538 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34019"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.773 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.16 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.148 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.135 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.141 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.094 sec Testcase: testAddingNullTransformerThrowsException took 0.02 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.071 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.128 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.157 sec