Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.256 sec ------------- Standard Error ----------------- 30-Aug-2024 16:32:28.381 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 30-Aug-2024 16:32:29.513 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 30-Aug-2024 16:32:29.602 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-Aug-2024 16:32:29.603 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 30-Aug-2024 16:32:29.837 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-35263"] 30-Aug-2024 16:32:30.034 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-35263"] 30-Aug-2024 16:32:30.040 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-Aug-2024 16:32:30.041 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-35263"] 30-Aug-2024 16:32:30.050 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-35263"] 30-Aug-2024 16:32:30.071 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 30-Aug-2024 16:32:30.076 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 30-Aug-2024 16:32:30.083 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-Aug-2024 16:32:30.084 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 30-Aug-2024 16:32:30.127 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-34025"] 30-Aug-2024 16:32:30.256 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5c671d7f] to web application [weaving]. 30-Aug-2024 16:32:30.260 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-34025"] 30-Aug-2024 16:32:30.261 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-Aug-2024 16:32:30.261 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-34025"] 30-Aug-2024 16:32:30.264 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-34025"] 30-Aug-2024 16:32:30.265 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 30-Aug-2024 16:32:30.267 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 30-Aug-2024 16:32:30.269 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-Aug-2024 16:32:30.271 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 30-Aug-2024 16:32:30.287 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-40823"] 30-Aug-2024 16:32:30.411 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@38e79ae3] to web application [weaving]. 30-Aug-2024 16:32:30.415 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-40823"] 30-Aug-2024 16:32:30.415 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-Aug-2024 16:32:30.416 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-40823"] 30-Aug-2024 16:32:30.420 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-40823"] 30-Aug-2024 16:32:30.430 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 30-Aug-2024 16:32:30.433 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 30-Aug-2024 16:32:30.434 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-Aug-2024 16:32:30.434 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 30-Aug-2024 16:32:30.438 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-44755"] 30-Aug-2024 16:32:30.523 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@683dbc2c] to web application [weaving]. 30-Aug-2024 16:32:30.523 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@68267da0] to web application [weaving]. 30-Aug-2024 16:32:30.528 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-44755"] 30-Aug-2024 16:32:30.531 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-Aug-2024 16:32:30.532 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-44755"] 30-Aug-2024 16:32:30.537 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-44755"] 30-Aug-2024 16:32:30.542 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 30-Aug-2024 16:32:30.544 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 30-Aug-2024 16:32:30.552 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-Aug-2024 16:32:30.553 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 30-Aug-2024 16:32:30.599 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-44517"] 30-Aug-2024 16:32:30.737 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@fa36558] to web application [weaving]. 30-Aug-2024 16:32:30.738 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@672872e1] to web application [weaving]. 30-Aug-2024 16:32:30.741 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-44517"] 30-Aug-2024 16:32:30.741 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-Aug-2024 16:32:30.742 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-44517"] 30-Aug-2024 16:32:30.751 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-44517"] 30-Aug-2024 16:32:30.755 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 30-Aug-2024 16:32:30.759 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 30-Aug-2024 16:32:30.760 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-Aug-2024 16:32:30.770 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 30-Aug-2024 16:32:30.791 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-46163"] 30-Aug-2024 16:32:30.922 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@50caa560] to web application [weaving]. 30-Aug-2024 16:32:30.922 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2a266d09] to web application [weaving]. 30-Aug-2024 16:32:30.926 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-46163"] 30-Aug-2024 16:32:30.926 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-Aug-2024 16:32:30.926 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-46163"] 30-Aug-2024 16:32:30.930 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-46163"] 30-Aug-2024 16:32:30.932 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 30-Aug-2024 16:32:30.936 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 30-Aug-2024 16:32:30.937 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-Aug-2024 16:32:30.939 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 30-Aug-2024 16:32:30.951 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-33461"] 30-Aug-2024 16:32:31.035 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-33461"] 30-Aug-2024 16:32:31.035 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-Aug-2024 16:32:31.035 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-33461"] 30-Aug-2024 16:32:31.037 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-33461"] 30-Aug-2024 16:32:31.039 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 30-Aug-2024 16:32:31.041 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 30-Aug-2024 16:32:31.042 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-Aug-2024 16:32:31.042 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 30-Aug-2024 16:32:31.066 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-41311"] 30-Aug-2024 16:32:31.110 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@f381794] to web application [weaving]. 30-Aug-2024 16:32:31.110 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@f381794] from web application [weaving]. 30-Aug-2024 16:32:31.114 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-41311"] 30-Aug-2024 16:32:31.114 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-Aug-2024 16:32:31.114 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-41311"] 30-Aug-2024 16:32:31.116 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-41311"] 30-Aug-2024 16:32:31.118 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 30-Aug-2024 16:32:31.119 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 30-Aug-2024 16:32:31.120 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-Aug-2024 16:32:31.120 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 30-Aug-2024 16:32:31.131 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-46367"] 30-Aug-2024 16:32:31.175 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3541cb24] to web application [weaving]. 30-Aug-2024 16:32:31.175 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2177849e] to web application [weaving]. 30-Aug-2024 16:32:31.175 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2177849e] from web application [weaving]. 30-Aug-2024 16:32:31.183 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-46367"] 30-Aug-2024 16:32:31.184 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-Aug-2024 16:32:31.185 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-46367"] 30-Aug-2024 16:32:31.187 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-46367"] 30-Aug-2024 16:32:31.189 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 30-Aug-2024 16:32:31.190 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 30-Aug-2024 16:32:31.191 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-Aug-2024 16:32:31.191 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 30-Aug-2024 16:32:31.207 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-33153"] 30-Aug-2024 16:32:31.304 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2abf4075] to web application [weaving]. 30-Aug-2024 16:32:31.305 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@770d3326] to web application [weaving]. 30-Aug-2024 16:32:31.305 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@770d3326] from web application [weaving]. 30-Aug-2024 16:32:31.309 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-33153"] 30-Aug-2024 16:32:31.311 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-Aug-2024 16:32:31.312 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-33153"] 30-Aug-2024 16:32:31.315 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-33153"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.849 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.197 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.165 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.111 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.213 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.176 sec Testcase: testAddingNullTransformerThrowsException took 0.107 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.079 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.071 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.128 sec