Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.8 sec ------------- Standard Error ----------------- 28-Nov-2024 11:29:39.825 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 28-Nov-2024 11:29:40.695 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 28-Nov-2024 11:29:40.795 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Nov-2024 11:29:40.799 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 28-Nov-2024 11:29:40.958 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-32959"] 28-Nov-2024 11:29:40.996 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-32959"] 28-Nov-2024 11:29:41.011 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Nov-2024 11:29:41.013 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-32959"] 28-Nov-2024 11:29:41.017 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-32959"] 28-Nov-2024 11:29:41.027 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 28-Nov-2024 11:29:41.034 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 28-Nov-2024 11:29:41.038 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Nov-2024 11:29:41.038 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 28-Nov-2024 11:29:41.043 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-39663"] 28-Nov-2024 11:29:41.070 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3af9c5b7] to web application [weaving]. 28-Nov-2024 11:29:41.073 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-39663"] 28-Nov-2024 11:29:41.075 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Nov-2024 11:29:41.075 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-39663"] 28-Nov-2024 11:29:41.076 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-39663"] 28-Nov-2024 11:29:41.080 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 28-Nov-2024 11:29:41.083 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 28-Nov-2024 11:29:41.116 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Nov-2024 11:29:41.117 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 28-Nov-2024 11:29:41.123 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-42169"] 28-Nov-2024 11:29:41.147 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@10d68fcd] to web application [weaving]. 28-Nov-2024 11:29:41.153 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-42169"] 28-Nov-2024 11:29:41.157 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Nov-2024 11:29:41.158 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-42169"] 28-Nov-2024 11:29:41.158 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-42169"] 28-Nov-2024 11:29:41.165 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 28-Nov-2024 11:29:41.167 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 28-Nov-2024 11:29:41.177 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Nov-2024 11:29:41.177 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 28-Nov-2024 11:29:41.185 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-46749"] 28-Nov-2024 11:29:41.190 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@a1cdc6d] to web application [weaving]. 28-Nov-2024 11:29:41.190 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@175b9425] to web application [weaving]. 28-Nov-2024 11:29:41.196 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-46749"] 28-Nov-2024 11:29:41.197 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Nov-2024 11:29:41.197 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-46749"] 28-Nov-2024 11:29:41.198 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-46749"] 28-Nov-2024 11:29:41.202 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 28-Nov-2024 11:29:41.204 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 28-Nov-2024 11:29:41.222 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Nov-2024 11:29:41.223 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 28-Nov-2024 11:29:41.232 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-41543"] 28-Nov-2024 11:29:41.233 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@740773a3] to web application [weaving]. 28-Nov-2024 11:29:41.233 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@37f1104d] to web application [weaving]. 28-Nov-2024 11:29:41.236 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-41543"] 28-Nov-2024 11:29:41.239 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Nov-2024 11:29:41.240 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-41543"] 28-Nov-2024 11:29:41.241 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-41543"] 28-Nov-2024 11:29:41.244 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 28-Nov-2024 11:29:41.247 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 28-Nov-2024 11:29:41.253 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Nov-2024 11:29:41.253 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 28-Nov-2024 11:29:41.266 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-39671"] 28-Nov-2024 11:29:41.267 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@343570b7] to web application [weaving]. 28-Nov-2024 11:29:41.267 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@157853da] to web application [weaving]. 28-Nov-2024 11:29:41.271 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-39671"] 28-Nov-2024 11:29:41.271 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Nov-2024 11:29:41.272 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-39671"] 28-Nov-2024 11:29:41.273 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-39671"] 28-Nov-2024 11:29:41.276 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 28-Nov-2024 11:29:41.278 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 28-Nov-2024 11:29:41.289 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Nov-2024 11:29:41.290 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 28-Nov-2024 11:29:41.294 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-40075"] 28-Nov-2024 11:29:41.297 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-40075"] 28-Nov-2024 11:29:41.300 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Nov-2024 11:29:41.300 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-40075"] 28-Nov-2024 11:29:41.301 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-40075"] 28-Nov-2024 11:29:41.304 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 28-Nov-2024 11:29:41.305 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 28-Nov-2024 11:29:41.311 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Nov-2024 11:29:41.311 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 28-Nov-2024 11:29:41.318 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36011"] 28-Nov-2024 11:29:41.318 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4e268090] to web application [weaving]. 28-Nov-2024 11:29:41.319 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4e268090] from web application [weaving]. 28-Nov-2024 11:29:41.322 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36011"] 28-Nov-2024 11:29:41.325 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Nov-2024 11:29:41.326 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36011"] 28-Nov-2024 11:29:41.326 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36011"] 28-Nov-2024 11:29:41.329 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 28-Nov-2024 11:29:41.330 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 28-Nov-2024 11:29:41.332 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Nov-2024 11:29:41.332 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 28-Nov-2024 11:29:41.336 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-32835"] 28-Nov-2024 11:29:41.336 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@366647c2] to web application [weaving]. 28-Nov-2024 11:29:41.336 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6a6afff2] to web application [weaving]. 28-Nov-2024 11:29:41.336 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6a6afff2] from web application [weaving]. 28-Nov-2024 11:29:41.340 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-32835"] 28-Nov-2024 11:29:41.348 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Nov-2024 11:29:41.348 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-32835"] 28-Nov-2024 11:29:41.348 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-32835"] 28-Nov-2024 11:29:41.351 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 28-Nov-2024 11:29:41.352 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 28-Nov-2024 11:29:41.355 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Nov-2024 11:29:41.355 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 28-Nov-2024 11:29:41.360 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-43613"] 28-Nov-2024 11:29:41.361 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2e222612] to web application [weaving]. 28-Nov-2024 11:29:41.361 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@61386958] to web application [weaving]. 28-Nov-2024 11:29:41.361 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@61386958] from web application [weaving]. 28-Nov-2024 11:29:41.365 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-43613"] 28-Nov-2024 11:29:41.368 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Nov-2024 11:29:41.369 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-43613"] 28-Nov-2024 11:29:41.375 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-43613"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.317 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.052 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.085 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.037 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.041 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.032 sec Testcase: testAddingNullTransformerThrowsException took 0.029 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.024 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.021 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.027 sec