Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.342 sec ------------- Standard Error ----------------- 06-Sep-2024 10:32:41.050 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 06-Sep-2024 10:32:42.426 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 06-Sep-2024 10:32:42.554 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 10:32:42.558 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 10:32:42.838 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-41701"] 06-Sep-2024 10:32:42.916 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-41701"] 06-Sep-2024 10:32:42.924 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 10:32:42.935 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-41701"] 06-Sep-2024 10:32:42.938 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-41701"] 06-Sep-2024 10:32:42.945 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 06-Sep-2024 10:32:42.955 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 06-Sep-2024 10:32:43.084 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 10:32:43.084 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 10:32:43.095 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41309"] 06-Sep-2024 10:32:43.118 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@757277dc] to web application [weaving]. 06-Sep-2024 10:32:43.122 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41309"] 06-Sep-2024 10:32:43.123 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 10:32:43.123 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41309"] 06-Sep-2024 10:32:43.124 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41309"] 06-Sep-2024 10:32:43.129 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 06-Sep-2024 10:32:43.131 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 06-Sep-2024 10:32:43.240 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 10:32:43.241 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 10:32:43.255 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-37671"] 06-Sep-2024 10:32:43.256 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@63070bab] to web application [weaving]. 06-Sep-2024 10:32:43.262 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-37671"] 06-Sep-2024 10:32:43.263 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 10:32:43.264 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-37671"] 06-Sep-2024 10:32:43.266 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-37671"] 06-Sep-2024 10:32:43.275 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 06-Sep-2024 10:32:43.280 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 06-Sep-2024 10:32:43.394 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 10:32:43.395 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 10:32:43.420 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-40067"] 06-Sep-2024 10:32:43.430 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2638011] to web application [weaving]. 06-Sep-2024 10:32:43.430 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6ff29830] to web application [weaving]. 06-Sep-2024 10:32:43.448 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-40067"] 06-Sep-2024 10:32:43.452 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 10:32:43.453 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-40067"] 06-Sep-2024 10:32:43.454 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-40067"] 06-Sep-2024 10:32:43.462 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 06-Sep-2024 10:32:43.468 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 06-Sep-2024 10:32:43.547 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 10:32:43.548 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 10:32:43.574 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-35907"] 06-Sep-2024 10:32:43.598 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@fd07cbb] to web application [weaving]. 06-Sep-2024 10:32:43.599 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3571b748] to web application [weaving]. 06-Sep-2024 10:32:43.606 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-35907"] 06-Sep-2024 10:32:43.607 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 10:32:43.608 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-35907"] 06-Sep-2024 10:32:43.608 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-35907"] 06-Sep-2024 10:32:43.615 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 06-Sep-2024 10:32:43.616 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 06-Sep-2024 10:32:43.742 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 10:32:43.742 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 10:32:43.755 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-35431"] 06-Sep-2024 10:32:43.759 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@11c9af63] to web application [weaving]. 06-Sep-2024 10:32:43.759 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@757acd7b] to web application [weaving]. 06-Sep-2024 10:32:43.765 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-35431"] 06-Sep-2024 10:32:43.767 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 10:32:43.768 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-35431"] 06-Sep-2024 10:32:43.769 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-35431"] 06-Sep-2024 10:32:43.773 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 06-Sep-2024 10:32:43.777 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 06-Sep-2024 10:32:43.835 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 10:32:43.835 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 10:32:43.861 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-43129"] 06-Sep-2024 10:32:43.891 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-43129"] 06-Sep-2024 10:32:43.892 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 10:32:43.892 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-43129"] 06-Sep-2024 10:32:43.893 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-43129"] 06-Sep-2024 10:32:43.897 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 06-Sep-2024 10:32:43.898 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 06-Sep-2024 10:32:43.901 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 10:32:43.901 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 10:32:43.926 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-42639"] 06-Sep-2024 10:32:43.930 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@524d6d96] to web application [weaving]. 06-Sep-2024 10:32:43.931 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@524d6d96] from web application [weaving]. 06-Sep-2024 10:32:43.939 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-42639"] 06-Sep-2024 10:32:43.940 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 10:32:43.940 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-42639"] 06-Sep-2024 10:32:43.942 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-42639"] 06-Sep-2024 10:32:43.948 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 06-Sep-2024 10:32:43.951 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 06-Sep-2024 10:32:43.986 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 10:32:43.986 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 10:32:43.999 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36779"] 06-Sep-2024 10:32:44.007 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3315d2d7] to web application [weaving]. 06-Sep-2024 10:32:44.007 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@d6e7bab] to web application [weaving]. 06-Sep-2024 10:32:44.008 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@d6e7bab] from web application [weaving]. 06-Sep-2024 10:32:44.011 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36779"] 06-Sep-2024 10:32:44.012 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 10:32:44.012 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36779"] 06-Sep-2024 10:32:44.013 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36779"] 06-Sep-2024 10:32:44.015 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 06-Sep-2024 10:32:44.016 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 06-Sep-2024 10:32:44.054 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 10:32:44.054 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 10:32:44.066 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42471"] 06-Sep-2024 10:32:44.075 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@26275bef] to web application [weaving]. 06-Sep-2024 10:32:44.076 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7690781] to web application [weaving]. 06-Sep-2024 10:32:44.077 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7690781] from web application [weaving]. 06-Sep-2024 10:32:44.088 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42471"] 06-Sep-2024 10:32:44.089 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 10:32:44.090 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42471"] 06-Sep-2024 10:32:44.091 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42471"] ------------- ---------------- --------------- Testcase: testNoWeaving took 2.046 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.183 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.142 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.19 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.149 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.16 sec Testcase: testAddingNullTransformerThrowsException took 0.124 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.05 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.067 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.084 sec