Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.721 sec ------------- Standard Error ----------------- 24-May-2024 14:36:33.189 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 24-May-2024 14:36:34.139 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 24-May-2024 14:36:34.322 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-May-2024 14:36:34.324 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.25-dev] 24-May-2024 14:36:34.661 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-41651"] 24-May-2024 14:36:34.694 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-41651"] 24-May-2024 14:36:34.729 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-May-2024 14:36:34.730 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-41651"] 24-May-2024 14:36:34.737 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-41651"] 24-May-2024 14:36:34.748 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 24-May-2024 14:36:34.763 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 24-May-2024 14:36:34.875 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-May-2024 14:36:34.875 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.25-dev] 24-May-2024 14:36:34.890 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-38063"] 24-May-2024 14:36:34.892 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2f8dad04] to web application [weaving]. 24-May-2024 14:36:34.896 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-38063"] 24-May-2024 14:36:34.899 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-May-2024 14:36:34.900 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-38063"] 24-May-2024 14:36:34.900 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-38063"] 24-May-2024 14:36:34.906 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 24-May-2024 14:36:34.927 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 24-May-2024 14:36:35.022 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-May-2024 14:36:35.023 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.25-dev] 24-May-2024 14:36:35.031 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44651"] 24-May-2024 14:36:35.034 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1613674b] to web application [weaving]. 24-May-2024 14:36:35.038 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44651"] 24-May-2024 14:36:35.039 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-May-2024 14:36:35.039 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44651"] 24-May-2024 14:36:35.040 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44651"] 24-May-2024 14:36:35.045 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 24-May-2024 14:36:35.050 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 24-May-2024 14:36:35.070 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-May-2024 14:36:35.070 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.25-dev] 24-May-2024 14:36:35.091 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-40961"] 24-May-2024 14:36:35.096 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@48974e45] to web application [weaving]. 24-May-2024 14:36:35.097 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6a84a97d] to web application [weaving]. 24-May-2024 14:36:35.102 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-40961"] 24-May-2024 14:36:35.105 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-May-2024 14:36:35.106 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-40961"] 24-May-2024 14:36:35.109 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-40961"] 24-May-2024 14:36:35.115 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 24-May-2024 14:36:35.117 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 24-May-2024 14:36:35.127 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-May-2024 14:36:35.127 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.25-dev] 24-May-2024 14:36:35.136 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38991"] 24-May-2024 14:36:35.136 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7ea9e1e2] to web application [weaving]. 24-May-2024 14:36:35.137 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@24fcf36f] to web application [weaving]. 24-May-2024 14:36:35.143 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38991"] 24-May-2024 14:36:35.151 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-May-2024 14:36:35.151 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38991"] 24-May-2024 14:36:35.152 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38991"] 24-May-2024 14:36:35.164 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 24-May-2024 14:36:35.168 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 24-May-2024 14:36:35.173 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-May-2024 14:36:35.173 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.25-dev] 24-May-2024 14:36:35.177 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-41801"] 24-May-2024 14:36:35.178 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@429bffaa] to web application [weaving]. 24-May-2024 14:36:35.178 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5403f35f] to web application [weaving]. 24-May-2024 14:36:35.182 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-41801"] 24-May-2024 14:36:35.183 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-May-2024 14:36:35.183 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-41801"] 24-May-2024 14:36:35.184 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-41801"] 24-May-2024 14:36:35.187 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 24-May-2024 14:36:35.189 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 24-May-2024 14:36:35.218 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-May-2024 14:36:35.218 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.25-dev] 24-May-2024 14:36:35.230 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-39309"] 24-May-2024 14:36:35.240 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-39309"] 24-May-2024 14:36:35.241 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-May-2024 14:36:35.241 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-39309"] 24-May-2024 14:36:35.242 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-39309"] 24-May-2024 14:36:35.245 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 24-May-2024 14:36:35.247 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 24-May-2024 14:36:35.261 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-May-2024 14:36:35.261 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.25-dev] 24-May-2024 14:36:35.279 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33289"] 24-May-2024 14:36:35.279 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@56cdfb3b] to web application [weaving]. 24-May-2024 14:36:35.279 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@56cdfb3b] from web application [weaving]. 24-May-2024 14:36:35.282 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33289"] 24-May-2024 14:36:35.283 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-May-2024 14:36:35.284 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33289"] 24-May-2024 14:36:35.284 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33289"] 24-May-2024 14:36:35.294 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 24-May-2024 14:36:35.296 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 24-May-2024 14:36:35.349 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-May-2024 14:36:35.349 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.25-dev] 24-May-2024 14:36:35.374 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36555"] 24-May-2024 14:36:35.378 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@614ca7df] to web application [weaving]. 24-May-2024 14:36:35.378 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4738a206] to web application [weaving]. 24-May-2024 14:36:35.378 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4738a206] from web application [weaving]. 24-May-2024 14:36:35.381 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36555"] 24-May-2024 14:36:35.383 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-May-2024 14:36:35.384 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36555"] 24-May-2024 14:36:35.385 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36555"] 24-May-2024 14:36:35.389 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 24-May-2024 14:36:35.392 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 24-May-2024 14:36:35.397 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-May-2024 14:36:35.397 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.25-dev] 24-May-2024 14:36:35.401 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-39085"] 24-May-2024 14:36:35.403 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@52af26ee] to web application [weaving]. 24-May-2024 14:36:35.403 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6fd83fc1] to web application [weaving]. 24-May-2024 14:36:35.404 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6fd83fc1] from web application [weaving]. 24-May-2024 14:36:35.406 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-39085"] 24-May-2024 14:36:35.410 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-May-2024 14:36:35.410 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-39085"] 24-May-2024 14:36:35.411 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-39085"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.681 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.158 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.138 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.072 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.046 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.026 sec Testcase: testAddingNullTransformerThrowsException took 0.058 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.049 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.094 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.026 sec