Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.285 sec ------------- Standard Error ----------------- 25-Oct-2024 23:44:52.334 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 25-Oct-2024 23:44:53.916 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 25-Oct-2024 23:44:53.983 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 23:44:53.984 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 23:44:54.228 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-37903"] 25-Oct-2024 23:44:54.277 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-37903"] 25-Oct-2024 23:44:54.287 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 23:44:54.288 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-37903"] 25-Oct-2024 23:44:54.300 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-37903"] 25-Oct-2024 23:44:54.316 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 25-Oct-2024 23:44:54.320 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 25-Oct-2024 23:44:54.322 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 23:44:54.322 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 23:44:54.348 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-35653"] 25-Oct-2024 23:44:54.404 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2b48a640] to web application [weaving]. 25-Oct-2024 23:44:54.419 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-35653"] 25-Oct-2024 23:44:54.422 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 23:44:54.423 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-35653"] 25-Oct-2024 23:44:54.425 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-35653"] 25-Oct-2024 23:44:54.434 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 25-Oct-2024 23:44:54.436 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 25-Oct-2024 23:44:54.437 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 23:44:54.442 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 23:44:54.455 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-41457"] 25-Oct-2024 23:44:54.543 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@28f3b248] to web application [weaving]. 25-Oct-2024 23:44:54.548 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-41457"] 25-Oct-2024 23:44:54.550 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 23:44:54.551 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-41457"] 25-Oct-2024 23:44:54.553 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-41457"] 25-Oct-2024 23:44:54.556 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 25-Oct-2024 23:44:54.558 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 25-Oct-2024 23:44:54.560 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 23:44:54.565 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 23:44:54.587 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-36361"] 25-Oct-2024 23:44:54.644 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@156b88f5] to web application [weaving]. 25-Oct-2024 23:44:54.644 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3bf9ce3e] to web application [weaving]. 25-Oct-2024 23:44:54.650 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-36361"] 25-Oct-2024 23:44:54.653 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 23:44:54.654 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-36361"] 25-Oct-2024 23:44:54.656 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-36361"] 25-Oct-2024 23:44:54.662 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 25-Oct-2024 23:44:54.684 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 25-Oct-2024 23:44:54.686 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 23:44:54.687 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 23:44:54.704 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-39231"] 25-Oct-2024 23:44:54.841 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7205765b] to web application [weaving]. 25-Oct-2024 23:44:54.842 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@47987356] to web application [weaving]. 25-Oct-2024 23:44:54.845 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-39231"] 25-Oct-2024 23:44:54.846 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 23:44:54.846 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-39231"] 25-Oct-2024 23:44:54.858 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-39231"] 25-Oct-2024 23:44:54.859 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 25-Oct-2024 23:44:54.872 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 25-Oct-2024 23:44:54.872 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 23:44:54.873 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 23:44:54.885 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-40611"] 25-Oct-2024 23:44:54.902 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@58695725] to web application [weaving]. 25-Oct-2024 23:44:54.902 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@543588e6] to web application [weaving]. 25-Oct-2024 23:44:54.906 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-40611"] 25-Oct-2024 23:44:54.915 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 23:44:54.915 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-40611"] 25-Oct-2024 23:44:54.922 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-40611"] 25-Oct-2024 23:44:54.924 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 25-Oct-2024 23:44:54.927 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 25-Oct-2024 23:44:54.927 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 23:44:54.928 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 23:44:54.953 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-40035"] 25-Oct-2024 23:44:55.035 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-40035"] 25-Oct-2024 23:44:55.036 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 23:44:55.037 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-40035"] 25-Oct-2024 23:44:55.041 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-40035"] 25-Oct-2024 23:44:55.043 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 25-Oct-2024 23:44:55.045 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 25-Oct-2024 23:44:55.047 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 23:44:55.049 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 23:44:55.071 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-34211"] 25-Oct-2024 23:44:55.144 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3c7f66c4] to web application [weaving]. 25-Oct-2024 23:44:55.145 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3c7f66c4] from web application [weaving]. 25-Oct-2024 23:44:55.150 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-34211"] 25-Oct-2024 23:44:55.150 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 23:44:55.151 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-34211"] 25-Oct-2024 23:44:55.155 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-34211"] 25-Oct-2024 23:44:55.156 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 25-Oct-2024 23:44:55.158 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 25-Oct-2024 23:44:55.171 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 23:44:55.171 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 23:44:55.189 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-37769"] 25-Oct-2024 23:44:55.248 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7bab3f1a] to web application [weaving]. 25-Oct-2024 23:44:55.248 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@437da279] to web application [weaving]. 25-Oct-2024 23:44:55.248 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@437da279] from web application [weaving]. 25-Oct-2024 23:44:55.252 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-37769"] 25-Oct-2024 23:44:55.252 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 23:44:55.252 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-37769"] 25-Oct-2024 23:44:55.255 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-37769"] 25-Oct-2024 23:44:55.257 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 25-Oct-2024 23:44:55.258 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 25-Oct-2024 23:44:55.259 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 23:44:55.259 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 23:44:55.263 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-41937"] 25-Oct-2024 23:44:55.288 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@27f981c6] to web application [weaving]. 25-Oct-2024 23:44:55.288 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1b11171f] to web application [weaving]. 25-Oct-2024 23:44:55.288 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1b11171f] from web application [weaving]. 25-Oct-2024 23:44:55.291 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-41937"] 25-Oct-2024 23:44:55.291 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 23:44:55.292 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-41937"] 25-Oct-2024 23:44:55.294 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-41937"] ------------- ---------------- --------------- Testcase: testNoWeaving took 2.175 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.118 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.121 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.104 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.199 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.064 sec Testcase: testAddingNullTransformerThrowsException took 0.119 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.114 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.1 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.039 sec