Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.886 sec ------------- Standard Error ----------------- 18-Oct-2023 16:31:38.357 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 18-Oct-2023 16:31:39.112 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 18-Oct-2023 16:31:39.246 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Oct-2023 16:31:39.246 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 18-Oct-2023 16:31:39.480 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-36131"] 18-Oct-2023 16:31:39.521 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-36131"] 18-Oct-2023 16:31:39.530 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Oct-2023 16:31:39.531 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-36131"] 18-Oct-2023 16:31:39.534 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-36131"] 18-Oct-2023 16:31:39.545 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 18-Oct-2023 16:31:39.547 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 18-Oct-2023 16:31:39.556 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Oct-2023 16:31:39.556 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 18-Oct-2023 16:31:39.561 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-36947"] 18-Oct-2023 16:31:39.562 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@29e495ff] to web application [weaving]. 18-Oct-2023 16:31:39.570 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-36947"] 18-Oct-2023 16:31:39.571 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Oct-2023 16:31:39.571 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-36947"] 18-Oct-2023 16:31:39.572 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-36947"] 18-Oct-2023 16:31:39.575 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 18-Oct-2023 16:31:39.577 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 18-Oct-2023 16:31:39.585 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Oct-2023 16:31:39.585 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 18-Oct-2023 16:31:39.591 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-46275"] 18-Oct-2023 16:31:39.592 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1613674b] to web application [weaving]. 18-Oct-2023 16:31:39.597 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-46275"] 18-Oct-2023 16:31:39.599 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Oct-2023 16:31:39.599 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-46275"] 18-Oct-2023 16:31:39.600 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-46275"] 18-Oct-2023 16:31:39.608 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 18-Oct-2023 16:31:39.610 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 18-Oct-2023 16:31:39.630 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Oct-2023 16:31:39.630 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 18-Oct-2023 16:31:39.642 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-45633"] 18-Oct-2023 16:31:39.643 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@48974e45] to web application [weaving]. 18-Oct-2023 16:31:39.643 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6a84a97d] to web application [weaving]. 18-Oct-2023 16:31:39.654 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-45633"] 18-Oct-2023 16:31:39.655 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Oct-2023 16:31:39.655 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-45633"] 18-Oct-2023 16:31:39.656 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-45633"] 18-Oct-2023 16:31:39.659 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 18-Oct-2023 16:31:39.664 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 18-Oct-2023 16:31:39.675 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Oct-2023 16:31:39.675 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 18-Oct-2023 16:31:39.680 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-41061"] 18-Oct-2023 16:31:39.681 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7ea9e1e2] to web application [weaving]. 18-Oct-2023 16:31:39.681 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@24fcf36f] to web application [weaving]. 18-Oct-2023 16:31:39.684 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-41061"] 18-Oct-2023 16:31:39.685 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Oct-2023 16:31:39.685 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-41061"] 18-Oct-2023 16:31:39.685 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-41061"] 18-Oct-2023 16:31:39.689 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 18-Oct-2023 16:31:39.690 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 18-Oct-2023 16:31:39.727 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Oct-2023 16:31:39.727 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 18-Oct-2023 16:31:39.732 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45765"] 18-Oct-2023 16:31:39.733 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@429bffaa] to web application [weaving]. 18-Oct-2023 16:31:39.733 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5403f35f] to web application [weaving]. 18-Oct-2023 16:31:39.736 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45765"] 18-Oct-2023 16:31:39.739 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Oct-2023 16:31:39.740 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45765"] 18-Oct-2023 16:31:39.740 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45765"] 18-Oct-2023 16:31:39.744 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 18-Oct-2023 16:31:39.745 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 18-Oct-2023 16:31:39.756 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Oct-2023 16:31:39.756 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 18-Oct-2023 16:31:39.760 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-42013"] 18-Oct-2023 16:31:39.764 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-42013"] 18-Oct-2023 16:31:39.764 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Oct-2023 16:31:39.765 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-42013"] 18-Oct-2023 16:31:39.765 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-42013"] 18-Oct-2023 16:31:39.768 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 18-Oct-2023 16:31:39.769 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 18-Oct-2023 16:31:39.800 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Oct-2023 16:31:39.800 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 18-Oct-2023 16:31:39.807 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-45855"] 18-Oct-2023 16:31:39.810 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@56cdfb3b] to web application [weaving]. 18-Oct-2023 16:31:39.811 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@56cdfb3b] from web application [weaving]. 18-Oct-2023 16:31:39.814 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-45855"] 18-Oct-2023 16:31:39.815 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Oct-2023 16:31:39.815 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-45855"] 18-Oct-2023 16:31:39.816 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-45855"] 18-Oct-2023 16:31:39.821 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 18-Oct-2023 16:31:39.825 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 18-Oct-2023 16:31:39.834 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Oct-2023 16:31:39.834 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 18-Oct-2023 16:31:39.838 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-45525"] 18-Oct-2023 16:31:39.838 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6cd28fa7] to web application [weaving]. 18-Oct-2023 16:31:39.838 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@614ca7df] to web application [weaving]. 18-Oct-2023 16:31:39.839 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@614ca7df] from web application [weaving]. 18-Oct-2023 16:31:39.841 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-45525"] 18-Oct-2023 16:31:39.842 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Oct-2023 16:31:39.842 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-45525"] 18-Oct-2023 16:31:39.843 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-45525"] 18-Oct-2023 16:31:39.849 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 18-Oct-2023 16:31:39.851 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 18-Oct-2023 16:31:39.860 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Oct-2023 16:31:39.860 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 18-Oct-2023 16:31:39.868 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42555"] 18-Oct-2023 16:31:39.870 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@306e95ec] to web application [weaving]. 18-Oct-2023 16:31:39.870 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@52af26ee] to web application [weaving]. 18-Oct-2023 16:31:39.870 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@52af26ee] from web application [weaving]. 18-Oct-2023 16:31:39.873 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42555"] 18-Oct-2023 16:31:39.875 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Oct-2023 16:31:39.876 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42555"] 18-Oct-2023 16:31:39.876 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42555"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.327 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.031 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.031 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.053 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.029 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.054 sec Testcase: testAddingNullTransformerThrowsException took 0.024 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.052 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.029 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.029 sec