Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.859 sec ------------- Standard Error ----------------- 31-Oct-2024 15:59:40.205 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 31-Oct-2024 15:59:41.770 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 31-Oct-2024 15:59:41.824 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-Oct-2024 15:59:41.825 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 31-Oct-2024 15:59:42.124 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-41071"] 31-Oct-2024 15:59:42.213 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-41071"] 31-Oct-2024 15:59:42.222 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-Oct-2024 15:59:42.223 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-41071"] 31-Oct-2024 15:59:42.233 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-41071"] 31-Oct-2024 15:59:42.242 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 31-Oct-2024 15:59:42.243 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 31-Oct-2024 15:59:42.253 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-Oct-2024 15:59:42.253 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 31-Oct-2024 15:59:42.260 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-40939"] 31-Oct-2024 15:59:42.307 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1e683a3e] to web application [weaving]. 31-Oct-2024 15:59:42.311 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-40939"] 31-Oct-2024 15:59:42.315 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-Oct-2024 15:59:42.316 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-40939"] 31-Oct-2024 15:59:42.324 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-40939"] 31-Oct-2024 15:59:42.325 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 31-Oct-2024 15:59:42.330 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 31-Oct-2024 15:59:42.330 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-Oct-2024 15:59:42.331 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 31-Oct-2024 15:59:42.343 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-37341"] 31-Oct-2024 15:59:42.380 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1b1426f4] to web application [weaving]. 31-Oct-2024 15:59:42.386 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-37341"] 31-Oct-2024 15:59:42.386 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-Oct-2024 15:59:42.386 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-37341"] 31-Oct-2024 15:59:42.388 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-37341"] 31-Oct-2024 15:59:42.390 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 31-Oct-2024 15:59:42.392 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 31-Oct-2024 15:59:42.393 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-Oct-2024 15:59:42.393 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 31-Oct-2024 15:59:42.399 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-43449"] 31-Oct-2024 15:59:42.402 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3bf9ce3e] to web application [weaving]. 31-Oct-2024 15:59:42.414 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@16610890] to web application [weaving]. 31-Oct-2024 15:59:42.420 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-43449"] 31-Oct-2024 15:59:42.423 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-Oct-2024 15:59:42.423 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-43449"] 31-Oct-2024 15:59:42.429 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-43449"] 31-Oct-2024 15:59:42.431 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 31-Oct-2024 15:59:42.433 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 31-Oct-2024 15:59:42.433 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-Oct-2024 15:59:42.434 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 31-Oct-2024 15:59:42.442 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-37421"] 31-Oct-2024 15:59:42.468 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@47987356] to web application [weaving]. 31-Oct-2024 15:59:42.468 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@22ef9844] to web application [weaving]. 31-Oct-2024 15:59:42.473 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-37421"] 31-Oct-2024 15:59:42.478 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-Oct-2024 15:59:42.478 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-37421"] 31-Oct-2024 15:59:42.479 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-37421"] 31-Oct-2024 15:59:42.481 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 31-Oct-2024 15:59:42.483 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 31-Oct-2024 15:59:42.484 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-Oct-2024 15:59:42.485 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 31-Oct-2024 15:59:42.491 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-34497"] 31-Oct-2024 15:59:42.513 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@543588e6] to web application [weaving]. 31-Oct-2024 15:59:42.514 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@f5acb9d] to web application [weaving]. 31-Oct-2024 15:59:42.518 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-34497"] 31-Oct-2024 15:59:42.518 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-Oct-2024 15:59:42.518 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-34497"] 31-Oct-2024 15:59:42.540 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-34497"] 31-Oct-2024 15:59:42.542 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 31-Oct-2024 15:59:42.545 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 31-Oct-2024 15:59:42.546 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-Oct-2024 15:59:42.546 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 31-Oct-2024 15:59:42.561 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-39247"] 31-Oct-2024 15:59:42.579 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-39247"] 31-Oct-2024 15:59:42.579 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-Oct-2024 15:59:42.580 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-39247"] 31-Oct-2024 15:59:42.582 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-39247"] 31-Oct-2024 15:59:42.584 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 31-Oct-2024 15:59:42.585 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 31-Oct-2024 15:59:42.586 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-Oct-2024 15:59:42.587 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 31-Oct-2024 15:59:42.592 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-42059"] 31-Oct-2024 15:59:42.621 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@194bcebf] to web application [weaving]. 31-Oct-2024 15:59:42.622 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@194bcebf] from web application [weaving]. 31-Oct-2024 15:59:42.626 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-42059"] 31-Oct-2024 15:59:42.632 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-Oct-2024 15:59:42.634 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-42059"] 31-Oct-2024 15:59:42.638 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-42059"] 31-Oct-2024 15:59:42.640 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 31-Oct-2024 15:59:42.643 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 31-Oct-2024 15:59:42.644 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-Oct-2024 15:59:42.644 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 31-Oct-2024 15:59:42.672 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-38633"] 31-Oct-2024 15:59:42.712 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@437da279] to web application [weaving]. 31-Oct-2024 15:59:42.713 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@23c30a20] to web application [weaving]. 31-Oct-2024 15:59:42.713 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@23c30a20] from web application [weaving]. 31-Oct-2024 15:59:42.717 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-38633"] 31-Oct-2024 15:59:42.721 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-Oct-2024 15:59:42.721 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-38633"] 31-Oct-2024 15:59:42.724 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-38633"] 31-Oct-2024 15:59:42.730 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 31-Oct-2024 15:59:42.739 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 31-Oct-2024 15:59:42.743 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-Oct-2024 15:59:42.744 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 31-Oct-2024 15:59:42.750 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-43917"] 31-Oct-2024 15:59:42.762 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1b11171f] to web application [weaving]. 31-Oct-2024 15:59:42.762 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1151e434] to web application [weaving]. 31-Oct-2024 15:59:42.762 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1151e434] from web application [weaving]. 31-Oct-2024 15:59:42.777 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-43917"] 31-Oct-2024 15:59:42.779 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-Oct-2024 15:59:42.779 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-43917"] 31-Oct-2024 15:59:42.785 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-43917"] ------------- ---------------- --------------- Testcase: testNoWeaving took 2.156 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.084 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.064 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.04 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.05 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.061 sec Testcase: testAddingNullTransformerThrowsException took 0.042 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.056 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.087 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.064 sec