Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.548 sec ------------- Standard Error ----------------- 18-Nov-2024 15:13:10.094 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 18-Nov-2024 15:13:11.128 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 18-Nov-2024 15:13:11.265 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Nov-2024 15:13:11.268 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 18-Nov-2024 15:13:11.450 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-44995"] 18-Nov-2024 15:13:11.495 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-44995"] 18-Nov-2024 15:13:11.511 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Nov-2024 15:13:11.514 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-44995"] 18-Nov-2024 15:13:11.516 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-44995"] 18-Nov-2024 15:13:11.529 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 18-Nov-2024 15:13:11.531 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 18-Nov-2024 15:13:11.553 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Nov-2024 15:13:11.554 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 18-Nov-2024 15:13:11.594 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42665"] 18-Nov-2024 15:13:11.597 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3af9c5b7] to web application [weaving]. 18-Nov-2024 15:13:11.601 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42665"] 18-Nov-2024 15:13:11.602 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Nov-2024 15:13:11.603 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42665"] 18-Nov-2024 15:13:11.608 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42665"] 18-Nov-2024 15:13:11.611 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 18-Nov-2024 15:13:11.613 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 18-Nov-2024 15:13:11.631 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Nov-2024 15:13:11.631 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 18-Nov-2024 15:13:11.639 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-38205"] 18-Nov-2024 15:13:11.645 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@10d68fcd] to web application [weaving]. 18-Nov-2024 15:13:11.649 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-38205"] 18-Nov-2024 15:13:11.652 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Nov-2024 15:13:11.653 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-38205"] 18-Nov-2024 15:13:11.653 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-38205"] 18-Nov-2024 15:13:11.657 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 18-Nov-2024 15:13:11.687 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 18-Nov-2024 15:13:11.779 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Nov-2024 15:13:11.779 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 18-Nov-2024 15:13:11.797 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-35575"] 18-Nov-2024 15:13:11.803 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@a1cdc6d] to web application [weaving]. 18-Nov-2024 15:13:11.806 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@175b9425] to web application [weaving]. 18-Nov-2024 15:13:11.814 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-35575"] 18-Nov-2024 15:13:11.815 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Nov-2024 15:13:11.816 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-35575"] 18-Nov-2024 15:13:11.816 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-35575"] 18-Nov-2024 15:13:11.823 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 18-Nov-2024 15:13:11.825 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 18-Nov-2024 15:13:11.873 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Nov-2024 15:13:11.873 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 18-Nov-2024 15:13:11.907 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-41435"] 18-Nov-2024 15:13:11.916 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@740773a3] to web application [weaving]. 18-Nov-2024 15:13:11.916 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@37f1104d] to web application [weaving]. 18-Nov-2024 15:13:11.927 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-41435"] 18-Nov-2024 15:13:11.931 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Nov-2024 15:13:11.932 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-41435"] 18-Nov-2024 15:13:11.933 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-41435"] 18-Nov-2024 15:13:11.942 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 18-Nov-2024 15:13:11.946 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 18-Nov-2024 15:13:11.956 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Nov-2024 15:13:11.956 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 18-Nov-2024 15:13:11.991 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-32861"] 18-Nov-2024 15:13:12.001 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@343570b7] to web application [weaving]. 18-Nov-2024 15:13:12.001 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@157853da] to web application [weaving]. 18-Nov-2024 15:13:12.005 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-32861"] 18-Nov-2024 15:13:12.006 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Nov-2024 15:13:12.007 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-32861"] 18-Nov-2024 15:13:12.008 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-32861"] 18-Nov-2024 15:13:12.011 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 18-Nov-2024 15:13:12.012 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 18-Nov-2024 15:13:12.037 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Nov-2024 15:13:12.037 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 18-Nov-2024 15:13:12.046 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-38325"] 18-Nov-2024 15:13:12.052 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-38325"] 18-Nov-2024 15:13:12.056 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Nov-2024 15:13:12.056 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-38325"] 18-Nov-2024 15:13:12.058 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-38325"] 18-Nov-2024 15:13:12.062 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 18-Nov-2024 15:13:12.068 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 18-Nov-2024 15:13:12.090 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Nov-2024 15:13:12.090 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 18-Nov-2024 15:13:12.151 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-39373"] 18-Nov-2024 15:13:12.152 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4e268090] to web application [weaving]. 18-Nov-2024 15:13:12.152 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4e268090] from web application [weaving]. 18-Nov-2024 15:13:12.155 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-39373"] 18-Nov-2024 15:13:12.158 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Nov-2024 15:13:12.158 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-39373"] 18-Nov-2024 15:13:12.161 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-39373"] 18-Nov-2024 15:13:12.163 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 18-Nov-2024 15:13:12.173 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 18-Nov-2024 15:13:12.259 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Nov-2024 15:13:12.259 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 18-Nov-2024 15:13:12.265 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44805"] 18-Nov-2024 15:13:12.275 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6a6afff2] to web application [weaving]. 18-Nov-2024 15:13:12.275 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1649b0e6] to web application [weaving]. 18-Nov-2024 15:13:12.276 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1649b0e6] from web application [weaving]. 18-Nov-2024 15:13:12.279 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44805"] 18-Nov-2024 15:13:12.280 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Nov-2024 15:13:12.281 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44805"] 18-Nov-2024 15:13:12.281 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44805"] 18-Nov-2024 15:13:12.284 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 18-Nov-2024 15:13:12.286 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 18-Nov-2024 15:13:12.322 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Nov-2024 15:13:12.322 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 18-Nov-2024 15:13:12.326 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-46431"] 18-Nov-2024 15:13:12.327 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@73ee04c8] to web application [weaving]. 18-Nov-2024 15:13:12.327 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7671cb68] to web application [weaving]. 18-Nov-2024 15:13:12.327 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7671cb68] from web application [weaving]. 18-Nov-2024 15:13:12.330 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-46431"] 18-Nov-2024 15:13:12.333 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Nov-2024 15:13:12.334 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-46431"] 18-Nov-2024 15:13:12.335 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-46431"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.621 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.082 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.046 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.164 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.119 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.069 sec Testcase: testAddingNullTransformerThrowsException took 0.05 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.101 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.121 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.056 sec