Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.881 sec ------------- Standard Error ----------------- 07-Nov-2024 17:28:29.886 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 07-Nov-2024 17:28:31.109 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 07-Nov-2024 17:28:31.218 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Nov-2024 17:28:31.220 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 07-Nov-2024 17:28:31.397 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33495"] 07-Nov-2024 17:28:31.435 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33495"] 07-Nov-2024 17:28:31.444 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Nov-2024 17:28:31.447 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33495"] 07-Nov-2024 17:28:31.453 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33495"] 07-Nov-2024 17:28:31.469 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 07-Nov-2024 17:28:31.471 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 07-Nov-2024 17:28:31.514 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Nov-2024 17:28:31.515 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 07-Nov-2024 17:28:31.520 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42479"] 07-Nov-2024 17:28:31.521 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@10aa41f2] to web application [weaving]. 07-Nov-2024 17:28:31.525 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42479"] 07-Nov-2024 17:28:31.526 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Nov-2024 17:28:31.526 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42479"] 07-Nov-2024 17:28:31.526 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42479"] 07-Nov-2024 17:28:31.530 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 07-Nov-2024 17:28:31.531 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 07-Nov-2024 17:28:31.604 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Nov-2024 17:28:31.604 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 07-Nov-2024 17:28:31.614 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-35921"] 07-Nov-2024 17:28:31.633 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@424e1977] to web application [weaving]. 07-Nov-2024 17:28:31.637 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-35921"] 07-Nov-2024 17:28:31.639 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Nov-2024 17:28:31.639 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-35921"] 07-Nov-2024 17:28:31.640 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-35921"] 07-Nov-2024 17:28:31.649 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 07-Nov-2024 17:28:31.650 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 07-Nov-2024 17:28:31.712 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Nov-2024 17:28:31.713 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 07-Nov-2024 17:28:31.731 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-33769"] 07-Nov-2024 17:28:31.735 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@623a8092] to web application [weaving]. 07-Nov-2024 17:28:31.736 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@a1cdc6d] to web application [weaving]. 07-Nov-2024 17:28:31.741 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-33769"] 07-Nov-2024 17:28:31.742 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Nov-2024 17:28:31.742 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-33769"] 07-Nov-2024 17:28:31.743 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-33769"] 07-Nov-2024 17:28:31.748 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 07-Nov-2024 17:28:31.750 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 07-Nov-2024 17:28:31.861 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Nov-2024 17:28:31.861 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 07-Nov-2024 17:28:31.866 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-41833"] 07-Nov-2024 17:28:31.867 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7748410a] to web application [weaving]. 07-Nov-2024 17:28:31.867 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@740773a3] to web application [weaving]. 07-Nov-2024 17:28:31.871 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-41833"] 07-Nov-2024 17:28:31.873 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Nov-2024 17:28:31.874 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-41833"] 07-Nov-2024 17:28:31.874 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-41833"] 07-Nov-2024 17:28:31.877 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 07-Nov-2024 17:28:31.879 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 07-Nov-2024 17:28:31.984 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Nov-2024 17:28:31.984 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 07-Nov-2024 17:28:31.989 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37927"] 07-Nov-2024 17:28:32.008 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3943a2be] to web application [weaving]. 07-Nov-2024 17:28:32.009 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@343570b7] to web application [weaving]. 07-Nov-2024 17:28:32.012 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37927"] 07-Nov-2024 17:28:32.013 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Nov-2024 17:28:32.014 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37927"] 07-Nov-2024 17:28:32.015 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37927"] 07-Nov-2024 17:28:32.022 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 07-Nov-2024 17:28:32.024 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 07-Nov-2024 17:28:32.055 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Nov-2024 17:28:32.056 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 07-Nov-2024 17:28:32.071 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-32789"] 07-Nov-2024 17:28:32.087 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-32789"] 07-Nov-2024 17:28:32.090 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Nov-2024 17:28:32.091 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-32789"] 07-Nov-2024 17:28:32.093 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-32789"] 07-Nov-2024 17:28:32.097 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 07-Nov-2024 17:28:32.101 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 07-Nov-2024 17:28:32.223 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Nov-2024 17:28:32.224 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 07-Nov-2024 17:28:32.231 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-44651"] 07-Nov-2024 17:28:32.232 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4e268090] to web application [weaving]. 07-Nov-2024 17:28:32.233 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4e268090] from web application [weaving]. 07-Nov-2024 17:28:32.236 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-44651"] 07-Nov-2024 17:28:32.242 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Nov-2024 17:28:32.242 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-44651"] 07-Nov-2024 17:28:32.247 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-44651"] 07-Nov-2024 17:28:32.255 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 07-Nov-2024 17:28:32.257 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 07-Nov-2024 17:28:32.369 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Nov-2024 17:28:32.369 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 07-Nov-2024 17:28:32.405 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-37715"] 07-Nov-2024 17:28:32.414 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6a6afff2] to web application [weaving]. 07-Nov-2024 17:28:32.415 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1649b0e6] to web application [weaving]. 07-Nov-2024 17:28:32.415 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1649b0e6] from web application [weaving]. 07-Nov-2024 17:28:32.418 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-37715"] 07-Nov-2024 17:28:32.419 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Nov-2024 17:28:32.420 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-37715"] 07-Nov-2024 17:28:32.420 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-37715"] 07-Nov-2024 17:28:32.424 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 07-Nov-2024 17:28:32.426 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 07-Nov-2024 17:28:32.490 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Nov-2024 17:28:32.490 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 07-Nov-2024 17:28:32.494 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36259"] 07-Nov-2024 17:28:32.495 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@73ee04c8] to web application [weaving]. 07-Nov-2024 17:28:32.495 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7671cb68] to web application [weaving]. 07-Nov-2024 17:28:32.495 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7671cb68] from web application [weaving]. 07-Nov-2024 17:28:32.498 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36259"] 07-Nov-2024 17:28:32.499 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Nov-2024 17:28:32.500 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36259"] 07-Nov-2024 17:28:32.500 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36259"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.715 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.06 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.119 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.1 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.129 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.143 sec Testcase: testAddingNullTransformerThrowsException took 0.075 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.159 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.169 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.084 sec