Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.328 sec ------------- Standard Error ----------------- 24-Sep-2024 09:28:45.076 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 24-Sep-2024 09:28:46.493 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 24-Sep-2024 09:28:46.568 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Sep-2024 09:28:46.568 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 24-Sep-2024 09:28:46.878 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-44519"] 24-Sep-2024 09:28:47.025 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-44519"] 24-Sep-2024 09:28:47.034 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Sep-2024 09:28:47.037 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-44519"] 24-Sep-2024 09:28:47.042 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-44519"] 24-Sep-2024 09:28:47.057 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 24-Sep-2024 09:28:47.066 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 24-Sep-2024 09:28:47.075 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Sep-2024 09:28:47.075 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 24-Sep-2024 09:28:47.107 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-37035"] 24-Sep-2024 09:28:47.221 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5c671d7f] to web application [weaving]. 24-Sep-2024 09:28:47.228 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-37035"] 24-Sep-2024 09:28:47.230 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Sep-2024 09:28:47.231 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-37035"] 24-Sep-2024 09:28:47.244 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-37035"] 24-Sep-2024 09:28:47.246 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 24-Sep-2024 09:28:47.248 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 24-Sep-2024 09:28:47.249 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Sep-2024 09:28:47.249 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 24-Sep-2024 09:28:47.279 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-34947"] 24-Sep-2024 09:28:47.398 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@38e79ae3] to web application [weaving]. 24-Sep-2024 09:28:47.402 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-34947"] 24-Sep-2024 09:28:47.402 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Sep-2024 09:28:47.403 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-34947"] 24-Sep-2024 09:28:47.405 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-34947"] 24-Sep-2024 09:28:47.406 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 24-Sep-2024 09:28:47.408 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 24-Sep-2024 09:28:47.409 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Sep-2024 09:28:47.411 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 24-Sep-2024 09:28:47.420 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-45863"] 24-Sep-2024 09:28:47.491 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@683dbc2c] to web application [weaving]. 24-Sep-2024 09:28:47.491 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@68267da0] to web application [weaving]. 24-Sep-2024 09:28:47.499 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-45863"] 24-Sep-2024 09:28:47.501 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Sep-2024 09:28:47.502 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-45863"] 24-Sep-2024 09:28:47.506 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-45863"] 24-Sep-2024 09:28:47.508 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 24-Sep-2024 09:28:47.509 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 24-Sep-2024 09:28:47.510 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Sep-2024 09:28:47.510 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 24-Sep-2024 09:28:47.536 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-37765"] 24-Sep-2024 09:28:47.599 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@fa36558] to web application [weaving]. 24-Sep-2024 09:28:47.599 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@672872e1] to web application [weaving]. 24-Sep-2024 09:28:47.603 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-37765"] 24-Sep-2024 09:28:47.603 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Sep-2024 09:28:47.604 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-37765"] 24-Sep-2024 09:28:47.607 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-37765"] 24-Sep-2024 09:28:47.614 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 24-Sep-2024 09:28:47.618 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 24-Sep-2024 09:28:47.620 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Sep-2024 09:28:47.620 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 24-Sep-2024 09:28:47.634 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-39223"] 24-Sep-2024 09:28:47.717 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@50caa560] to web application [weaving]. 24-Sep-2024 09:28:47.718 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2a266d09] to web application [weaving]. 24-Sep-2024 09:28:47.722 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-39223"] 24-Sep-2024 09:28:47.723 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Sep-2024 09:28:47.723 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-39223"] 24-Sep-2024 09:28:47.726 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-39223"] 24-Sep-2024 09:28:47.730 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 24-Sep-2024 09:28:47.733 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 24-Sep-2024 09:28:47.735 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Sep-2024 09:28:47.735 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 24-Sep-2024 09:28:47.760 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-34277"] 24-Sep-2024 09:28:47.847 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-34277"] 24-Sep-2024 09:28:47.848 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Sep-2024 09:28:47.848 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-34277"] 24-Sep-2024 09:28:47.850 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-34277"] 24-Sep-2024 09:28:47.852 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 24-Sep-2024 09:28:47.853 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 24-Sep-2024 09:28:47.854 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Sep-2024 09:28:47.854 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 24-Sep-2024 09:28:47.879 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-37519"] 24-Sep-2024 09:28:47.982 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@f381794] to web application [weaving]. 24-Sep-2024 09:28:47.983 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@f381794] from web application [weaving]. 24-Sep-2024 09:28:47.986 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-37519"] 24-Sep-2024 09:28:47.989 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Sep-2024 09:28:47.989 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-37519"] 24-Sep-2024 09:28:47.993 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-37519"] 24-Sep-2024 09:28:47.995 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 24-Sep-2024 09:28:47.996 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 24-Sep-2024 09:28:47.997 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Sep-2024 09:28:47.997 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 24-Sep-2024 09:28:48.009 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-45581"] 24-Sep-2024 09:28:48.024 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3541cb24] to web application [weaving]. 24-Sep-2024 09:28:48.025 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2177849e] to web application [weaving]. 24-Sep-2024 09:28:48.025 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2177849e] from web application [weaving]. 24-Sep-2024 09:28:48.028 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-45581"] 24-Sep-2024 09:28:48.028 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Sep-2024 09:28:48.029 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-45581"] 24-Sep-2024 09:28:48.031 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-45581"] 24-Sep-2024 09:28:48.033 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 24-Sep-2024 09:28:48.034 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 24-Sep-2024 09:28:48.035 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Sep-2024 09:28:48.035 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 24-Sep-2024 09:28:48.046 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-34897"] 24-Sep-2024 09:28:48.089 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2abf4075] to web application [weaving]. 24-Sep-2024 09:28:48.089 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@770d3326] to web application [weaving]. 24-Sep-2024 09:28:48.089 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@770d3326] from web application [weaving]. 24-Sep-2024 09:28:48.096 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-34897"] 24-Sep-2024 09:28:48.098 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Sep-2024 09:28:48.098 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-34897"] 24-Sep-2024 09:28:48.105 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-34897"] ------------- ---------------- --------------- Testcase: testNoWeaving took 2.124 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.19 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.161 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.101 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.104 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.118 sec Testcase: testAddingNullTransformerThrowsException took 0.121 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.143 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.038 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.073 sec