Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.909 sec ------------- Standard Error ----------------- 20-Dec-2023 11:25:25.999 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 20-Dec-2023 11:25:26.872 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 20-Dec-2023 11:25:27.052 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Dec-2023 11:25:27.057 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 20-Dec-2023 11:25:27.324 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-36251"] 20-Dec-2023 11:25:27.376 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-36251"] 20-Dec-2023 11:25:27.394 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Dec-2023 11:25:27.397 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-36251"] 20-Dec-2023 11:25:27.405 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-36251"] 20-Dec-2023 11:25:27.419 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 20-Dec-2023 11:25:27.421 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 20-Dec-2023 11:25:27.430 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Dec-2023 11:25:27.431 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 20-Dec-2023 11:25:27.453 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41933"] 20-Dec-2023 11:25:27.466 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2bfc268b] to web application [weaving]. 20-Dec-2023 11:25:27.474 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41933"] 20-Dec-2023 11:25:27.475 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Dec-2023 11:25:27.475 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41933"] 20-Dec-2023 11:25:27.478 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41933"] 20-Dec-2023 11:25:27.487 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 20-Dec-2023 11:25:27.489 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 20-Dec-2023 11:25:27.580 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Dec-2023 11:25:27.580 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 20-Dec-2023 11:25:27.594 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-36913"] 20-Dec-2023 11:25:27.600 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5ace1ed4] to web application [weaving]. 20-Dec-2023 11:25:27.604 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-36913"] 20-Dec-2023 11:25:27.609 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Dec-2023 11:25:27.609 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-36913"] 20-Dec-2023 11:25:27.615 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-36913"] 20-Dec-2023 11:25:27.619 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 20-Dec-2023 11:25:27.622 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 20-Dec-2023 11:25:27.706 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Dec-2023 11:25:27.706 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 20-Dec-2023 11:25:27.736 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44227"] 20-Dec-2023 11:25:27.743 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@247d8ae] to web application [weaving]. 20-Dec-2023 11:25:27.743 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@48974e45] to web application [weaving]. 20-Dec-2023 11:25:27.751 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44227"] 20-Dec-2023 11:25:27.754 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Dec-2023 11:25:27.755 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44227"] 20-Dec-2023 11:25:27.756 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44227"] 20-Dec-2023 11:25:27.759 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 20-Dec-2023 11:25:27.760 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 20-Dec-2023 11:25:27.768 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Dec-2023 11:25:27.768 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 20-Dec-2023 11:25:27.773 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-45967"] 20-Dec-2023 11:25:27.773 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6babf3bf] to web application [weaving]. 20-Dec-2023 11:25:27.773 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3059cbc] to web application [weaving]. 20-Dec-2023 11:25:27.776 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-45967"] 20-Dec-2023 11:25:27.779 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Dec-2023 11:25:27.779 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-45967"] 20-Dec-2023 11:25:27.779 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-45967"] 20-Dec-2023 11:25:27.782 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 20-Dec-2023 11:25:27.783 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 20-Dec-2023 11:25:27.810 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Dec-2023 11:25:27.810 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 20-Dec-2023 11:25:27.817 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-34683"] 20-Dec-2023 11:25:27.818 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4d5b6aac] to web application [weaving]. 20-Dec-2023 11:25:27.818 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3e84448c] to web application [weaving]. 20-Dec-2023 11:25:27.821 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-34683"] 20-Dec-2023 11:25:27.821 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Dec-2023 11:25:27.822 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-34683"] 20-Dec-2023 11:25:27.823 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-34683"] 20-Dec-2023 11:25:27.825 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 20-Dec-2023 11:25:27.826 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 20-Dec-2023 11:25:27.917 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Dec-2023 11:25:27.917 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 20-Dec-2023 11:25:27.929 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-42749"] 20-Dec-2023 11:25:27.932 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-42749"] 20-Dec-2023 11:25:27.941 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Dec-2023 11:25:27.942 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-42749"] 20-Dec-2023 11:25:27.943 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-42749"] 20-Dec-2023 11:25:27.946 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 20-Dec-2023 11:25:27.947 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 20-Dec-2023 11:25:28.040 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Dec-2023 11:25:28.040 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 20-Dec-2023 11:25:28.045 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-40499"] 20-Dec-2023 11:25:28.058 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6da21078] to web application [weaving]. 20-Dec-2023 11:25:28.058 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6da21078] from web application [weaving]. 20-Dec-2023 11:25:28.061 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-40499"] 20-Dec-2023 11:25:28.062 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Dec-2023 11:25:28.062 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-40499"] 20-Dec-2023 11:25:28.063 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-40499"] 20-Dec-2023 11:25:28.067 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 20-Dec-2023 11:25:28.068 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 20-Dec-2023 11:25:28.134 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Dec-2023 11:25:28.135 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 20-Dec-2023 11:25:28.148 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-40335"] 20-Dec-2023 11:25:28.149 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1a18644] to web application [weaving]. 20-Dec-2023 11:25:28.149 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5acf93bb] to web application [weaving]. 20-Dec-2023 11:25:28.149 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5acf93bb] from web application [weaving]. 20-Dec-2023 11:25:28.152 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-40335"] 20-Dec-2023 11:25:28.153 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Dec-2023 11:25:28.154 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-40335"] 20-Dec-2023 11:25:28.154 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-40335"] 20-Dec-2023 11:25:28.157 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 20-Dec-2023 11:25:28.159 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 20-Dec-2023 11:25:28.222 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Dec-2023 11:25:28.223 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 20-Dec-2023 11:25:28.227 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-44369"] 20-Dec-2023 11:25:28.228 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@58d75e99] to web application [weaving]. 20-Dec-2023 11:25:28.228 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@74751b3] to web application [weaving]. 20-Dec-2023 11:25:28.229 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@74751b3] from web application [weaving]. 20-Dec-2023 11:25:28.232 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-44369"] 20-Dec-2023 11:25:28.232 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Dec-2023 11:25:28.233 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-44369"] 20-Dec-2023 11:25:28.233 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-44369"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.664 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.068 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.132 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.139 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.023 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.043 sec Testcase: testAddingNullTransformerThrowsException took 0.121 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.121 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.09 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.078 sec