Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.128 sec ------------- Standard Error ----------------- 11-Jul-2024 17:50:06.237 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 11-Jul-2024 17:50:07.518 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 11-Jul-2024 17:50:07.647 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Jul-2024 17:50:07.648 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 11-Jul-2024 17:50:07.945 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-44917"] 11-Jul-2024 17:50:07.993 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-44917"] 11-Jul-2024 17:50:08.000 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Jul-2024 17:50:08.001 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-44917"] 11-Jul-2024 17:50:08.006 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-44917"] 11-Jul-2024 17:50:08.014 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 11-Jul-2024 17:50:08.024 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 11-Jul-2024 17:50:08.168 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Jul-2024 17:50:08.168 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 11-Jul-2024 17:50:08.182 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43109"] 11-Jul-2024 17:50:08.184 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1757cd72] to web application [weaving]. 11-Jul-2024 17:50:08.189 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43109"] 11-Jul-2024 17:50:08.191 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Jul-2024 17:50:08.192 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43109"] 11-Jul-2024 17:50:08.193 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43109"] 11-Jul-2024 17:50:08.198 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 11-Jul-2024 17:50:08.212 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 11-Jul-2024 17:50:08.293 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Jul-2024 17:50:08.294 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 11-Jul-2024 17:50:08.327 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-34265"] 11-Jul-2024 17:50:08.335 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@58ea606c] to web application [weaving]. 11-Jul-2024 17:50:08.338 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-34265"] 11-Jul-2024 17:50:08.339 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Jul-2024 17:50:08.340 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-34265"] 11-Jul-2024 17:50:08.340 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-34265"] 11-Jul-2024 17:50:08.344 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 11-Jul-2024 17:50:08.346 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 11-Jul-2024 17:50:08.430 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Jul-2024 17:50:08.431 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 11-Jul-2024 17:50:08.441 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-39561"] 11-Jul-2024 17:50:08.451 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2898ac89] to web application [weaving]. 11-Jul-2024 17:50:08.451 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@683dbc2c] to web application [weaving]. 11-Jul-2024 17:50:08.457 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-39561"] 11-Jul-2024 17:50:08.458 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Jul-2024 17:50:08.459 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-39561"] 11-Jul-2024 17:50:08.460 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-39561"] 11-Jul-2024 17:50:08.464 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 11-Jul-2024 17:50:08.465 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 11-Jul-2024 17:50:08.573 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Jul-2024 17:50:08.574 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 11-Jul-2024 17:50:08.602 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-41385"] 11-Jul-2024 17:50:08.602 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@672872e1] to web application [weaving]. 11-Jul-2024 17:50:08.602 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@32910148] to web application [weaving]. 11-Jul-2024 17:50:08.606 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-41385"] 11-Jul-2024 17:50:08.607 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Jul-2024 17:50:08.608 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-41385"] 11-Jul-2024 17:50:08.608 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-41385"] 11-Jul-2024 17:50:08.616 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 11-Jul-2024 17:50:08.618 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 11-Jul-2024 17:50:08.694 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Jul-2024 17:50:08.695 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 11-Jul-2024 17:50:08.727 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45977"] 11-Jul-2024 17:50:08.739 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5ab9e72c] to web application [weaving]. 11-Jul-2024 17:50:08.739 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@186f8716] to web application [weaving]. 11-Jul-2024 17:50:08.743 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45977"] 11-Jul-2024 17:50:08.748 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Jul-2024 17:50:08.749 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45977"] 11-Jul-2024 17:50:08.750 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45977"] 11-Jul-2024 17:50:08.754 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 11-Jul-2024 17:50:08.757 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 11-Jul-2024 17:50:08.813 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Jul-2024 17:50:08.813 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 11-Jul-2024 17:50:08.818 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-43819"] 11-Jul-2024 17:50:08.832 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-43819"] 11-Jul-2024 17:50:08.833 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Jul-2024 17:50:08.833 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-43819"] 11-Jul-2024 17:50:08.834 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-43819"] 11-Jul-2024 17:50:08.836 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 11-Jul-2024 17:50:08.838 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 11-Jul-2024 17:50:08.851 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Jul-2024 17:50:08.851 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 11-Jul-2024 17:50:08.863 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36823"] 11-Jul-2024 17:50:08.864 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7e9131d5] to web application [weaving]. 11-Jul-2024 17:50:08.865 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7e9131d5] from web application [weaving]. 11-Jul-2024 17:50:08.868 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36823"] 11-Jul-2024 17:50:08.873 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Jul-2024 17:50:08.873 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36823"] 11-Jul-2024 17:50:08.874 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36823"] 11-Jul-2024 17:50:08.877 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 11-Jul-2024 17:50:08.878 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 11-Jul-2024 17:50:08.923 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Jul-2024 17:50:08.924 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 11-Jul-2024 17:50:08.934 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-42427"] 11-Jul-2024 17:50:08.945 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@13b13b5d] to web application [weaving]. 11-Jul-2024 17:50:08.945 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2892dae4] to web application [weaving]. 11-Jul-2024 17:50:08.945 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2892dae4] from web application [weaving]. 11-Jul-2024 17:50:08.949 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-42427"] 11-Jul-2024 17:50:08.950 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Jul-2024 17:50:08.950 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-42427"] 11-Jul-2024 17:50:08.951 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-42427"] 11-Jul-2024 17:50:08.955 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 11-Jul-2024 17:50:08.958 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 11-Jul-2024 17:50:09.041 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Jul-2024 17:50:09.041 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 11-Jul-2024 17:50:09.050 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-41285"] 11-Jul-2024 17:50:09.057 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@19d481b] to web application [weaving]. 11-Jul-2024 17:50:09.057 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1f97cf0d] to web application [weaving]. 11-Jul-2024 17:50:09.057 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1f97cf0d] from web application [weaving]. 11-Jul-2024 17:50:09.062 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-41285"] 11-Jul-2024 17:50:09.062 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Jul-2024 17:50:09.063 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-41285"] 11-Jul-2024 17:50:09.063 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-41285"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.934 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.183 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.146 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.119 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.151 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.14 sec Testcase: testAddingNullTransformerThrowsException took 0.082 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.04 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.079 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.111 sec