Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.825 sec ------------- Standard Error ----------------- 31-Oct-2024 23:21:00.241 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 31-Oct-2024 23:21:01.308 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 31-Oct-2024 23:21:01.337 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-Oct-2024 23:21:01.338 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 31-Oct-2024 23:21:01.601 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-41457"] 31-Oct-2024 23:21:01.774 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-41457"] 31-Oct-2024 23:21:01.795 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-Oct-2024 23:21:01.798 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-41457"] 31-Oct-2024 23:21:01.804 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-41457"] 31-Oct-2024 23:21:01.822 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 31-Oct-2024 23:21:01.825 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 31-Oct-2024 23:21:01.833 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-Oct-2024 23:21:01.833 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 31-Oct-2024 23:21:01.852 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-40731"] 31-Oct-2024 23:21:01.981 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@c86b9e3] to web application [weaving]. 31-Oct-2024 23:21:01.985 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-40731"] 31-Oct-2024 23:21:01.985 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-Oct-2024 23:21:01.986 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-40731"] 31-Oct-2024 23:21:01.989 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-40731"] 31-Oct-2024 23:21:01.991 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 31-Oct-2024 23:21:02.001 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 31-Oct-2024 23:21:02.016 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-Oct-2024 23:21:02.017 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 31-Oct-2024 23:21:02.022 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-44847"] 31-Oct-2024 23:21:02.100 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@762ef0ea] to web application [weaving]. 31-Oct-2024 23:21:02.107 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-44847"] 31-Oct-2024 23:21:02.107 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-Oct-2024 23:21:02.108 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-44847"] 31-Oct-2024 23:21:02.115 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-44847"] 31-Oct-2024 23:21:02.117 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 31-Oct-2024 23:21:02.123 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 31-Oct-2024 23:21:02.124 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-Oct-2024 23:21:02.124 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 31-Oct-2024 23:21:02.144 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-44141"] 31-Oct-2024 23:21:02.209 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@313b2ea6] to web application [weaving]. 31-Oct-2024 23:21:02.210 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2f465398] to web application [weaving]. 31-Oct-2024 23:21:02.221 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-44141"] 31-Oct-2024 23:21:02.224 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-Oct-2024 23:21:02.229 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-44141"] 31-Oct-2024 23:21:02.231 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-44141"] 31-Oct-2024 23:21:02.233 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 31-Oct-2024 23:21:02.236 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 31-Oct-2024 23:21:02.237 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-Oct-2024 23:21:02.238 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 31-Oct-2024 23:21:02.249 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-42377"] 31-Oct-2024 23:21:02.296 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@fd07cbb] to web application [weaving]. 31-Oct-2024 23:21:02.297 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3571b748] to web application [weaving]. 31-Oct-2024 23:21:02.301 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-42377"] 31-Oct-2024 23:21:02.306 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-Oct-2024 23:21:02.306 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-42377"] 31-Oct-2024 23:21:02.310 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-42377"] 31-Oct-2024 23:21:02.311 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 31-Oct-2024 23:21:02.313 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 31-Oct-2024 23:21:02.314 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-Oct-2024 23:21:02.314 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 31-Oct-2024 23:21:02.319 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-44277"] 31-Oct-2024 23:21:02.329 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@45ca843] to web application [weaving]. 31-Oct-2024 23:21:02.329 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@11c9af63] to web application [weaving]. 31-Oct-2024 23:21:02.333 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-44277"] 31-Oct-2024 23:21:02.335 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-Oct-2024 23:21:02.336 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-44277"] 31-Oct-2024 23:21:02.337 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-44277"] 31-Oct-2024 23:21:02.339 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 31-Oct-2024 23:21:02.341 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 31-Oct-2024 23:21:02.342 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-Oct-2024 23:21:02.342 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 31-Oct-2024 23:21:02.349 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-34247"] 31-Oct-2024 23:21:02.430 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-34247"] 31-Oct-2024 23:21:02.433 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-Oct-2024 23:21:02.433 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-34247"] 31-Oct-2024 23:21:02.445 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-34247"] 31-Oct-2024 23:21:02.446 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 31-Oct-2024 23:21:02.448 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 31-Oct-2024 23:21:02.448 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-Oct-2024 23:21:02.449 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 31-Oct-2024 23:21:02.479 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-35919"] 31-Oct-2024 23:21:02.544 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2525ff7e] to web application [weaving]. 31-Oct-2024 23:21:02.544 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2525ff7e] from web application [weaving]. 31-Oct-2024 23:21:02.548 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-35919"] 31-Oct-2024 23:21:02.550 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-Oct-2024 23:21:02.550 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-35919"] 31-Oct-2024 23:21:02.556 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-35919"] 31-Oct-2024 23:21:02.557 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 31-Oct-2024 23:21:02.561 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 31-Oct-2024 23:21:02.562 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-Oct-2024 23:21:02.566 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 31-Oct-2024 23:21:02.604 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-35013"] 31-Oct-2024 23:21:02.679 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@355ce81c] to web application [weaving]. 31-Oct-2024 23:21:02.679 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@29647f75] to web application [weaving]. 31-Oct-2024 23:21:02.680 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@29647f75] from web application [weaving]. 31-Oct-2024 23:21:02.683 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-35013"] 31-Oct-2024 23:21:02.684 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-Oct-2024 23:21:02.684 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-35013"] 31-Oct-2024 23:21:02.686 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-35013"] 31-Oct-2024 23:21:02.687 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 31-Oct-2024 23:21:02.689 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 31-Oct-2024 23:21:02.690 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-Oct-2024 23:21:02.690 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 31-Oct-2024 23:21:02.723 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-34129"] 31-Oct-2024 23:21:02.809 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1f97cf0d] to web application [weaving]. 31-Oct-2024 23:21:02.810 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@140c9f39] to web application [weaving]. 31-Oct-2024 23:21:02.810 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@140c9f39] from web application [weaving]. 31-Oct-2024 23:21:02.814 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-34129"] 31-Oct-2024 23:21:02.817 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-Oct-2024 23:21:02.818 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-34129"] 31-Oct-2024 23:21:02.821 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-34129"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.71 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.173 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.125 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.116 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.079 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.028 sec Testcase: testAddingNullTransformerThrowsException took 0.107 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.111 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.13 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.135 sec