Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.875 sec ------------- Standard Error ----------------- 02-Apr-2024 20:25:11.017 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 02-Apr-2024 20:25:12.069 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 02-Apr-2024 20:25:12.139 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Apr-2024 20:25:12.139 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.88-dev] 02-Apr-2024 20:25:12.312 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-44707"] 02-Apr-2024 20:25:12.483 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-44707"] 02-Apr-2024 20:25:12.489 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Apr-2024 20:25:12.494 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-44707"] 02-Apr-2024 20:25:12.512 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-44707"] 02-Apr-2024 20:25:12.519 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 02-Apr-2024 20:25:12.522 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 02-Apr-2024 20:25:12.523 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Apr-2024 20:25:12.523 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.88-dev] 02-Apr-2024 20:25:12.559 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-35951"] 02-Apr-2024 20:25:12.720 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@156b88f5] to web application [weaving]. 02-Apr-2024 20:25:12.724 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-35951"] 02-Apr-2024 20:25:12.727 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Apr-2024 20:25:12.728 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-35951"] 02-Apr-2024 20:25:12.734 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-35951"] 02-Apr-2024 20:25:12.736 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 02-Apr-2024 20:25:12.738 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 02-Apr-2024 20:25:12.738 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Apr-2024 20:25:12.741 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.88-dev] 02-Apr-2024 20:25:12.771 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-43805"] 02-Apr-2024 20:25:12.938 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2b91004a] to web application [weaving]. 02-Apr-2024 20:25:12.942 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-43805"] 02-Apr-2024 20:25:12.943 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Apr-2024 20:25:12.943 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-43805"] 02-Apr-2024 20:25:12.945 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-43805"] 02-Apr-2024 20:25:12.951 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 02-Apr-2024 20:25:12.953 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 02-Apr-2024 20:25:12.953 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Apr-2024 20:25:12.956 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.88-dev] 02-Apr-2024 20:25:12.986 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-46725"] 02-Apr-2024 20:25:13.084 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@614ca7df] to web application [weaving]. 02-Apr-2024 20:25:13.084 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4738a206] to web application [weaving]. 02-Apr-2024 20:25:13.088 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-46725"] 02-Apr-2024 20:25:13.088 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Apr-2024 20:25:13.089 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-46725"] 02-Apr-2024 20:25:13.106 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-46725"] 02-Apr-2024 20:25:13.111 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 02-Apr-2024 20:25:13.118 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 02-Apr-2024 20:25:13.119 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Apr-2024 20:25:13.120 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.88-dev] 02-Apr-2024 20:25:13.138 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-35219"] 02-Apr-2024 20:25:13.172 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@bae7dc0] to web application [weaving]. 02-Apr-2024 20:25:13.172 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@209da20d] to web application [weaving]. 02-Apr-2024 20:25:13.175 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-35219"] 02-Apr-2024 20:25:13.177 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Apr-2024 20:25:13.177 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-35219"] 02-Apr-2024 20:25:13.181 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-35219"] 02-Apr-2024 20:25:13.183 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 02-Apr-2024 20:25:13.184 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 02-Apr-2024 20:25:13.185 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Apr-2024 20:25:13.185 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.88-dev] 02-Apr-2024 20:25:13.196 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-33859"] 02-Apr-2024 20:25:13.231 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6e0f5f7f] to web application [weaving]. 02-Apr-2024 20:25:13.231 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2805d709] to web application [weaving]. 02-Apr-2024 20:25:13.235 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-33859"] 02-Apr-2024 20:25:13.235 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Apr-2024 20:25:13.236 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-33859"] 02-Apr-2024 20:25:13.240 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-33859"] 02-Apr-2024 20:25:13.241 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 02-Apr-2024 20:25:13.243 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 02-Apr-2024 20:25:13.243 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Apr-2024 20:25:13.244 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.88-dev] 02-Apr-2024 20:25:13.270 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-40535"] 02-Apr-2024 20:25:13.279 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-40535"] 02-Apr-2024 20:25:13.281 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Apr-2024 20:25:13.281 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-40535"] 02-Apr-2024 20:25:13.284 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-40535"] 02-Apr-2024 20:25:13.286 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 02-Apr-2024 20:25:13.288 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 02-Apr-2024 20:25:13.288 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Apr-2024 20:25:13.289 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.88-dev] 02-Apr-2024 20:25:13.300 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-39405"] 02-Apr-2024 20:25:13.366 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@26e356f0] to web application [weaving]. 02-Apr-2024 20:25:13.366 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@26e356f0] from web application [weaving]. 02-Apr-2024 20:25:13.370 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-39405"] 02-Apr-2024 20:25:13.371 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Apr-2024 20:25:13.371 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-39405"] 02-Apr-2024 20:25:13.373 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-39405"] 02-Apr-2024 20:25:13.375 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 02-Apr-2024 20:25:13.377 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 02-Apr-2024 20:25:13.377 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Apr-2024 20:25:13.377 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.88-dev] 02-Apr-2024 20:25:13.383 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-35371"] 02-Apr-2024 20:25:13.395 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@b9b00e0] to web application [weaving]. 02-Apr-2024 20:25:13.396 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@506ae4d4] to web application [weaving]. 02-Apr-2024 20:25:13.396 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@506ae4d4] from web application [weaving]. 02-Apr-2024 20:25:13.399 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-35371"] 02-Apr-2024 20:25:13.402 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Apr-2024 20:25:13.402 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-35371"] 02-Apr-2024 20:25:13.404 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-35371"] 02-Apr-2024 20:25:13.405 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 02-Apr-2024 20:25:13.407 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 02-Apr-2024 20:25:13.407 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Apr-2024 20:25:13.408 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.88-dev] 02-Apr-2024 20:25:13.412 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-40937"] 02-Apr-2024 20:25:13.420 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4f80542f] to web application [weaving]. 02-Apr-2024 20:25:13.420 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@60bd273d] to web application [weaving]. 02-Apr-2024 20:25:13.420 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@60bd273d] from web application [weaving]. 02-Apr-2024 20:25:13.423 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-40937"] 02-Apr-2024 20:25:13.423 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Apr-2024 20:25:13.423 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-40937"] 02-Apr-2024 20:25:13.426 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-40937"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.686 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.217 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.215 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.16 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.071 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.059 sec Testcase: testAddingNullTransformerThrowsException took 0.044 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.089 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.03 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.026 sec