Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.7 sec ------------- Standard Error ----------------- 13-Feb-2024 12:42:31.971 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 13-Feb-2024 12:42:33.071 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 13-Feb-2024 12:42:33.102 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Feb-2024 12:42:33.102 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 13-Feb-2024 12:42:33.298 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-34677"] 13-Feb-2024 12:42:33.393 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-34677"] 13-Feb-2024 12:42:33.402 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Feb-2024 12:42:33.403 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-34677"] 13-Feb-2024 12:42:33.410 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-34677"] 13-Feb-2024 12:42:33.417 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 13-Feb-2024 12:42:33.419 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 13-Feb-2024 12:42:33.420 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Feb-2024 12:42:33.420 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 13-Feb-2024 12:42:33.425 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-42841"] 13-Feb-2024 12:42:33.515 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2f8dad04] to web application [weaving]. 13-Feb-2024 12:42:33.518 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-42841"] 13-Feb-2024 12:42:33.522 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Feb-2024 12:42:33.522 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-42841"] 13-Feb-2024 12:42:33.524 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-42841"] 13-Feb-2024 12:42:33.526 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 13-Feb-2024 12:42:33.535 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 13-Feb-2024 12:42:33.538 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Feb-2024 12:42:33.539 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 13-Feb-2024 12:42:33.545 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-34817"] 13-Feb-2024 12:42:33.557 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5ace1ed4] to web application [weaving]. 13-Feb-2024 12:42:33.562 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-34817"] 13-Feb-2024 12:42:33.562 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Feb-2024 12:42:33.563 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-34817"] 13-Feb-2024 12:42:33.571 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-34817"] 13-Feb-2024 12:42:33.574 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 13-Feb-2024 12:42:33.576 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 13-Feb-2024 12:42:33.577 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Feb-2024 12:42:33.577 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 13-Feb-2024 12:42:33.595 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-34469"] 13-Feb-2024 12:42:33.600 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5f9b2141] to web application [weaving]. 13-Feb-2024 12:42:33.600 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@247d8ae] to web application [weaving]. 13-Feb-2024 12:42:33.605 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-34469"] 13-Feb-2024 12:42:33.605 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Feb-2024 12:42:33.606 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-34469"] 13-Feb-2024 12:42:33.611 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-34469"] 13-Feb-2024 12:42:33.613 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 13-Feb-2024 12:42:33.615 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 13-Feb-2024 12:42:33.616 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Feb-2024 12:42:33.616 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 13-Feb-2024 12:42:33.623 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-40657"] 13-Feb-2024 12:42:33.644 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4de4b452] to web application [weaving]. 13-Feb-2024 12:42:33.644 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@50b5ac82] to web application [weaving]. 13-Feb-2024 12:42:33.676 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-40657"] 13-Feb-2024 12:42:33.677 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Feb-2024 12:42:33.677 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-40657"] 13-Feb-2024 12:42:33.680 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-40657"] 13-Feb-2024 12:42:33.686 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 13-Feb-2024 12:42:33.689 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 13-Feb-2024 12:42:33.691 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Feb-2024 12:42:33.691 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 13-Feb-2024 12:42:33.716 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-45525"] 13-Feb-2024 12:42:33.806 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@73700b80] to web application [weaving]. 13-Feb-2024 12:42:33.806 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@49c7b90e] to web application [weaving]. 13-Feb-2024 12:42:33.810 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-45525"] 13-Feb-2024 12:42:33.810 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Feb-2024 12:42:33.810 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-45525"] 13-Feb-2024 12:42:33.817 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-45525"] 13-Feb-2024 12:42:33.819 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 13-Feb-2024 12:42:33.820 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 13-Feb-2024 12:42:33.821 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Feb-2024 12:42:33.821 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 13-Feb-2024 12:42:33.838 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-46427"] 13-Feb-2024 12:42:33.925 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-46427"] 13-Feb-2024 12:42:33.926 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Feb-2024 12:42:33.926 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-46427"] 13-Feb-2024 12:42:33.930 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-46427"] 13-Feb-2024 12:42:33.933 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 13-Feb-2024 12:42:33.938 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 13-Feb-2024 12:42:33.941 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Feb-2024 12:42:33.941 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 13-Feb-2024 12:42:33.967 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-43339"] 13-Feb-2024 12:42:34.030 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@28f2a10f] to web application [weaving]. 13-Feb-2024 12:42:34.031 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@28f2a10f] from web application [weaving]. 13-Feb-2024 12:42:34.034 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-43339"] 13-Feb-2024 12:42:34.039 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Feb-2024 12:42:34.040 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-43339"] 13-Feb-2024 12:42:34.041 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-43339"] 13-Feb-2024 12:42:34.045 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 13-Feb-2024 12:42:34.047 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 13-Feb-2024 12:42:34.048 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Feb-2024 12:42:34.049 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 13-Feb-2024 12:42:34.067 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-43171"] 13-Feb-2024 12:42:34.096 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2f217633] to web application [weaving]. 13-Feb-2024 12:42:34.096 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@a530d0a] to web application [weaving]. 13-Feb-2024 12:42:34.096 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@a530d0a] from web application [weaving]. 13-Feb-2024 12:42:34.100 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-43171"] 13-Feb-2024 12:42:34.103 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Feb-2024 12:42:34.103 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-43171"] 13-Feb-2024 12:42:34.106 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-43171"] 13-Feb-2024 12:42:34.108 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 13-Feb-2024 12:42:34.110 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 13-Feb-2024 12:42:34.111 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Feb-2024 12:42:34.111 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 13-Feb-2024 12:42:34.115 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-38015"] 13-Feb-2024 12:42:34.151 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7bd4937b] to web application [weaving]. 13-Feb-2024 12:42:34.151 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@21e360a] to web application [weaving]. 13-Feb-2024 12:42:34.151 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@21e360a] from web application [weaving]. 13-Feb-2024 12:42:34.156 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-38015"] 13-Feb-2024 12:42:34.157 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Feb-2024 12:42:34.157 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-38015"] 13-Feb-2024 12:42:34.159 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-38015"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.614 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.109 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.046 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.038 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.071 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.134 sec Testcase: testAddingNullTransformerThrowsException took 0.114 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.11 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.065 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.054 sec