Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.876 sec ------------- Standard Error ----------------- 01-Nov-2024 10:51:46.531 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 01-Nov-2024 10:51:47.769 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 01-Nov-2024 10:51:47.829 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Nov-2024 10:51:47.830 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 01-Nov-2024 10:51:48.060 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-41451"] 01-Nov-2024 10:51:48.235 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-41451"] 01-Nov-2024 10:51:48.241 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Nov-2024 10:51:48.247 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-41451"] 01-Nov-2024 10:51:48.252 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-41451"] 01-Nov-2024 10:51:48.266 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 01-Nov-2024 10:51:48.268 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 01-Nov-2024 10:51:48.270 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Nov-2024 10:51:48.272 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 01-Nov-2024 10:51:48.289 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-43405"] 01-Nov-2024 10:51:48.338 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2b48a640] to web application [weaving]. 01-Nov-2024 10:51:48.342 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-43405"] 01-Nov-2024 10:51:48.345 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Nov-2024 10:51:48.350 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-43405"] 01-Nov-2024 10:51:48.353 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-43405"] 01-Nov-2024 10:51:48.359 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 01-Nov-2024 10:51:48.362 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 01-Nov-2024 10:51:48.365 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Nov-2024 10:51:48.366 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 01-Nov-2024 10:51:48.394 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-44783"] 01-Nov-2024 10:51:48.535 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@28f3b248] to web application [weaving]. 01-Nov-2024 10:51:48.539 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-44783"] 01-Nov-2024 10:51:48.540 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Nov-2024 10:51:48.541 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-44783"] 01-Nov-2024 10:51:48.544 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-44783"] 01-Nov-2024 10:51:48.546 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 01-Nov-2024 10:51:48.548 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 01-Nov-2024 10:51:48.549 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Nov-2024 10:51:48.549 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 01-Nov-2024 10:51:48.566 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-38425"] 01-Nov-2024 10:51:48.573 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@156b88f5] to web application [weaving]. 01-Nov-2024 10:51:48.573 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3bf9ce3e] to web application [weaving]. 01-Nov-2024 10:51:48.579 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-38425"] 01-Nov-2024 10:51:48.581 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Nov-2024 10:51:48.582 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-38425"] 01-Nov-2024 10:51:48.585 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-38425"] 01-Nov-2024 10:51:48.589 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 01-Nov-2024 10:51:48.591 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 01-Nov-2024 10:51:48.594 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Nov-2024 10:51:48.595 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 01-Nov-2024 10:51:48.603 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-41605"] 01-Nov-2024 10:51:48.607 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7205765b] to web application [weaving]. 01-Nov-2024 10:51:48.607 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@47987356] to web application [weaving]. 01-Nov-2024 10:51:48.610 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-41605"] 01-Nov-2024 10:51:48.611 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Nov-2024 10:51:48.612 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-41605"] 01-Nov-2024 10:51:48.614 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-41605"] 01-Nov-2024 10:51:48.617 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 01-Nov-2024 10:51:48.622 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 01-Nov-2024 10:51:48.623 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Nov-2024 10:51:48.623 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 01-Nov-2024 10:51:48.630 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-44273"] 01-Nov-2024 10:51:48.702 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@58695725] to web application [weaving]. 01-Nov-2024 10:51:48.702 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@543588e6] to web application [weaving]. 01-Nov-2024 10:51:48.707 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-44273"] 01-Nov-2024 10:51:48.707 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Nov-2024 10:51:48.707 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-44273"] 01-Nov-2024 10:51:48.710 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-44273"] 01-Nov-2024 10:51:48.713 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 01-Nov-2024 10:51:48.731 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 01-Nov-2024 10:51:48.732 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Nov-2024 10:51:48.738 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 01-Nov-2024 10:51:48.747 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-43351"] 01-Nov-2024 10:51:48.810 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-43351"] 01-Nov-2024 10:51:48.811 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Nov-2024 10:51:48.812 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-43351"] 01-Nov-2024 10:51:48.815 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-43351"] 01-Nov-2024 10:51:48.817 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 01-Nov-2024 10:51:48.819 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 01-Nov-2024 10:51:48.820 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Nov-2024 10:51:48.821 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 01-Nov-2024 10:51:48.830 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-42687"] 01-Nov-2024 10:51:48.906 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3c7f66c4] to web application [weaving]. 01-Nov-2024 10:51:48.906 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3c7f66c4] from web application [weaving]. 01-Nov-2024 10:51:48.910 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-42687"] 01-Nov-2024 10:51:48.910 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Nov-2024 10:51:48.910 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-42687"] 01-Nov-2024 10:51:48.921 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-42687"] 01-Nov-2024 10:51:48.923 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 01-Nov-2024 10:51:48.927 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 01-Nov-2024 10:51:48.927 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Nov-2024 10:51:48.945 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 01-Nov-2024 10:51:48.977 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-35543"] 01-Nov-2024 10:51:49.039 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7bab3f1a] to web application [weaving]. 01-Nov-2024 10:51:49.040 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@437da279] to web application [weaving]. 01-Nov-2024 10:51:49.040 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@437da279] from web application [weaving]. 01-Nov-2024 10:51:49.044 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-35543"] 01-Nov-2024 10:51:49.044 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Nov-2024 10:51:49.045 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-35543"] 01-Nov-2024 10:51:49.047 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-35543"] 01-Nov-2024 10:51:49.048 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 01-Nov-2024 10:51:49.050 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 01-Nov-2024 10:51:49.059 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Nov-2024 10:51:49.060 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 01-Nov-2024 10:51:49.075 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-46199"] 01-Nov-2024 10:51:49.191 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@27f981c6] to web application [weaving]. 01-Nov-2024 10:51:49.192 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1b11171f] to web application [weaving]. 01-Nov-2024 10:51:49.192 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1b11171f] from web application [weaving]. 01-Nov-2024 10:51:49.197 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-46199"] 01-Nov-2024 10:51:49.198 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Nov-2024 10:51:49.198 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-46199"] 01-Nov-2024 10:51:49.200 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-46199"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.826 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.093 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.187 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.042 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.028 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.095 sec Testcase: testAddingNullTransformerThrowsException took 0.104 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.106 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.125 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.153 sec