Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.828 sec ------------- Standard Error ----------------- 16-Jul-2024 13:39:50.108 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 16-Jul-2024 13:39:51.014 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 16-Jul-2024 13:39:51.199 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Jul-2024 13:39:51.199 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 16-Jul-2024 13:39:51.476 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37013"] 16-Jul-2024 13:39:51.570 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37013"] 16-Jul-2024 13:39:51.596 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Jul-2024 13:39:51.598 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37013"] 16-Jul-2024 13:39:51.600 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37013"] 16-Jul-2024 13:39:51.619 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 16-Jul-2024 13:39:51.638 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 16-Jul-2024 13:39:51.680 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Jul-2024 13:39:51.680 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 16-Jul-2024 13:39:51.692 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-34159"] 16-Jul-2024 13:39:51.694 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2e377400] to web application [weaving]. 16-Jul-2024 13:39:51.699 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-34159"] 16-Jul-2024 13:39:51.700 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Jul-2024 13:39:51.701 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-34159"] 16-Jul-2024 13:39:51.702 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-34159"] 16-Jul-2024 13:39:51.710 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 16-Jul-2024 13:39:51.713 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 16-Jul-2024 13:39:51.765 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Jul-2024 13:39:51.765 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 16-Jul-2024 13:39:51.812 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-37315"] 16-Jul-2024 13:39:51.812 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1dac5ef] to web application [weaving]. 16-Jul-2024 13:39:51.816 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-37315"] 16-Jul-2024 13:39:51.817 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Jul-2024 13:39:51.818 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-37315"] 16-Jul-2024 13:39:51.818 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-37315"] 16-Jul-2024 13:39:51.826 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 16-Jul-2024 13:39:51.828 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 16-Jul-2024 13:39:51.880 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Jul-2024 13:39:51.881 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 16-Jul-2024 13:39:51.889 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-46467"] 16-Jul-2024 13:39:51.890 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@d21a74c] to web application [weaving]. 16-Jul-2024 13:39:51.890 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6e509ffa] to web application [weaving]. 16-Jul-2024 13:39:51.901 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-46467"] 16-Jul-2024 13:39:51.902 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Jul-2024 13:39:51.903 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-46467"] 16-Jul-2024 13:39:51.913 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-46467"] 16-Jul-2024 13:39:51.921 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 16-Jul-2024 13:39:51.923 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 16-Jul-2024 13:39:52.031 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Jul-2024 13:39:52.032 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 16-Jul-2024 13:39:52.044 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-39479"] 16-Jul-2024 13:39:52.054 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@fa36558] to web application [weaving]. 16-Jul-2024 13:39:52.054 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@672872e1] to web application [weaving]. 16-Jul-2024 13:39:52.081 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-39479"] 16-Jul-2024 13:39:52.083 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Jul-2024 13:39:52.084 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-39479"] 16-Jul-2024 13:39:52.085 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-39479"] 16-Jul-2024 13:39:52.088 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 16-Jul-2024 13:39:52.092 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 16-Jul-2024 13:39:52.182 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Jul-2024 13:39:52.182 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 16-Jul-2024 13:39:52.192 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-42789"] 16-Jul-2024 13:39:52.207 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2a266d09] to web application [weaving]. 16-Jul-2024 13:39:52.207 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5ab9e72c] to web application [weaving]. 16-Jul-2024 13:39:52.211 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-42789"] 16-Jul-2024 13:39:52.215 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Jul-2024 13:39:52.215 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-42789"] 16-Jul-2024 13:39:52.216 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-42789"] 16-Jul-2024 13:39:52.219 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 16-Jul-2024 13:39:52.221 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 16-Jul-2024 13:39:52.309 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Jul-2024 13:39:52.309 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 16-Jul-2024 13:39:52.317 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-34335"] 16-Jul-2024 13:39:52.335 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-34335"] 16-Jul-2024 13:39:52.336 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Jul-2024 13:39:52.337 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-34335"] 16-Jul-2024 13:39:52.338 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-34335"] 16-Jul-2024 13:39:52.342 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 16-Jul-2024 13:39:52.345 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 16-Jul-2024 13:39:52.389 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Jul-2024 13:39:52.389 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 16-Jul-2024 13:39:52.401 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-42683"] 16-Jul-2024 13:39:52.402 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@f381794] to web application [weaving]. 16-Jul-2024 13:39:52.402 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@f381794] from web application [weaving]. 16-Jul-2024 13:39:52.411 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-42683"] 16-Jul-2024 13:39:52.415 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Jul-2024 13:39:52.415 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-42683"] 16-Jul-2024 13:39:52.416 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-42683"] 16-Jul-2024 13:39:52.421 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 16-Jul-2024 13:39:52.423 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 16-Jul-2024 13:39:52.531 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Jul-2024 13:39:52.532 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 16-Jul-2024 13:39:52.539 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-33141"] 16-Jul-2024 13:39:52.545 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2177849e] to web application [weaving]. 16-Jul-2024 13:39:52.545 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@40cb8df7] to web application [weaving]. 16-Jul-2024 13:39:52.545 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@40cb8df7] from web application [weaving]. 16-Jul-2024 13:39:52.548 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-33141"] 16-Jul-2024 13:39:52.549 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Jul-2024 13:39:52.550 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-33141"] 16-Jul-2024 13:39:52.550 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-33141"] 16-Jul-2024 13:39:52.553 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 16-Jul-2024 13:39:52.554 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 16-Jul-2024 13:39:52.594 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Jul-2024 13:39:52.594 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 16-Jul-2024 13:39:52.606 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-35971"] 16-Jul-2024 13:39:52.607 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4cc8eb05] to web application [weaving]. 16-Jul-2024 13:39:52.607 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@51f116b8] to web application [weaving]. 16-Jul-2024 13:39:52.607 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@51f116b8] from web application [weaving]. 16-Jul-2024 13:39:52.617 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-35971"] 16-Jul-2024 13:39:52.618 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Jul-2024 13:39:52.618 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-35971"] 16-Jul-2024 13:39:52.619 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-35971"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.654 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.09 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.115 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.094 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.167 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.13 sec Testcase: testAddingNullTransformerThrowsException took 0.122 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.077 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.133 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.071 sec