Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.745 sec ------------- Standard Error ----------------- 10-Nov-2024 18:56:44.394 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 10-Nov-2024 18:56:45.755 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 10-Nov-2024 18:56:45.815 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Nov-2024 18:56:45.816 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 10-Nov-2024 18:56:46.026 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-45083"] 10-Nov-2024 18:56:46.153 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-45083"] 10-Nov-2024 18:56:46.165 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Nov-2024 18:56:46.170 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-45083"] 10-Nov-2024 18:56:46.182 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-45083"] 10-Nov-2024 18:56:46.189 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 10-Nov-2024 18:56:46.191 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 10-Nov-2024 18:56:46.203 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Nov-2024 18:56:46.203 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 10-Nov-2024 18:56:46.211 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-33071"] 10-Nov-2024 18:56:46.289 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@14555e0a] to web application [weaving]. 10-Nov-2024 18:56:46.294 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-33071"] 10-Nov-2024 18:56:46.294 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Nov-2024 18:56:46.294 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-33071"] 10-Nov-2024 18:56:46.296 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-33071"] 10-Nov-2024 18:56:46.298 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 10-Nov-2024 18:56:46.304 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 10-Nov-2024 18:56:46.304 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Nov-2024 18:56:46.305 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 10-Nov-2024 18:56:46.310 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-40891"] 10-Nov-2024 18:56:46.332 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6d4e5011] to web application [weaving]. 10-Nov-2024 18:56:46.336 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-40891"] 10-Nov-2024 18:56:46.337 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Nov-2024 18:56:46.337 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-40891"] 10-Nov-2024 18:56:46.340 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-40891"] 10-Nov-2024 18:56:46.342 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 10-Nov-2024 18:56:46.345 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 10-Nov-2024 18:56:46.345 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Nov-2024 18:56:46.346 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 10-Nov-2024 18:56:46.352 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-44169"] 10-Nov-2024 18:56:46.401 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@383bfa16] to web application [weaving]. 10-Nov-2024 18:56:46.401 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4d465b11] to web application [weaving]. 10-Nov-2024 18:56:46.408 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-44169"] 10-Nov-2024 18:56:46.411 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Nov-2024 18:56:46.411 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-44169"] 10-Nov-2024 18:56:46.417 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-44169"] 10-Nov-2024 18:56:46.423 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 10-Nov-2024 18:56:46.425 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 10-Nov-2024 18:56:46.426 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Nov-2024 18:56:46.427 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 10-Nov-2024 18:56:46.438 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-42345"] 10-Nov-2024 18:56:46.491 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3b6ddd1d] to web application [weaving]. 10-Nov-2024 18:56:46.492 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3f6b0be5] to web application [weaving]. 10-Nov-2024 18:56:46.496 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-42345"] 10-Nov-2024 18:56:46.498 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Nov-2024 18:56:46.499 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-42345"] 10-Nov-2024 18:56:46.502 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-42345"] 10-Nov-2024 18:56:46.504 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 10-Nov-2024 18:56:46.505 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 10-Nov-2024 18:56:46.507 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Nov-2024 18:56:46.508 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 10-Nov-2024 18:56:46.517 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-45211"] 10-Nov-2024 18:56:46.528 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5d7148e2] to web application [weaving]. 10-Nov-2024 18:56:46.529 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@25fb8912] to web application [weaving]. 10-Nov-2024 18:56:46.536 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-45211"] 10-Nov-2024 18:56:46.539 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Nov-2024 18:56:46.539 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-45211"] 10-Nov-2024 18:56:46.542 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-45211"] 10-Nov-2024 18:56:46.544 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 10-Nov-2024 18:56:46.546 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 10-Nov-2024 18:56:46.550 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Nov-2024 18:56:46.550 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 10-Nov-2024 18:56:46.557 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-35147"] 10-Nov-2024 18:56:46.567 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-35147"] 10-Nov-2024 18:56:46.567 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Nov-2024 18:56:46.568 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-35147"] 10-Nov-2024 18:56:46.585 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-35147"] 10-Nov-2024 18:56:46.587 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 10-Nov-2024 18:56:46.588 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 10-Nov-2024 18:56:46.589 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Nov-2024 18:56:46.589 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 10-Nov-2024 18:56:46.604 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-44701"] 10-Nov-2024 18:56:46.651 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4803b726] to web application [weaving]. 10-Nov-2024 18:56:46.652 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4803b726] from web application [weaving]. 10-Nov-2024 18:56:46.657 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-44701"] 10-Nov-2024 18:56:46.660 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Nov-2024 18:56:46.660 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-44701"] 10-Nov-2024 18:56:46.665 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-44701"] 10-Nov-2024 18:56:46.667 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 10-Nov-2024 18:56:46.669 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 10-Nov-2024 18:56:46.674 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Nov-2024 18:56:46.674 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 10-Nov-2024 18:56:46.683 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-42919"] 10-Nov-2024 18:56:46.706 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3cebbb30] to web application [weaving]. 10-Nov-2024 18:56:46.707 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@12aba8be] to web application [weaving]. 10-Nov-2024 18:56:46.707 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@12aba8be] from web application [weaving]. 10-Nov-2024 18:56:46.712 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-42919"] 10-Nov-2024 18:56:46.712 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Nov-2024 18:56:46.713 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-42919"] 10-Nov-2024 18:56:46.715 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-42919"] 10-Nov-2024 18:56:46.716 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 10-Nov-2024 18:56:46.718 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 10-Nov-2024 18:56:46.718 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Nov-2024 18:56:46.719 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 10-Nov-2024 18:56:46.722 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-37347"] 10-Nov-2024 18:56:46.734 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4659191b] to web application [weaving]. 10-Nov-2024 18:56:46.734 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@55634720] to web application [weaving]. 10-Nov-2024 18:56:46.734 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@55634720] from web application [weaving]. 10-Nov-2024 18:56:46.738 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-37347"] 10-Nov-2024 18:56:46.738 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Nov-2024 18:56:46.738 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-37347"] 10-Nov-2024 18:56:46.740 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-37347"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.995 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.109 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.043 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.079 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.083 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.04 sec Testcase: testAddingNullTransformerThrowsException took 0.042 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.081 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.049 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.025 sec