Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.913 sec ------------- Standard Error ----------------- 20-Sep-2024 16:28:04.894 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 20-Sep-2024 16:28:06.113 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 20-Sep-2024 16:28:06.210 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Sep-2024 16:28:06.210 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 20-Sep-2024 16:28:06.426 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-38457"] 20-Sep-2024 16:28:06.488 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-38457"] 20-Sep-2024 16:28:06.495 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Sep-2024 16:28:06.496 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-38457"] 20-Sep-2024 16:28:06.503 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-38457"] 20-Sep-2024 16:28:06.511 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 20-Sep-2024 16:28:06.513 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 20-Sep-2024 16:28:06.514 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Sep-2024 16:28:06.515 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 20-Sep-2024 16:28:06.537 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-38285"] 20-Sep-2024 16:28:06.560 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5c671d7f] to web application [weaving]. 20-Sep-2024 16:28:06.564 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-38285"] 20-Sep-2024 16:28:06.568 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Sep-2024 16:28:06.569 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-38285"] 20-Sep-2024 16:28:06.576 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-38285"] 20-Sep-2024 16:28:06.578 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 20-Sep-2024 16:28:06.580 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 20-Sep-2024 16:28:06.580 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Sep-2024 16:28:06.581 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 20-Sep-2024 16:28:06.593 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-45765"] 20-Sep-2024 16:28:06.684 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@38e79ae3] to web application [weaving]. 20-Sep-2024 16:28:06.689 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-45765"] 20-Sep-2024 16:28:06.691 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Sep-2024 16:28:06.691 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-45765"] 20-Sep-2024 16:28:06.695 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-45765"] 20-Sep-2024 16:28:06.697 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 20-Sep-2024 16:28:06.700 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 20-Sep-2024 16:28:06.700 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Sep-2024 16:28:06.707 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 20-Sep-2024 16:28:06.732 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-37947"] 20-Sep-2024 16:28:06.874 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@683dbc2c] to web application [weaving]. 20-Sep-2024 16:28:06.874 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@68267da0] to web application [weaving]. 20-Sep-2024 16:28:06.882 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-37947"] 20-Sep-2024 16:28:06.883 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Sep-2024 16:28:06.884 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-37947"] 20-Sep-2024 16:28:06.885 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-37947"] 20-Sep-2024 16:28:06.887 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 20-Sep-2024 16:28:06.890 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 20-Sep-2024 16:28:06.890 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Sep-2024 16:28:06.891 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 20-Sep-2024 16:28:06.917 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-42125"] 20-Sep-2024 16:28:07.001 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@fa36558] to web application [weaving]. 20-Sep-2024 16:28:07.001 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@672872e1] to web application [weaving]. 20-Sep-2024 16:28:07.005 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-42125"] 20-Sep-2024 16:28:07.005 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Sep-2024 16:28:07.005 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-42125"] 20-Sep-2024 16:28:07.019 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-42125"] 20-Sep-2024 16:28:07.020 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 20-Sep-2024 16:28:07.022 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 20-Sep-2024 16:28:07.026 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Sep-2024 16:28:07.026 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 20-Sep-2024 16:28:07.061 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-34003"] 20-Sep-2024 16:28:07.152 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@50caa560] to web application [weaving]. 20-Sep-2024 16:28:07.152 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2a266d09] to web application [weaving]. 20-Sep-2024 16:28:07.158 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-34003"] 20-Sep-2024 16:28:07.158 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Sep-2024 16:28:07.158 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-34003"] 20-Sep-2024 16:28:07.163 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-34003"] 20-Sep-2024 16:28:07.165 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 20-Sep-2024 16:28:07.168 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 20-Sep-2024 16:28:07.170 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Sep-2024 16:28:07.170 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 20-Sep-2024 16:28:07.190 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-43001"] 20-Sep-2024 16:28:07.270 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-43001"] 20-Sep-2024 16:28:07.270 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Sep-2024 16:28:07.271 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-43001"] 20-Sep-2024 16:28:07.273 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-43001"] 20-Sep-2024 16:28:07.275 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 20-Sep-2024 16:28:07.277 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 20-Sep-2024 16:28:07.277 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Sep-2024 16:28:07.278 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 20-Sep-2024 16:28:07.283 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-39371"] 20-Sep-2024 16:28:07.290 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@f381794] to web application [weaving]. 20-Sep-2024 16:28:07.291 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@f381794] from web application [weaving]. 20-Sep-2024 16:28:07.294 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-39371"] 20-Sep-2024 16:28:07.295 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Sep-2024 16:28:07.296 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-39371"] 20-Sep-2024 16:28:07.299 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-39371"] 20-Sep-2024 16:28:07.307 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 20-Sep-2024 16:28:07.308 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 20-Sep-2024 16:28:07.309 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Sep-2024 16:28:07.311 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 20-Sep-2024 16:28:07.318 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-42605"] 20-Sep-2024 16:28:07.362 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3541cb24] to web application [weaving]. 20-Sep-2024 16:28:07.362 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2177849e] to web application [weaving]. 20-Sep-2024 16:28:07.362 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2177849e] from web application [weaving]. 20-Sep-2024 16:28:07.366 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-42605"] 20-Sep-2024 16:28:07.369 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Sep-2024 16:28:07.369 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-42605"] 20-Sep-2024 16:28:07.373 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-42605"] 20-Sep-2024 16:28:07.375 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 20-Sep-2024 16:28:07.381 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 20-Sep-2024 16:28:07.382 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Sep-2024 16:28:07.383 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 20-Sep-2024 16:28:07.414 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-45489"] 20-Sep-2024 16:28:07.464 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2abf4075] to web application [weaving]. 20-Sep-2024 16:28:07.464 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@770d3326] to web application [weaving]. 20-Sep-2024 16:28:07.465 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@770d3326] from web application [weaving]. 20-Sep-2024 16:28:07.468 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-45489"] 20-Sep-2024 16:28:07.473 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Sep-2024 16:28:07.473 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-45489"] 20-Sep-2024 16:28:07.478 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-45489"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.786 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.067 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.118 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.19 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.134 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.144 sec Testcase: testAddingNullTransformerThrowsException took 0.109 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.031 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.067 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.106 sec