Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.103 sec ------------- Standard Error ----------------- 09-Sep-2024 12:20:27.683 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 09-Sep-2024 12:20:29.102 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 09-Sep-2024 12:20:29.190 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Sep-2024 12:20:29.191 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 09-Sep-2024 12:20:29.488 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-35837"] 09-Sep-2024 12:20:29.732 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-35837"] 09-Sep-2024 12:20:29.740 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Sep-2024 12:20:29.747 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-35837"] 09-Sep-2024 12:20:29.754 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-35837"] 09-Sep-2024 12:20:29.789 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 09-Sep-2024 12:20:29.808 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 09-Sep-2024 12:20:29.809 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Sep-2024 12:20:29.810 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 09-Sep-2024 12:20:29.838 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-38901"] 09-Sep-2024 12:20:29.940 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5c671d7f] to web application [weaving]. 09-Sep-2024 12:20:29.952 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-38901"] 09-Sep-2024 12:20:29.956 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Sep-2024 12:20:29.957 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-38901"] 09-Sep-2024 12:20:29.960 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-38901"] 09-Sep-2024 12:20:29.970 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 09-Sep-2024 12:20:29.972 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 09-Sep-2024 12:20:29.977 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Sep-2024 12:20:29.978 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 09-Sep-2024 12:20:30.008 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-35651"] 09-Sep-2024 12:20:30.029 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@38e79ae3] to web application [weaving]. 09-Sep-2024 12:20:30.032 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-35651"] 09-Sep-2024 12:20:30.032 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Sep-2024 12:20:30.033 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-35651"] 09-Sep-2024 12:20:30.037 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-35651"] 09-Sep-2024 12:20:30.039 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 09-Sep-2024 12:20:30.042 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 09-Sep-2024 12:20:30.043 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Sep-2024 12:20:30.043 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 09-Sep-2024 12:20:30.059 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-34139"] 09-Sep-2024 12:20:30.115 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@683dbc2c] to web application [weaving]. 09-Sep-2024 12:20:30.115 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@68267da0] to web application [weaving]. 09-Sep-2024 12:20:30.127 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-34139"] 09-Sep-2024 12:20:30.128 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Sep-2024 12:20:30.129 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-34139"] 09-Sep-2024 12:20:30.133 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-34139"] 09-Sep-2024 12:20:30.135 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 09-Sep-2024 12:20:30.136 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 09-Sep-2024 12:20:30.137 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Sep-2024 12:20:30.137 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 09-Sep-2024 12:20:30.150 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-43535"] 09-Sep-2024 12:20:30.195 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@fa36558] to web application [weaving]. 09-Sep-2024 12:20:30.195 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@672872e1] to web application [weaving]. 09-Sep-2024 12:20:30.199 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-43535"] 09-Sep-2024 12:20:30.199 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Sep-2024 12:20:30.200 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-43535"] 09-Sep-2024 12:20:30.202 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-43535"] 09-Sep-2024 12:20:30.204 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 09-Sep-2024 12:20:30.205 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 09-Sep-2024 12:20:30.206 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Sep-2024 12:20:30.206 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 09-Sep-2024 12:20:30.210 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-33373"] 09-Sep-2024 12:20:30.258 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@50caa560] to web application [weaving]. 09-Sep-2024 12:20:30.258 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2a266d09] to web application [weaving]. 09-Sep-2024 12:20:30.264 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-33373"] 09-Sep-2024 12:20:30.265 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Sep-2024 12:20:30.265 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-33373"] 09-Sep-2024 12:20:30.266 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-33373"] 09-Sep-2024 12:20:30.270 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 09-Sep-2024 12:20:30.272 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 09-Sep-2024 12:20:30.272 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Sep-2024 12:20:30.273 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 09-Sep-2024 12:20:30.277 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-45181"] 09-Sep-2024 12:20:30.328 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-45181"] 09-Sep-2024 12:20:30.334 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Sep-2024 12:20:30.334 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-45181"] 09-Sep-2024 12:20:30.339 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-45181"] 09-Sep-2024 12:20:30.341 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 09-Sep-2024 12:20:30.342 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 09-Sep-2024 12:20:30.343 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Sep-2024 12:20:30.343 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 09-Sep-2024 12:20:30.357 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-40271"] 09-Sep-2024 12:20:30.389 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@f381794] to web application [weaving]. 09-Sep-2024 12:20:30.389 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@f381794] from web application [weaving]. 09-Sep-2024 12:20:30.393 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-40271"] 09-Sep-2024 12:20:30.393 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Sep-2024 12:20:30.393 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-40271"] 09-Sep-2024 12:20:30.395 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-40271"] 09-Sep-2024 12:20:30.397 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 09-Sep-2024 12:20:30.399 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 09-Sep-2024 12:20:30.399 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Sep-2024 12:20:30.399 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 09-Sep-2024 12:20:30.417 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-43547"] 09-Sep-2024 12:20:30.470 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3541cb24] to web application [weaving]. 09-Sep-2024 12:20:30.470 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2177849e] to web application [weaving]. 09-Sep-2024 12:20:30.471 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2177849e] from web application [weaving]. 09-Sep-2024 12:20:30.474 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-43547"] 09-Sep-2024 12:20:30.477 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Sep-2024 12:20:30.477 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-43547"] 09-Sep-2024 12:20:30.483 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-43547"] 09-Sep-2024 12:20:30.491 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 09-Sep-2024 12:20:30.493 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 09-Sep-2024 12:20:30.493 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Sep-2024 12:20:30.494 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 09-Sep-2024 12:20:30.500 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-33235"] 09-Sep-2024 12:20:30.509 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2abf4075] to web application [weaving]. 09-Sep-2024 12:20:30.509 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@770d3326] to web application [weaving]. 09-Sep-2024 12:20:30.509 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@770d3326] from web application [weaving]. 09-Sep-2024 12:20:30.512 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-33235"] 09-Sep-2024 12:20:30.515 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Sep-2024 12:20:30.516 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-33235"] 09-Sep-2024 12:20:30.517 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-33235"] ------------- ---------------- --------------- Testcase: testNoWeaving took 2.245 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.18 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.071 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.096 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.069 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.066 sec Testcase: testAddingNullTransformerThrowsException took 0.07 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.056 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.094 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.032 sec