Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.469 sec ------------- Standard Error ----------------- 26-Sep-2024 13:10:35.686 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 26-Sep-2024 13:10:36.934 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 26-Sep-2024 13:10:37.014 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Sep-2024 13:10:37.015 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 26-Sep-2024 13:10:37.346 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-34295"] 26-Sep-2024 13:10:37.566 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-34295"] 26-Sep-2024 13:10:37.577 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Sep-2024 13:10:37.592 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-34295"] 26-Sep-2024 13:10:37.600 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-34295"] 26-Sep-2024 13:10:37.607 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 26-Sep-2024 13:10:37.628 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 26-Sep-2024 13:10:37.628 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Sep-2024 13:10:37.629 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 26-Sep-2024 13:10:37.648 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-44349"] 26-Sep-2024 13:10:37.691 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5c671d7f] to web application [weaving]. 26-Sep-2024 13:10:37.709 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-44349"] 26-Sep-2024 13:10:37.711 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Sep-2024 13:10:37.711 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-44349"] 26-Sep-2024 13:10:37.716 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-44349"] 26-Sep-2024 13:10:37.717 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 26-Sep-2024 13:10:37.719 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 26-Sep-2024 13:10:37.720 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Sep-2024 13:10:37.720 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 26-Sep-2024 13:10:37.737 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-35747"] 26-Sep-2024 13:10:37.839 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@38e79ae3] to web application [weaving]. 26-Sep-2024 13:10:37.850 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-35747"] 26-Sep-2024 13:10:37.850 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Sep-2024 13:10:37.851 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-35747"] 26-Sep-2024 13:10:37.858 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-35747"] 26-Sep-2024 13:10:37.864 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 26-Sep-2024 13:10:37.867 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 26-Sep-2024 13:10:37.873 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Sep-2024 13:10:37.873 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 26-Sep-2024 13:10:37.896 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-43745"] 26-Sep-2024 13:10:37.998 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@683dbc2c] to web application [weaving]. 26-Sep-2024 13:10:37.998 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@68267da0] to web application [weaving]. 26-Sep-2024 13:10:38.005 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-43745"] 26-Sep-2024 13:10:38.006 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Sep-2024 13:10:38.006 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-43745"] 26-Sep-2024 13:10:38.010 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-43745"] 26-Sep-2024 13:10:38.014 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 26-Sep-2024 13:10:38.019 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 26-Sep-2024 13:10:38.019 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Sep-2024 13:10:38.020 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 26-Sep-2024 13:10:38.039 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-40121"] 26-Sep-2024 13:10:38.077 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@fa36558] to web application [weaving]. 26-Sep-2024 13:10:38.077 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@672872e1] to web application [weaving]. 26-Sep-2024 13:10:38.090 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-40121"] 26-Sep-2024 13:10:38.093 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Sep-2024 13:10:38.093 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-40121"] 26-Sep-2024 13:10:38.101 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-40121"] 26-Sep-2024 13:10:38.103 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 26-Sep-2024 13:10:38.104 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 26-Sep-2024 13:10:38.105 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Sep-2024 13:10:38.105 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 26-Sep-2024 13:10:38.132 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-32925"] 26-Sep-2024 13:10:38.248 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@50caa560] to web application [weaving]. 26-Sep-2024 13:10:38.249 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2a266d09] to web application [weaving]. 26-Sep-2024 13:10:38.253 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-32925"] 26-Sep-2024 13:10:38.253 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Sep-2024 13:10:38.253 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-32925"] 26-Sep-2024 13:10:38.255 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-32925"] 26-Sep-2024 13:10:38.256 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 26-Sep-2024 13:10:38.258 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 26-Sep-2024 13:10:38.258 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Sep-2024 13:10:38.258 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 26-Sep-2024 13:10:38.278 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-42387"] 26-Sep-2024 13:10:38.389 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-42387"] 26-Sep-2024 13:10:38.389 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Sep-2024 13:10:38.391 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-42387"] 26-Sep-2024 13:10:38.393 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-42387"] 26-Sep-2024 13:10:38.394 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 26-Sep-2024 13:10:38.396 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 26-Sep-2024 13:10:38.396 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Sep-2024 13:10:38.396 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 26-Sep-2024 13:10:38.410 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-42457"] 26-Sep-2024 13:10:38.548 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@f381794] to web application [weaving]. 26-Sep-2024 13:10:38.549 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@f381794] from web application [weaving]. 26-Sep-2024 13:10:38.553 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-42457"] 26-Sep-2024 13:10:38.553 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Sep-2024 13:10:38.553 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-42457"] 26-Sep-2024 13:10:38.559 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-42457"] 26-Sep-2024 13:10:38.562 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 26-Sep-2024 13:10:38.565 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 26-Sep-2024 13:10:38.567 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Sep-2024 13:10:38.577 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 26-Sep-2024 13:10:38.594 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-46213"] 26-Sep-2024 13:10:38.635 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3541cb24] to web application [weaving]. 26-Sep-2024 13:10:38.636 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2177849e] to web application [weaving]. 26-Sep-2024 13:10:38.636 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2177849e] from web application [weaving]. 26-Sep-2024 13:10:38.639 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-46213"] 26-Sep-2024 13:10:38.639 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Sep-2024 13:10:38.640 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-46213"] 26-Sep-2024 13:10:38.646 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-46213"] 26-Sep-2024 13:10:38.647 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 26-Sep-2024 13:10:38.648 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 26-Sep-2024 13:10:38.649 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Sep-2024 13:10:38.649 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 26-Sep-2024 13:10:38.680 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-44105"] 26-Sep-2024 13:10:38.803 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2abf4075] to web application [weaving]. 26-Sep-2024 13:10:38.804 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@770d3326] to web application [weaving]. 26-Sep-2024 13:10:38.804 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@770d3326] from web application [weaving]. 26-Sep-2024 13:10:38.809 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-44105"] 26-Sep-2024 13:10:38.810 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Sep-2024 13:10:38.811 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-44105"] 26-Sep-2024 13:10:38.814 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-44105"] ------------- ---------------- --------------- Testcase: testNoWeaving took 2.111 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.111 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.146 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.147 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.088 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.154 sec Testcase: testAddingNullTransformerThrowsException took 0.138 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.167 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.086 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.17 sec