Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.083 sec ------------- Standard Error ----------------- 23-Jan-2024 11:26:00.471 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 23-Jan-2024 11:26:01.627 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 23-Jan-2024 11:26:01.680 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Jan-2024 11:26:01.681 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 23-Jan-2024 11:26:01.943 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-36907"] 23-Jan-2024 11:26:02.175 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-36907"] 23-Jan-2024 11:26:02.183 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Jan-2024 11:26:02.185 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-36907"] 23-Jan-2024 11:26:02.192 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-36907"] 23-Jan-2024 11:26:02.201 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 23-Jan-2024 11:26:02.203 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 23-Jan-2024 11:26:02.212 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Jan-2024 11:26:02.212 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 23-Jan-2024 11:26:02.228 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-34379"] 23-Jan-2024 11:26:02.348 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@53976f5c] to web application [weaving]. 23-Jan-2024 11:26:02.352 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-34379"] 23-Jan-2024 11:26:02.354 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Jan-2024 11:26:02.355 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-34379"] 23-Jan-2024 11:26:02.358 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-34379"] 23-Jan-2024 11:26:02.363 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 23-Jan-2024 11:26:02.365 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 23-Jan-2024 11:26:02.373 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Jan-2024 11:26:02.373 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 23-Jan-2024 11:26:02.387 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-44519"] 23-Jan-2024 11:26:02.443 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@b62d79] to web application [weaving]. 23-Jan-2024 11:26:02.446 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-44519"] 23-Jan-2024 11:26:02.450 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Jan-2024 11:26:02.450 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-44519"] 23-Jan-2024 11:26:02.453 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-44519"] 23-Jan-2024 11:26:02.455 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 23-Jan-2024 11:26:02.456 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 23-Jan-2024 11:26:02.457 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Jan-2024 11:26:02.457 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 23-Jan-2024 11:26:02.487 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-42059"] 23-Jan-2024 11:26:02.541 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@15bbf42f] to web application [weaving]. 23-Jan-2024 11:26:02.541 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@550ee7e5] to web application [weaving]. 23-Jan-2024 11:26:02.558 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-42059"] 23-Jan-2024 11:26:02.559 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Jan-2024 11:26:02.560 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-42059"] 23-Jan-2024 11:26:02.563 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-42059"] 23-Jan-2024 11:26:02.567 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 23-Jan-2024 11:26:02.577 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 23-Jan-2024 11:26:02.578 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Jan-2024 11:26:02.578 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 23-Jan-2024 11:26:02.582 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-41775"] 23-Jan-2024 11:26:02.593 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@15aab8c6] to web application [weaving]. 23-Jan-2024 11:26:02.593 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@33990a0c] to web application [weaving]. 23-Jan-2024 11:26:02.595 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-41775"] 23-Jan-2024 11:26:02.596 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Jan-2024 11:26:02.596 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-41775"] 23-Jan-2024 11:26:02.599 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-41775"] 23-Jan-2024 11:26:02.602 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 23-Jan-2024 11:26:02.605 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 23-Jan-2024 11:26:02.605 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Jan-2024 11:26:02.606 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 23-Jan-2024 11:26:02.612 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-44073"] 23-Jan-2024 11:26:02.719 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3d5c822d] to web application [weaving]. 23-Jan-2024 11:26:02.720 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6f46426d] to web application [weaving]. 23-Jan-2024 11:26:02.723 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-44073"] 23-Jan-2024 11:26:02.724 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Jan-2024 11:26:02.724 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-44073"] 23-Jan-2024 11:26:02.727 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-44073"] 23-Jan-2024 11:26:02.728 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 23-Jan-2024 11:26:02.730 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 23-Jan-2024 11:26:02.730 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Jan-2024 11:26:02.730 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 23-Jan-2024 11:26:02.742 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-39789"] 23-Jan-2024 11:26:02.843 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-39789"] 23-Jan-2024 11:26:02.843 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Jan-2024 11:26:02.843 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-39789"] 23-Jan-2024 11:26:02.845 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-39789"] 23-Jan-2024 11:26:02.847 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 23-Jan-2024 11:26:02.848 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 23-Jan-2024 11:26:02.849 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Jan-2024 11:26:02.849 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 23-Jan-2024 11:26:02.874 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-41773"] 23-Jan-2024 11:26:02.879 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@73e22a3d] to web application [weaving]. 23-Jan-2024 11:26:02.879 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@73e22a3d] from web application [weaving]. 23-Jan-2024 11:26:02.882 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-41773"] 23-Jan-2024 11:26:02.882 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Jan-2024 11:26:02.882 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-41773"] 23-Jan-2024 11:26:02.897 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-41773"] 23-Jan-2024 11:26:02.904 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 23-Jan-2024 11:26:02.905 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 23-Jan-2024 11:26:02.906 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Jan-2024 11:26:02.906 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 23-Jan-2024 11:26:02.918 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-38897"] 23-Jan-2024 11:26:02.955 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1da2cb77] to web application [weaving]. 23-Jan-2024 11:26:02.955 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@48f278eb] to web application [weaving]. 23-Jan-2024 11:26:02.955 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@48f278eb] from web application [weaving]. 23-Jan-2024 11:26:02.959 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-38897"] 23-Jan-2024 11:26:02.960 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Jan-2024 11:26:02.960 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-38897"] 23-Jan-2024 11:26:02.964 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-38897"] 23-Jan-2024 11:26:02.965 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 23-Jan-2024 11:26:02.966 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 23-Jan-2024 11:26:02.967 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Jan-2024 11:26:02.967 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 23-Jan-2024 11:26:02.990 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-37361"] 23-Jan-2024 11:26:03.074 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7c24b813] to web application [weaving]. 23-Jan-2024 11:26:03.074 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2c35e847] to web application [weaving]. 23-Jan-2024 11:26:03.075 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2c35e847] from web application [weaving]. 23-Jan-2024 11:26:03.077 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-37361"] 23-Jan-2024 11:26:03.078 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Jan-2024 11:26:03.078 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-37361"] 23-Jan-2024 11:26:03.081 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-37361"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.888 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.161 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.093 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.112 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.034 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.126 sec Testcase: testAddingNullTransformerThrowsException took 0.118 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.05 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.061 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.117 sec