Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.485 sec ------------- Standard Error ----------------- 08-Nov-2024 00:16:06.271 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 08-Nov-2024 00:16:07.420 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 08-Nov-2024 00:16:07.497 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Nov-2024 00:16:07.515 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 08-Nov-2024 00:16:07.763 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33717"] 08-Nov-2024 00:16:07.797 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33717"] 08-Nov-2024 00:16:07.805 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Nov-2024 00:16:07.807 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33717"] 08-Nov-2024 00:16:07.810 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33717"] 08-Nov-2024 00:16:07.819 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 08-Nov-2024 00:16:07.821 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 08-Nov-2024 00:16:07.855 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Nov-2024 00:16:07.855 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 08-Nov-2024 00:16:07.874 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37693"] 08-Nov-2024 00:16:07.881 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@10aa41f2] to web application [weaving]. 08-Nov-2024 00:16:07.887 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37693"] 08-Nov-2024 00:16:07.891 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Nov-2024 00:16:07.892 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37693"] 08-Nov-2024 00:16:07.893 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37693"] 08-Nov-2024 00:16:07.898 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 08-Nov-2024 00:16:07.904 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 08-Nov-2024 00:16:07.925 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Nov-2024 00:16:07.925 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 08-Nov-2024 00:16:07.930 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-43685"] 08-Nov-2024 00:16:07.931 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@424e1977] to web application [weaving]. 08-Nov-2024 00:16:07.935 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-43685"] 08-Nov-2024 00:16:07.936 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Nov-2024 00:16:07.936 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-43685"] 08-Nov-2024 00:16:07.937 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-43685"] 08-Nov-2024 00:16:07.940 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 08-Nov-2024 00:16:07.942 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 08-Nov-2024 00:16:07.948 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Nov-2024 00:16:07.948 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 08-Nov-2024 00:16:07.963 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-43265"] 08-Nov-2024 00:16:07.963 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@548e6d58] to web application [weaving]. 08-Nov-2024 00:16:07.964 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@623a8092] to web application [weaving]. 08-Nov-2024 00:16:07.974 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-43265"] 08-Nov-2024 00:16:07.975 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Nov-2024 00:16:07.975 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-43265"] 08-Nov-2024 00:16:07.977 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-43265"] 08-Nov-2024 00:16:07.984 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 08-Nov-2024 00:16:07.986 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 08-Nov-2024 00:16:07.994 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Nov-2024 00:16:07.995 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 08-Nov-2024 00:16:08.001 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38131"] 08-Nov-2024 00:16:08.003 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7c83dc97] to web application [weaving]. 08-Nov-2024 00:16:08.005 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7748410a] to web application [weaving]. 08-Nov-2024 00:16:08.013 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38131"] 08-Nov-2024 00:16:08.014 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Nov-2024 00:16:08.015 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38131"] 08-Nov-2024 00:16:08.016 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38131"] 08-Nov-2024 00:16:08.023 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 08-Nov-2024 00:16:08.032 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 08-Nov-2024 00:16:08.047 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Nov-2024 00:16:08.051 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 08-Nov-2024 00:16:08.058 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-46605"] 08-Nov-2024 00:16:08.065 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@28975c28] to web application [weaving]. 08-Nov-2024 00:16:08.065 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3943a2be] to web application [weaving]. 08-Nov-2024 00:16:08.070 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-46605"] 08-Nov-2024 00:16:08.071 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Nov-2024 00:16:08.071 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-46605"] 08-Nov-2024 00:16:08.072 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-46605"] 08-Nov-2024 00:16:08.076 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 08-Nov-2024 00:16:08.078 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 08-Nov-2024 00:16:08.137 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Nov-2024 00:16:08.137 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 08-Nov-2024 00:16:08.141 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-41731"] 08-Nov-2024 00:16:08.145 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-41731"] 08-Nov-2024 00:16:08.146 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Nov-2024 00:16:08.146 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-41731"] 08-Nov-2024 00:16:08.147 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-41731"] 08-Nov-2024 00:16:08.150 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 08-Nov-2024 00:16:08.151 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 08-Nov-2024 00:16:08.175 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Nov-2024 00:16:08.175 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 08-Nov-2024 00:16:08.187 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-39277"] 08-Nov-2024 00:16:08.197 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@37858383] to web application [weaving]. 08-Nov-2024 00:16:08.197 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@37858383] from web application [weaving]. 08-Nov-2024 00:16:08.207 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-39277"] 08-Nov-2024 00:16:08.211 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Nov-2024 00:16:08.211 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-39277"] 08-Nov-2024 00:16:08.212 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-39277"] 08-Nov-2024 00:16:08.214 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 08-Nov-2024 00:16:08.216 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 08-Nov-2024 00:16:08.295 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Nov-2024 00:16:08.296 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 08-Nov-2024 00:16:08.309 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-33335"] 08-Nov-2024 00:16:08.315 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@366647c2] to web application [weaving]. 08-Nov-2024 00:16:08.315 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6a6afff2] to web application [weaving]. 08-Nov-2024 00:16:08.315 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6a6afff2] from web application [weaving]. 08-Nov-2024 00:16:08.319 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-33335"] 08-Nov-2024 00:16:08.320 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Nov-2024 00:16:08.320 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-33335"] 08-Nov-2024 00:16:08.321 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-33335"] 08-Nov-2024 00:16:08.324 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 08-Nov-2024 00:16:08.326 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 08-Nov-2024 00:16:08.395 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Nov-2024 00:16:08.396 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 08-Nov-2024 00:16:08.405 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-41741"] 08-Nov-2024 00:16:08.415 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@61386958] to web application [weaving]. 08-Nov-2024 00:16:08.415 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@73ee04c8] to web application [weaving]. 08-Nov-2024 00:16:08.416 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@73ee04c8] from web application [weaving]. 08-Nov-2024 00:16:08.419 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-41741"] 08-Nov-2024 00:16:08.420 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Nov-2024 00:16:08.420 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-41741"] 08-Nov-2024 00:16:08.421 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-41741"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.692 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.08 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.042 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.043 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.038 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.052 sec Testcase: testAddingNullTransformerThrowsException took 0.075 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.063 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.11 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.099 sec