Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.792 sec ------------- Standard Error ----------------- 10-Sep-2024 14:47:11.064 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 10-Sep-2024 14:47:12.342 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 10-Sep-2024 14:47:12.408 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Sep-2024 14:47:12.412 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 10-Sep-2024 14:47:12.637 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-37547"] 10-Sep-2024 14:47:12.749 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-37547"] 10-Sep-2024 14:47:12.762 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Sep-2024 14:47:12.763 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-37547"] 10-Sep-2024 14:47:12.782 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-37547"] 10-Sep-2024 14:47:12.825 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 10-Sep-2024 14:47:12.843 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 10-Sep-2024 14:47:12.845 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Sep-2024 14:47:12.845 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 10-Sep-2024 14:47:12.859 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-45193"] 10-Sep-2024 14:47:12.941 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5c671d7f] to web application [weaving]. 10-Sep-2024 14:47:12.945 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-45193"] 10-Sep-2024 14:47:12.946 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Sep-2024 14:47:12.947 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-45193"] 10-Sep-2024 14:47:12.950 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-45193"] 10-Sep-2024 14:47:12.951 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 10-Sep-2024 14:47:12.953 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 10-Sep-2024 14:47:12.954 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Sep-2024 14:47:12.954 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 10-Sep-2024 14:47:12.965 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-37505"] 10-Sep-2024 14:47:12.969 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@38e79ae3] to web application [weaving]. 10-Sep-2024 14:47:12.975 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-37505"] 10-Sep-2024 14:47:12.976 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Sep-2024 14:47:12.976 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-37505"] 10-Sep-2024 14:47:12.984 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-37505"] 10-Sep-2024 14:47:12.986 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 10-Sep-2024 14:47:12.988 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 10-Sep-2024 14:47:12.989 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Sep-2024 14:47:12.990 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 10-Sep-2024 14:47:13.001 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-39151"] 10-Sep-2024 14:47:13.014 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@683dbc2c] to web application [weaving]. 10-Sep-2024 14:47:13.014 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@68267da0] to web application [weaving]. 10-Sep-2024 14:47:13.018 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-39151"] 10-Sep-2024 14:47:13.019 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Sep-2024 14:47:13.019 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-39151"] 10-Sep-2024 14:47:13.026 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-39151"] 10-Sep-2024 14:47:13.032 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 10-Sep-2024 14:47:13.037 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 10-Sep-2024 14:47:13.038 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Sep-2024 14:47:13.038 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 10-Sep-2024 14:47:13.047 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-34765"] 10-Sep-2024 14:47:13.069 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@fa36558] to web application [weaving]. 10-Sep-2024 14:47:13.069 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@672872e1] to web application [weaving]. 10-Sep-2024 14:47:13.074 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-34765"] 10-Sep-2024 14:47:13.077 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Sep-2024 14:47:13.077 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-34765"] 10-Sep-2024 14:47:13.080 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-34765"] 10-Sep-2024 14:47:13.082 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 10-Sep-2024 14:47:13.084 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 10-Sep-2024 14:47:13.085 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Sep-2024 14:47:13.085 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 10-Sep-2024 14:47:13.098 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-40897"] 10-Sep-2024 14:47:13.214 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@50caa560] to web application [weaving]. 10-Sep-2024 14:47:13.214 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2a266d09] to web application [weaving]. 10-Sep-2024 14:47:13.222 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-40897"] 10-Sep-2024 14:47:13.225 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Sep-2024 14:47:13.226 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-40897"] 10-Sep-2024 14:47:13.235 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-40897"] 10-Sep-2024 14:47:13.237 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 10-Sep-2024 14:47:13.240 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 10-Sep-2024 14:47:13.244 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Sep-2024 14:47:13.245 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 10-Sep-2024 14:47:13.271 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-33307"] 10-Sep-2024 14:47:13.385 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-33307"] 10-Sep-2024 14:47:13.386 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Sep-2024 14:47:13.386 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-33307"] 10-Sep-2024 14:47:13.388 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-33307"] 10-Sep-2024 14:47:13.390 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 10-Sep-2024 14:47:13.394 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 10-Sep-2024 14:47:13.395 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Sep-2024 14:47:13.395 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 10-Sep-2024 14:47:13.428 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-46761"] 10-Sep-2024 14:47:13.508 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@f381794] to web application [weaving]. 10-Sep-2024 14:47:13.508 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@f381794] from web application [weaving]. 10-Sep-2024 14:47:13.517 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-46761"] 10-Sep-2024 14:47:13.517 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Sep-2024 14:47:13.518 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-46761"] 10-Sep-2024 14:47:13.522 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-46761"] 10-Sep-2024 14:47:13.524 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 10-Sep-2024 14:47:13.526 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 10-Sep-2024 14:47:13.527 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Sep-2024 14:47:13.528 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 10-Sep-2024 14:47:13.540 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-32779"] 10-Sep-2024 14:47:13.545 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3541cb24] to web application [weaving]. 10-Sep-2024 14:47:13.545 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2177849e] to web application [weaving]. 10-Sep-2024 14:47:13.545 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2177849e] from web application [weaving]. 10-Sep-2024 14:47:13.549 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-32779"] 10-Sep-2024 14:47:13.551 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Sep-2024 14:47:13.552 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-32779"] 10-Sep-2024 14:47:13.553 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-32779"] 10-Sep-2024 14:47:13.555 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 10-Sep-2024 14:47:13.557 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 10-Sep-2024 14:47:13.557 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Sep-2024 14:47:13.558 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 10-Sep-2024 14:47:13.562 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-41603"] 10-Sep-2024 14:47:13.567 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2abf4075] to web application [weaving]. 10-Sep-2024 14:47:13.567 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@770d3326] to web application [weaving]. 10-Sep-2024 14:47:13.567 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@770d3326] from web application [weaving]. 10-Sep-2024 14:47:13.570 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-41603"] 10-Sep-2024 14:47:13.571 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Sep-2024 14:47:13.571 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-41603"] 10-Sep-2024 14:47:13.574 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-41603"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.944 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.128 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.034 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.044 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.05 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.155 sec Testcase: testAddingNullTransformerThrowsException took 0.152 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.134 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.031 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.021 sec