Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.478 sec ------------- Standard Error ----------------- 02-Feb-2024 13:57:46.603 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 02-Feb-2024 13:57:47.619 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 02-Feb-2024 13:57:47.694 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Feb-2024 13:57:47.695 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 02-Feb-2024 13:57:47.856 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-44129"] 02-Feb-2024 13:57:47.902 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-44129"] 02-Feb-2024 13:57:47.916 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Feb-2024 13:57:47.920 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-44129"] 02-Feb-2024 13:57:47.923 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-44129"] 02-Feb-2024 13:57:47.945 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 02-Feb-2024 13:57:47.947 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 02-Feb-2024 13:57:47.986 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Feb-2024 13:57:47.986 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 02-Feb-2024 13:57:47.995 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-39869"] 02-Feb-2024 13:57:48.016 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2bfc268b] to web application [weaving]. 02-Feb-2024 13:57:48.020 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-39869"] 02-Feb-2024 13:57:48.022 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Feb-2024 13:57:48.024 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-39869"] 02-Feb-2024 13:57:48.026 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-39869"] 02-Feb-2024 13:57:48.029 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 02-Feb-2024 13:57:48.033 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 02-Feb-2024 13:57:48.071 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Feb-2024 13:57:48.071 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 02-Feb-2024 13:57:48.078 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-46013"] 02-Feb-2024 13:57:48.079 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5ace1ed4] to web application [weaving]. 02-Feb-2024 13:57:48.082 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-46013"] 02-Feb-2024 13:57:48.084 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Feb-2024 13:57:48.084 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-46013"] 02-Feb-2024 13:57:48.085 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-46013"] 02-Feb-2024 13:57:48.090 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 02-Feb-2024 13:57:48.111 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 02-Feb-2024 13:57:48.227 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Feb-2024 13:57:48.227 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 02-Feb-2024 13:57:48.239 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-39161"] 02-Feb-2024 13:57:48.242 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@247d8ae] to web application [weaving]. 02-Feb-2024 13:57:48.242 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@48974e45] to web application [weaving]. 02-Feb-2024 13:57:48.247 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-39161"] 02-Feb-2024 13:57:48.260 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Feb-2024 13:57:48.264 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-39161"] 02-Feb-2024 13:57:48.267 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-39161"] 02-Feb-2024 13:57:48.270 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 02-Feb-2024 13:57:48.272 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 02-Feb-2024 13:57:48.288 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Feb-2024 13:57:48.289 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 02-Feb-2024 13:57:48.295 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37603"] 02-Feb-2024 13:57:48.297 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3059cbc] to web application [weaving]. 02-Feb-2024 13:57:48.297 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7ea9e1e2] to web application [weaving]. 02-Feb-2024 13:57:48.300 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37603"] 02-Feb-2024 13:57:48.304 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Feb-2024 13:57:48.304 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37603"] 02-Feb-2024 13:57:48.304 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37603"] 02-Feb-2024 13:57:48.307 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 02-Feb-2024 13:57:48.308 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 02-Feb-2024 13:57:48.409 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Feb-2024 13:57:48.409 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 02-Feb-2024 13:57:48.414 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40201"] 02-Feb-2024 13:57:48.415 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4a7f959b] to web application [weaving]. 02-Feb-2024 13:57:48.415 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@429bffaa] to web application [weaving]. 02-Feb-2024 13:57:48.418 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40201"] 02-Feb-2024 13:57:48.422 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Feb-2024 13:57:48.423 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40201"] 02-Feb-2024 13:57:48.423 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40201"] 02-Feb-2024 13:57:48.426 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 02-Feb-2024 13:57:48.429 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 02-Feb-2024 13:57:48.468 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Feb-2024 13:57:48.468 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 02-Feb-2024 13:57:48.472 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-38923"] 02-Feb-2024 13:57:48.476 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-38923"] 02-Feb-2024 13:57:48.479 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Feb-2024 13:57:48.479 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-38923"] 02-Feb-2024 13:57:48.479 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-38923"] 02-Feb-2024 13:57:48.485 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 02-Feb-2024 13:57:48.491 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 02-Feb-2024 13:57:48.534 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Feb-2024 13:57:48.534 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 02-Feb-2024 13:57:48.556 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-42471"] 02-Feb-2024 13:57:48.558 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@56cdfb3b] to web application [weaving]. 02-Feb-2024 13:57:48.558 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@56cdfb3b] from web application [weaving]. 02-Feb-2024 13:57:48.561 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-42471"] 02-Feb-2024 13:57:48.563 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Feb-2024 13:57:48.564 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-42471"] 02-Feb-2024 13:57:48.564 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-42471"] 02-Feb-2024 13:57:48.567 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 02-Feb-2024 13:57:48.569 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 02-Feb-2024 13:57:48.622 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Feb-2024 13:57:48.622 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 02-Feb-2024 13:57:48.641 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-40683"] 02-Feb-2024 13:57:48.641 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6cd28fa7] to web application [weaving]. 02-Feb-2024 13:57:48.642 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@614ca7df] to web application [weaving]. 02-Feb-2024 13:57:48.642 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@614ca7df] from web application [weaving]. 02-Feb-2024 13:57:48.644 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-40683"] 02-Feb-2024 13:57:48.645 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Feb-2024 13:57:48.646 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-40683"] 02-Feb-2024 13:57:48.647 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-40683"] 02-Feb-2024 13:57:48.650 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 02-Feb-2024 13:57:48.651 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 02-Feb-2024 13:57:48.674 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Feb-2024 13:57:48.674 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 02-Feb-2024 13:57:48.689 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42333"] 02-Feb-2024 13:57:48.693 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@306e95ec] to web application [weaving]. 02-Feb-2024 13:57:48.694 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@52af26ee] to web application [weaving]. 02-Feb-2024 13:57:48.694 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@52af26ee] from web application [weaving]. 02-Feb-2024 13:57:48.696 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42333"] 02-Feb-2024 13:57:48.699 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Feb-2024 13:57:48.700 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42333"] 02-Feb-2024 13:57:48.700 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42333"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.481 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.095 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.061 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.179 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.036 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.119 sec Testcase: testAddingNullTransformerThrowsException took 0.059 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.081 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.082 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.053 sec