Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.85 sec ------------- Standard Error ----------------- 11-Nov-2024 11:13:47.332 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 11-Nov-2024 11:13:48.280 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 11-Nov-2024 11:13:48.420 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Nov-2024 11:13:48.421 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Nov-2024 11:13:48.636 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-42073"] 11-Nov-2024 11:13:48.685 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-42073"] 11-Nov-2024 11:13:48.697 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Nov-2024 11:13:48.698 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-42073"] 11-Nov-2024 11:13:48.704 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-42073"] 11-Nov-2024 11:13:48.721 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 11-Nov-2024 11:13:48.723 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 11-Nov-2024 11:13:48.846 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Nov-2024 11:13:48.846 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Nov-2024 11:13:48.854 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46849"] 11-Nov-2024 11:13:48.859 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@10aa41f2] to web application [weaving]. 11-Nov-2024 11:13:48.865 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46849"] 11-Nov-2024 11:13:48.866 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Nov-2024 11:13:48.867 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46849"] 11-Nov-2024 11:13:48.868 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46849"] 11-Nov-2024 11:13:48.876 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 11-Nov-2024 11:13:48.878 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 11-Nov-2024 11:13:49.036 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Nov-2024 11:13:49.037 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Nov-2024 11:13:49.047 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-35193"] 11-Nov-2024 11:13:49.062 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 11:13:49.066 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-35193"] 11-Nov-2024 11:13:49.067 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Nov-2024 11:13:49.067 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-35193"] 11-Nov-2024 11:13:49.068 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-35193"] 11-Nov-2024 11:13:49.072 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 11-Nov-2024 11:13:49.074 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 11-Nov-2024 11:13:49.103 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Nov-2024 11:13:49.104 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Nov-2024 11:13:49.116 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-33425"] 11-Nov-2024 11:13:49.117 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 11:13:49.117 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@a1cdc6d] to web application [weaving]. 11-Nov-2024 11:13:49.132 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-33425"] 11-Nov-2024 11:13:49.133 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Nov-2024 11:13:49.133 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-33425"] 11-Nov-2024 11:13:49.133 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-33425"] 11-Nov-2024 11:13:49.147 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 11-Nov-2024 11:13:49.149 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 11-Nov-2024 11:13:49.253 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Nov-2024 11:13:49.254 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Nov-2024 11:13:49.271 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-46259"] 11-Nov-2024 11:13:49.272 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7c83dc97] to web application [weaving]. 11-Nov-2024 11:13:49.272 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7748410a] to web application [weaving]. 11-Nov-2024 11:13:49.276 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-46259"] 11-Nov-2024 11:13:49.277 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Nov-2024 11:13:49.277 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-46259"] 11-Nov-2024 11:13:49.284 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-46259"] 11-Nov-2024 11:13:49.290 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 11-Nov-2024 11:13:49.294 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 11-Nov-2024 11:13:49.386 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Nov-2024 11:13:49.387 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Nov-2024 11:13:49.392 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36387"] 11-Nov-2024 11:13:49.397 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@28975c28] to web application [weaving]. 11-Nov-2024 11:13:49.397 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3943a2be] to web application [weaving]. 11-Nov-2024 11:13:49.401 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36387"] 11-Nov-2024 11:13:49.402 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Nov-2024 11:13:49.403 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36387"] 11-Nov-2024 11:13:49.403 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36387"] 11-Nov-2024 11:13:49.409 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 11-Nov-2024 11:13:49.411 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 11-Nov-2024 11:13:49.483 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Nov-2024 11:13:49.483 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Nov-2024 11:13:49.518 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-36935"] 11-Nov-2024 11:13:49.535 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-36935"] 11-Nov-2024 11:13:49.536 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Nov-2024 11:13:49.536 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-36935"] 11-Nov-2024 11:13:49.537 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-36935"] 11-Nov-2024 11:13:49.540 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 11-Nov-2024 11:13:49.542 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 11-Nov-2024 11:13:49.631 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Nov-2024 11:13:49.631 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Nov-2024 11:13:49.651 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36095"] 11-Nov-2024 11:13:49.652 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@37858383] to web application [weaving]. 11-Nov-2024 11:13:49.652 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@37858383] from web application [weaving]. 11-Nov-2024 11:13:49.656 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36095"] 11-Nov-2024 11:13:49.657 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Nov-2024 11:13:49.657 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36095"] 11-Nov-2024 11:13:49.659 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36095"] 11-Nov-2024 11:13:49.667 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 11-Nov-2024 11:13:49.669 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 11-Nov-2024 11:13:49.682 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Nov-2024 11:13:49.682 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Nov-2024 11:13:49.688 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44003"] 11-Nov-2024 11:13:49.693 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@366647c2] to web application [weaving]. 11-Nov-2024 11:13:49.693 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6a6afff2] to web application [weaving]. 11-Nov-2024 11:13:49.693 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6a6afff2] from web application [weaving]. 11-Nov-2024 11:13:49.697 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44003"] 11-Nov-2024 11:13:49.699 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Nov-2024 11:13:49.699 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44003"] 11-Nov-2024 11:13:49.700 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44003"] 11-Nov-2024 11:13:49.703 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 11-Nov-2024 11:13:49.705 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 11-Nov-2024 11:13:49.788 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Nov-2024 11:13:49.788 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Nov-2024 11:13:49.806 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36581"] 11-Nov-2024 11:13:49.814 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@61386958] to web application [weaving]. 11-Nov-2024 11:13:49.814 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@73ee04c8] to web application [weaving]. 11-Nov-2024 11:13:49.814 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@73ee04c8] from web application [weaving]. 11-Nov-2024 11:13:49.818 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36581"] 11-Nov-2024 11:13:49.819 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Nov-2024 11:13:49.820 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36581"] 11-Nov-2024 11:13:49.821 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36581"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.554 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.155 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.196 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.069 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.146 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.119 sec Testcase: testAddingNullTransformerThrowsException took 0.131 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.127 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.035 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.121 sec