Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.892 sec ------------- Standard Error ----------------- 23-Nov-2024 00:34:29.246 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 23-Nov-2024 00:34:30.561 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 23-Nov-2024 00:34:30.598 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Nov-2024 00:34:30.598 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 23-Nov-2024 00:34:30.730 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-35011"] 23-Nov-2024 00:34:30.877 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-35011"] 23-Nov-2024 00:34:30.889 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Nov-2024 00:34:30.890 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-35011"] 23-Nov-2024 00:34:30.892 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-35011"] 23-Nov-2024 00:34:30.921 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 23-Nov-2024 00:34:30.923 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 23-Nov-2024 00:34:30.928 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Nov-2024 00:34:30.928 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 23-Nov-2024 00:34:30.950 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-42263"] 23-Nov-2024 00:34:30.988 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7a419da4] to web application [weaving]. 23-Nov-2024 00:34:30.996 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-42263"] 23-Nov-2024 00:34:30.998 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Nov-2024 00:34:30.999 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-42263"] 23-Nov-2024 00:34:31.002 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-42263"] 23-Nov-2024 00:34:31.006 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 23-Nov-2024 00:34:31.014 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 23-Nov-2024 00:34:31.014 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Nov-2024 00:34:31.015 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 23-Nov-2024 00:34:31.039 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-44441"] 23-Nov-2024 00:34:31.143 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@581ac8a8] to web application [weaving]. 23-Nov-2024 00:34:31.148 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-44441"] 23-Nov-2024 00:34:31.149 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Nov-2024 00:34:31.150 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-44441"] 23-Nov-2024 00:34:31.152 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-44441"] 23-Nov-2024 00:34:31.154 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 23-Nov-2024 00:34:31.156 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 23-Nov-2024 00:34:31.158 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Nov-2024 00:34:31.159 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 23-Nov-2024 00:34:31.172 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-40127"] 23-Nov-2024 00:34:31.184 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@71def8f8] to web application [weaving]. 23-Nov-2024 00:34:31.185 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@383bfa16] to web application [weaving]. 23-Nov-2024 00:34:31.190 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-40127"] 23-Nov-2024 00:34:31.190 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Nov-2024 00:34:31.191 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-40127"] 23-Nov-2024 00:34:31.192 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-40127"] 23-Nov-2024 00:34:31.199 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 23-Nov-2024 00:34:31.202 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 23-Nov-2024 00:34:31.210 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Nov-2024 00:34:31.211 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 23-Nov-2024 00:34:31.218 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-39801"] 23-Nov-2024 00:34:31.226 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6283d8b8] to web application [weaving]. 23-Nov-2024 00:34:31.226 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3b6ddd1d] to web application [weaving]. 23-Nov-2024 00:34:31.229 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-39801"] 23-Nov-2024 00:34:31.234 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Nov-2024 00:34:31.234 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-39801"] 23-Nov-2024 00:34:31.239 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-39801"] 23-Nov-2024 00:34:31.244 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 23-Nov-2024 00:34:31.246 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 23-Nov-2024 00:34:31.247 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Nov-2024 00:34:31.247 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 23-Nov-2024 00:34:31.258 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-36767"] 23-Nov-2024 00:34:31.265 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4fb3ee4e] to web application [weaving]. 23-Nov-2024 00:34:31.265 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5d7148e2] to web application [weaving]. 23-Nov-2024 00:34:31.270 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-36767"] 23-Nov-2024 00:34:31.273 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Nov-2024 00:34:31.273 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-36767"] 23-Nov-2024 00:34:31.278 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-36767"] 23-Nov-2024 00:34:31.280 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 23-Nov-2024 00:34:31.289 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 23-Nov-2024 00:34:31.290 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Nov-2024 00:34:31.290 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 23-Nov-2024 00:34:31.313 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-45699"] 23-Nov-2024 00:34:31.443 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-45699"] 23-Nov-2024 00:34:31.443 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Nov-2024 00:34:31.444 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-45699"] 23-Nov-2024 00:34:31.451 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-45699"] 23-Nov-2024 00:34:31.453 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 23-Nov-2024 00:34:31.472 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 23-Nov-2024 00:34:31.473 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Nov-2024 00:34:31.473 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 23-Nov-2024 00:34:31.485 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-45573"] 23-Nov-2024 00:34:31.623 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@f0da945] to web application [weaving]. 23-Nov-2024 00:34:31.624 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@f0da945] from web application [weaving]. 23-Nov-2024 00:34:31.628 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-45573"] 23-Nov-2024 00:34:31.629 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Nov-2024 00:34:31.629 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-45573"] 23-Nov-2024 00:34:31.635 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-45573"] 23-Nov-2024 00:34:31.636 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 23-Nov-2024 00:34:31.638 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 23-Nov-2024 00:34:31.638 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Nov-2024 00:34:31.638 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 23-Nov-2024 00:34:31.649 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-44515"] 23-Nov-2024 00:34:31.660 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1e1a0406] to web application [weaving]. 23-Nov-2024 00:34:31.661 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3cebbb30] to web application [weaving]. 23-Nov-2024 00:34:31.661 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3cebbb30] from web application [weaving]. 23-Nov-2024 00:34:31.669 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-44515"] 23-Nov-2024 00:34:31.669 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Nov-2024 00:34:31.670 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-44515"] 23-Nov-2024 00:34:31.673 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-44515"] 23-Nov-2024 00:34:31.682 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 23-Nov-2024 00:34:31.684 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 23-Nov-2024 00:34:31.684 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Nov-2024 00:34:31.685 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 23-Nov-2024 00:34:31.733 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-39029"] 23-Nov-2024 00:34:31.754 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2dc54ad4] to web application [weaving]. 23-Nov-2024 00:34:31.754 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4659191b] to web application [weaving]. 23-Nov-2024 00:34:31.754 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4659191b] from web application [weaving]. 23-Nov-2024 00:34:31.759 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-39029"] 23-Nov-2024 00:34:31.759 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Nov-2024 00:34:31.759 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-39029"] 23-Nov-2024 00:34:31.762 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-39029"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.84 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.095 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.148 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.04 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.046 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.036 sec Testcase: testAddingNullTransformerThrowsException took 0.172 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.183 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.046 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.084 sec