Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.944 sec ------------- Standard Error ----------------- 12-Sep-2024 15:13:10.781 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 12-Sep-2024 15:13:12.199 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 12-Sep-2024 15:13:12.285 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Sep-2024 15:13:12.285 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.30-dev] 12-Sep-2024 15:13:12.556 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-34253"] 12-Sep-2024 15:13:12.678 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-34253"] 12-Sep-2024 15:13:12.696 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Sep-2024 15:13:12.697 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-34253"] 12-Sep-2024 15:13:12.702 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-34253"] 12-Sep-2024 15:13:12.708 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 12-Sep-2024 15:13:12.710 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 12-Sep-2024 15:13:12.711 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Sep-2024 15:13:12.711 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.30-dev] 12-Sep-2024 15:13:12.752 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-46479"] 12-Sep-2024 15:13:12.797 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5c671d7f] to web application [weaving]. 12-Sep-2024 15:13:12.802 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-46479"] 12-Sep-2024 15:13:12.802 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Sep-2024 15:13:12.802 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-46479"] 12-Sep-2024 15:13:12.803 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-46479"] 12-Sep-2024 15:13:12.805 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 12-Sep-2024 15:13:12.807 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 12-Sep-2024 15:13:12.818 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Sep-2024 15:13:12.818 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.30-dev] 12-Sep-2024 15:13:12.826 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-38839"] 12-Sep-2024 15:13:12.944 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@38e79ae3] to web application [weaving]. 12-Sep-2024 15:13:12.948 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-38839"] 12-Sep-2024 15:13:12.948 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Sep-2024 15:13:12.949 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-38839"] 12-Sep-2024 15:13:12.952 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-38839"] 12-Sep-2024 15:13:12.954 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 12-Sep-2024 15:13:12.956 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 12-Sep-2024 15:13:12.957 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Sep-2024 15:13:12.958 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.30-dev] 12-Sep-2024 15:13:12.962 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-37009"] 12-Sep-2024 15:13:12.988 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@683dbc2c] to web application [weaving]. 12-Sep-2024 15:13:12.989 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@68267da0] to web application [weaving]. 12-Sep-2024 15:13:13.007 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-37009"] 12-Sep-2024 15:13:13.007 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Sep-2024 15:13:13.007 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-37009"] 12-Sep-2024 15:13:13.016 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-37009"] 12-Sep-2024 15:13:13.018 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 12-Sep-2024 15:13:13.020 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 12-Sep-2024 15:13:13.021 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Sep-2024 15:13:13.022 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.30-dev] 12-Sep-2024 15:13:13.031 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-35393"] 12-Sep-2024 15:13:13.099 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@fa36558] to web application [weaving]. 12-Sep-2024 15:13:13.099 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@672872e1] to web application [weaving]. 12-Sep-2024 15:13:13.102 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-35393"] 12-Sep-2024 15:13:13.105 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Sep-2024 15:13:13.106 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-35393"] 12-Sep-2024 15:13:13.109 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-35393"] 12-Sep-2024 15:13:13.111 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 12-Sep-2024 15:13:13.115 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 12-Sep-2024 15:13:13.117 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Sep-2024 15:13:13.117 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.30-dev] 12-Sep-2024 15:13:13.124 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-39347"] 12-Sep-2024 15:13:13.138 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@50caa560] to web application [weaving]. 12-Sep-2024 15:13:13.138 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2a266d09] to web application [weaving]. 12-Sep-2024 15:13:13.145 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-39347"] 12-Sep-2024 15:13:13.148 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Sep-2024 15:13:13.148 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-39347"] 12-Sep-2024 15:13:13.159 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-39347"] 12-Sep-2024 15:13:13.161 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 12-Sep-2024 15:13:13.162 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 12-Sep-2024 15:13:13.163 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Sep-2024 15:13:13.164 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.30-dev] 12-Sep-2024 15:13:13.168 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-37503"] 12-Sep-2024 15:13:13.183 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-37503"] 12-Sep-2024 15:13:13.183 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Sep-2024 15:13:13.183 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-37503"] 12-Sep-2024 15:13:13.190 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-37503"] 12-Sep-2024 15:13:13.192 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 12-Sep-2024 15:13:13.193 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 12-Sep-2024 15:13:13.194 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Sep-2024 15:13:13.194 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.30-dev] 12-Sep-2024 15:13:13.207 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-38713"] 12-Sep-2024 15:13:13.226 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@f381794] to web application [weaving]. 12-Sep-2024 15:13:13.226 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@f381794] from web application [weaving]. 12-Sep-2024 15:13:13.230 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-38713"] 12-Sep-2024 15:13:13.232 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Sep-2024 15:13:13.233 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-38713"] 12-Sep-2024 15:13:13.239 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-38713"] 12-Sep-2024 15:13:13.241 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 12-Sep-2024 15:13:13.242 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 12-Sep-2024 15:13:13.243 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Sep-2024 15:13:13.243 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.30-dev] 12-Sep-2024 15:13:13.249 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-45671"] 12-Sep-2024 15:13:13.291 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3541cb24] to web application [weaving]. 12-Sep-2024 15:13:13.291 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2177849e] to web application [weaving]. 12-Sep-2024 15:13:13.291 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2177849e] from web application [weaving]. 12-Sep-2024 15:13:13.297 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-45671"] 12-Sep-2024 15:13:13.297 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Sep-2024 15:13:13.298 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-45671"] 12-Sep-2024 15:13:13.300 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-45671"] 12-Sep-2024 15:13:13.301 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 12-Sep-2024 15:13:13.303 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 12-Sep-2024 15:13:13.304 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Sep-2024 15:13:13.304 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.30-dev] 12-Sep-2024 15:13:13.325 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-34963"] 12-Sep-2024 15:13:13.356 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2abf4075] to web application [weaving]. 12-Sep-2024 15:13:13.356 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@770d3326] to web application [weaving]. 12-Sep-2024 15:13:13.356 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@770d3326] from web application [weaving]. 12-Sep-2024 15:13:13.359 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-34963"] 12-Sep-2024 15:13:13.362 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Sep-2024 15:13:13.363 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-34963"] 12-Sep-2024 15:13:13.366 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-34963"] ------------- ---------------- --------------- Testcase: testNoWeaving took 2.124 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.096 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.148 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.064 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.092 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.051 sec Testcase: testAddingNullTransformerThrowsException took 0.03 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.048 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.061 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.066 sec