Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.582 sec ------------- Standard Error ----------------- 11-Nov-2024 10:58:38.705 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 11-Nov-2024 10:58:39.872 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 11-Nov-2024 10:58:39.912 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Nov-2024 10:58:39.912 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Nov-2024 10:58:40.041 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-40823"] 11-Nov-2024 10:58:40.146 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-40823"] 11-Nov-2024 10:58:40.152 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Nov-2024 10:58:40.154 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-40823"] 11-Nov-2024 10:58:40.159 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-40823"] 11-Nov-2024 10:58:40.167 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 11-Nov-2024 10:58:40.172 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 11-Nov-2024 10:58:40.172 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Nov-2024 10:58:40.173 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Nov-2024 10:58:40.196 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-43871"] 11-Nov-2024 10:58:40.332 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3af9c5b7] to web application [weaving]. 11-Nov-2024 10:58:40.337 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-43871"] 11-Nov-2024 10:58:40.337 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Nov-2024 10:58:40.337 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-43871"] 11-Nov-2024 10:58:40.342 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-43871"] 11-Nov-2024 10:58:40.346 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 11-Nov-2024 10:58:40.349 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 11-Nov-2024 10:58:40.350 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Nov-2024 10:58:40.351 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Nov-2024 10:58:40.378 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-41329"] 11-Nov-2024 10:58:40.427 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@424e1977] to web application [weaving]. 11-Nov-2024 10:58:40.431 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-41329"] 11-Nov-2024 10:58:40.434 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Nov-2024 10:58:40.435 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-41329"] 11-Nov-2024 10:58:40.439 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-41329"] 11-Nov-2024 10:58:40.456 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 11-Nov-2024 10:58:40.458 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 11-Nov-2024 10:58:40.458 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Nov-2024 10:58:40.459 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Nov-2024 10:58:40.466 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-41927"] 11-Nov-2024 10:58:40.506 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@548e6d58] to web application [weaving]. 11-Nov-2024 10:58:40.506 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@623a8092] to web application [weaving]. 11-Nov-2024 10:58:40.511 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-41927"] 11-Nov-2024 10:58:40.512 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Nov-2024 10:58:40.512 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-41927"] 11-Nov-2024 10:58:40.514 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-41927"] 11-Nov-2024 10:58:40.516 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 11-Nov-2024 10:58:40.518 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 11-Nov-2024 10:58:40.519 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Nov-2024 10:58:40.519 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Nov-2024 10:58:40.531 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-37897"] 11-Nov-2024 10:58:40.562 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3e96bacf] to web application [weaving]. 11-Nov-2024 10:58:40.562 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@484970b0] to web application [weaving]. 11-Nov-2024 10:58:40.566 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-37897"] 11-Nov-2024 10:58:40.567 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Nov-2024 10:58:40.567 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-37897"] 11-Nov-2024 10:58:40.574 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-37897"] 11-Nov-2024 10:58:40.575 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 11-Nov-2024 10:58:40.577 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 11-Nov-2024 10:58:40.577 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Nov-2024 10:58:40.577 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Nov-2024 10:58:40.592 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-45621"] 11-Nov-2024 10:58:40.602 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@757acd7b] to web application [weaving]. 11-Nov-2024 10:58:40.602 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@36b4fe2a] to web application [weaving]. 11-Nov-2024 10:58:40.609 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-45621"] 11-Nov-2024 10:58:40.613 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Nov-2024 10:58:40.614 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-45621"] 11-Nov-2024 10:58:40.618 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-45621"] 11-Nov-2024 10:58:40.620 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 11-Nov-2024 10:58:40.622 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 11-Nov-2024 10:58:40.622 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Nov-2024 10:58:40.622 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Nov-2024 10:58:40.627 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-42279"] 11-Nov-2024 10:58:40.634 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-42279"] 11-Nov-2024 10:58:40.634 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Nov-2024 10:58:40.635 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-42279"] 11-Nov-2024 10:58:40.639 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-42279"] 11-Nov-2024 10:58:40.640 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 11-Nov-2024 10:58:40.642 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 11-Nov-2024 10:58:40.643 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Nov-2024 10:58:40.643 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Nov-2024 10:58:40.654 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-43063"] 11-Nov-2024 10:58:40.689 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@152aa092] to web application [weaving]. 11-Nov-2024 10:58:40.689 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@152aa092] from web application [weaving]. 11-Nov-2024 10:58:40.693 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-43063"] 11-Nov-2024 10:58:40.702 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Nov-2024 10:58:40.702 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-43063"] 11-Nov-2024 10:58:40.707 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-43063"] 11-Nov-2024 10:58:40.709 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 11-Nov-2024 10:58:40.731 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 11-Nov-2024 10:58:40.742 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Nov-2024 10:58:40.742 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Nov-2024 10:58:40.787 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-38643"] 11-Nov-2024 10:58:40.839 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3315d2d7] to web application [weaving]. 11-Nov-2024 10:58:40.839 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@d6e7bab] to web application [weaving]. 11-Nov-2024 10:58:40.840 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@d6e7bab] from web application [weaving]. 11-Nov-2024 10:58:40.843 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-38643"] 11-Nov-2024 10:58:40.844 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Nov-2024 10:58:40.844 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-38643"] 11-Nov-2024 10:58:40.850 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-38643"] 11-Nov-2024 10:58:40.853 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 11-Nov-2024 10:58:40.856 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 11-Nov-2024 10:58:40.863 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Nov-2024 10:58:40.863 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Nov-2024 10:58:40.900 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-37507"] 11-Nov-2024 10:58:40.982 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4d910fd6] to web application [weaving]. 11-Nov-2024 10:58:40.982 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@26275bef] to web application [weaving]. 11-Nov-2024 10:58:40.982 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@26275bef] from web application [weaving]. 11-Nov-2024 10:58:40.986 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-37507"] 11-Nov-2024 10:58:40.986 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Nov-2024 10:58:40.986 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-37507"] 11-Nov-2024 10:58:41.000 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-37507"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.606 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.176 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.097 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.074 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.059 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.045 sec Testcase: testAddingNullTransformerThrowsException took 0.02 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.068 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.144 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.149 sec