Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.604 sec ------------- Standard Error ----------------- 15-Jan-2024 13:58:09.102 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 15-Jan-2024 13:58:09.934 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 15-Jan-2024 13:58:10.025 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Jan-2024 13:58:10.038 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 15-Jan-2024 13:58:10.399 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-34329"] 15-Jan-2024 13:58:10.558 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-34329"] 15-Jan-2024 13:58:10.571 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Jan-2024 13:58:10.572 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-34329"] 15-Jan-2024 13:58:10.576 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-34329"] 15-Jan-2024 13:58:10.593 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 15-Jan-2024 13:58:10.599 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 15-Jan-2024 13:58:10.599 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Jan-2024 13:58:10.599 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 15-Jan-2024 13:58:10.614 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-46151"] 15-Jan-2024 13:58:10.749 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2f8dad04] to web application [weaving]. 15-Jan-2024 13:58:10.753 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-46151"] 15-Jan-2024 13:58:10.753 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Jan-2024 13:58:10.754 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-46151"] 15-Jan-2024 13:58:10.756 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-46151"] 15-Jan-2024 13:58:10.762 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 15-Jan-2024 13:58:10.764 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 15-Jan-2024 13:58:10.765 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Jan-2024 13:58:10.765 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 15-Jan-2024 13:58:10.786 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-34485"] 15-Jan-2024 13:58:10.791 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5ace1ed4] to web application [weaving]. 15-Jan-2024 13:58:10.793 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-34485"] 15-Jan-2024 13:58:10.795 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Jan-2024 13:58:10.796 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-34485"] 15-Jan-2024 13:58:10.799 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-34485"] 15-Jan-2024 13:58:10.801 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 15-Jan-2024 13:58:10.802 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 15-Jan-2024 13:58:10.803 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Jan-2024 13:58:10.803 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 15-Jan-2024 13:58:10.808 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-32929"] 15-Jan-2024 13:58:10.821 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5f9b2141] to web application [weaving]. 15-Jan-2024 13:58:10.821 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@247d8ae] to web application [weaving]. 15-Jan-2024 13:58:10.825 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-32929"] 15-Jan-2024 13:58:10.827 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Jan-2024 13:58:10.828 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-32929"] 15-Jan-2024 13:58:10.835 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-32929"] 15-Jan-2024 13:58:10.841 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 15-Jan-2024 13:58:10.843 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 15-Jan-2024 13:58:10.843 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Jan-2024 13:58:10.843 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 15-Jan-2024 13:58:10.851 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-46731"] 15-Jan-2024 13:58:10.898 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4de4b452] to web application [weaving]. 15-Jan-2024 13:58:10.899 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@50b5ac82] to web application [weaving]. 15-Jan-2024 13:58:10.902 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-46731"] 15-Jan-2024 13:58:10.903 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Jan-2024 13:58:10.903 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-46731"] 15-Jan-2024 13:58:10.905 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-46731"] 15-Jan-2024 13:58:10.907 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 15-Jan-2024 13:58:10.909 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 15-Jan-2024 13:58:10.909 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Jan-2024 13:58:10.910 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 15-Jan-2024 13:58:10.945 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-42751"] 15-Jan-2024 13:58:11.043 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@73700b80] to web application [weaving]. 15-Jan-2024 13:58:11.043 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@49c7b90e] to web application [weaving]. 15-Jan-2024 13:58:11.054 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-42751"] 15-Jan-2024 13:58:11.059 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Jan-2024 13:58:11.060 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-42751"] 15-Jan-2024 13:58:11.066 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-42751"] 15-Jan-2024 13:58:11.067 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 15-Jan-2024 13:58:11.068 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 15-Jan-2024 13:58:11.076 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Jan-2024 13:58:11.076 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 15-Jan-2024 13:58:11.085 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-37839"] 15-Jan-2024 13:58:11.102 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-37839"] 15-Jan-2024 13:58:11.103 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Jan-2024 13:58:11.109 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-37839"] 15-Jan-2024 13:58:11.116 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-37839"] 15-Jan-2024 13:58:11.118 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 15-Jan-2024 13:58:11.120 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 15-Jan-2024 13:58:11.122 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Jan-2024 13:58:11.122 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 15-Jan-2024 13:58:11.136 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-43321"] 15-Jan-2024 13:58:11.173 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@28f2a10f] to web application [weaving]. 15-Jan-2024 13:58:11.173 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@28f2a10f] from web application [weaving]. 15-Jan-2024 13:58:11.176 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-43321"] 15-Jan-2024 13:58:11.182 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Jan-2024 13:58:11.183 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-43321"] 15-Jan-2024 13:58:11.185 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-43321"] 15-Jan-2024 13:58:11.187 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 15-Jan-2024 13:58:11.189 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 15-Jan-2024 13:58:11.190 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Jan-2024 13:58:11.190 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 15-Jan-2024 13:58:11.220 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-35997"] 15-Jan-2024 13:58:11.235 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2f217633] to web application [weaving]. 15-Jan-2024 13:58:11.235 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@a530d0a] to web application [weaving]. 15-Jan-2024 13:58:11.235 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@a530d0a] from web application [weaving]. 15-Jan-2024 13:58:11.238 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-35997"] 15-Jan-2024 13:58:11.241 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Jan-2024 13:58:11.242 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-35997"] 15-Jan-2024 13:58:11.253 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-35997"] 15-Jan-2024 13:58:11.255 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 15-Jan-2024 13:58:11.256 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 15-Jan-2024 13:58:11.257 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Jan-2024 13:58:11.257 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 15-Jan-2024 13:58:11.267 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-33357"] 15-Jan-2024 13:58:11.276 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7bd4937b] to web application [weaving]. 15-Jan-2024 13:58:11.276 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@21e360a] to web application [weaving]. 15-Jan-2024 13:58:11.277 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@21e360a] from web application [weaving]. 15-Jan-2024 13:58:11.283 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-33357"] 15-Jan-2024 13:58:11.284 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Jan-2024 13:58:11.284 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-33357"] 15-Jan-2024 13:58:11.287 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-33357"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.577 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.175 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.038 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.039 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.066 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.16 sec Testcase: testAddingNullTransformerThrowsException took 0.051 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.068 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.067 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.033 sec