Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.728 sec ------------- Standard Error ----------------- 07-Nov-2023 16:59:45.091 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 07-Nov-2023 16:59:45.907 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 07-Nov-2023 16:59:45.978 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Nov-2023 16:59:45.978 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 07-Nov-2023 16:59:46.102 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37379"] 07-Nov-2023 16:59:46.123 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37379"] 07-Nov-2023 16:59:46.132 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Nov-2023 16:59:46.133 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37379"] 07-Nov-2023 16:59:46.135 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37379"] 07-Nov-2023 16:59:46.150 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 07-Nov-2023 16:59:46.154 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 07-Nov-2023 16:59:46.159 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Nov-2023 16:59:46.159 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 07-Nov-2023 16:59:46.164 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40837"] 07-Nov-2023 16:59:46.165 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@29e495ff] to web application [weaving]. 07-Nov-2023 16:59:46.169 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40837"] 07-Nov-2023 16:59:46.171 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Nov-2023 16:59:46.171 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40837"] 07-Nov-2023 16:59:46.174 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40837"] 07-Nov-2023 16:59:46.178 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 07-Nov-2023 16:59:46.187 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 07-Nov-2023 16:59:46.196 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Nov-2023 16:59:46.196 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 07-Nov-2023 16:59:46.201 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-43627"] 07-Nov-2023 16:59:46.202 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1613674b] to web application [weaving]. 07-Nov-2023 16:59:46.216 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-43627"] 07-Nov-2023 16:59:46.218 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Nov-2023 16:59:46.218 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-43627"] 07-Nov-2023 16:59:46.219 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-43627"] 07-Nov-2023 16:59:46.222 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 07-Nov-2023 16:59:46.223 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 07-Nov-2023 16:59:46.225 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Nov-2023 16:59:46.225 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 07-Nov-2023 16:59:46.244 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-35475"] 07-Nov-2023 16:59:46.252 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@48974e45] to web application [weaving]. 07-Nov-2023 16:59:46.252 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6a84a97d] to web application [weaving]. 07-Nov-2023 16:59:46.255 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-35475"] 07-Nov-2023 16:59:46.256 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Nov-2023 16:59:46.256 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-35475"] 07-Nov-2023 16:59:46.257 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-35475"] 07-Nov-2023 16:59:46.259 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 07-Nov-2023 16:59:46.261 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 07-Nov-2023 16:59:46.264 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Nov-2023 16:59:46.264 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 07-Nov-2023 16:59:46.271 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33803"] 07-Nov-2023 16:59:46.273 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7ea9e1e2] to web application [weaving]. 07-Nov-2023 16:59:46.273 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@24fcf36f] to web application [weaving]. 07-Nov-2023 16:59:46.275 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33803"] 07-Nov-2023 16:59:46.276 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Nov-2023 16:59:46.277 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33803"] 07-Nov-2023 16:59:46.277 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33803"] 07-Nov-2023 16:59:46.282 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 07-Nov-2023 16:59:46.286 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 07-Nov-2023 16:59:46.297 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Nov-2023 16:59:46.297 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 07-Nov-2023 16:59:46.310 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-43415"] 07-Nov-2023 16:59:46.310 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4a7f959b] to web application [weaving]. 07-Nov-2023 16:59:46.311 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@429bffaa] to web application [weaving]. 07-Nov-2023 16:59:46.316 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-43415"] 07-Nov-2023 16:59:46.318 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Nov-2023 16:59:46.319 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-43415"] 07-Nov-2023 16:59:46.320 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-43415"] 07-Nov-2023 16:59:46.323 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 07-Nov-2023 16:59:46.324 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 07-Nov-2023 16:59:46.338 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Nov-2023 16:59:46.338 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 07-Nov-2023 16:59:46.355 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-44163"] 07-Nov-2023 16:59:46.360 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-44163"] 07-Nov-2023 16:59:46.361 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Nov-2023 16:59:46.361 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-44163"] 07-Nov-2023 16:59:46.362 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-44163"] 07-Nov-2023 16:59:46.365 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 07-Nov-2023 16:59:46.366 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 07-Nov-2023 16:59:46.382 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Nov-2023 16:59:46.382 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 07-Nov-2023 16:59:46.393 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41681"] 07-Nov-2023 16:59:46.396 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@56cdfb3b] to web application [weaving]. 07-Nov-2023 16:59:46.399 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@56cdfb3b] from web application [weaving]. 07-Nov-2023 16:59:46.406 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41681"] 07-Nov-2023 16:59:46.406 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Nov-2023 16:59:46.410 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41681"] 07-Nov-2023 16:59:46.411 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41681"] 07-Nov-2023 16:59:46.414 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 07-Nov-2023 16:59:46.417 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 07-Nov-2023 16:59:46.455 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Nov-2023 16:59:46.456 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 07-Nov-2023 16:59:46.459 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-37227"] 07-Nov-2023 16:59:46.460 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@614ca7df] to web application [weaving]. 07-Nov-2023 16:59:46.460 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4738a206] to web application [weaving]. 07-Nov-2023 16:59:46.460 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4738a206] from web application [weaving]. 07-Nov-2023 16:59:46.463 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-37227"] 07-Nov-2023 16:59:46.464 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Nov-2023 16:59:46.464 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-37227"] 07-Nov-2023 16:59:46.465 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-37227"] 07-Nov-2023 16:59:46.475 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 07-Nov-2023 16:59:46.477 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 07-Nov-2023 16:59:46.492 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Nov-2023 16:59:46.493 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 07-Nov-2023 16:59:46.498 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-45323"] 07-Nov-2023 16:59:46.503 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@52af26ee] to web application [weaving]. 07-Nov-2023 16:59:46.503 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6fd83fc1] to web application [weaving]. 07-Nov-2023 16:59:46.504 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6fd83fc1] from web application [weaving]. 07-Nov-2023 16:59:46.506 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-45323"] 07-Nov-2023 16:59:46.507 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Nov-2023 16:59:46.507 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-45323"] 07-Nov-2023 16:59:46.508 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-45323"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.151 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.028 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.044 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.037 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.023 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.04 sec Testcase: testAddingNullTransformerThrowsException took 0.042 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.05 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.061 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.041 sec