Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.191 sec ------------- Standard Error ----------------- 22-Jul-2024 19:46:30.114 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 22-Jul-2024 19:46:31.246 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 22-Jul-2024 19:46:31.330 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Jul-2024 19:46:31.337 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 22-Jul-2024 19:46:31.686 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-38449"] 22-Jul-2024 19:46:31.726 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-38449"] 22-Jul-2024 19:46:31.749 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Jul-2024 19:46:31.750 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-38449"] 22-Jul-2024 19:46:31.755 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-38449"] 22-Jul-2024 19:46:31.761 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 22-Jul-2024 19:46:31.771 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 22-Jul-2024 19:46:31.778 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Jul-2024 19:46:31.779 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 22-Jul-2024 19:46:31.791 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-36289"] 22-Jul-2024 19:46:31.882 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1757cd72] to web application [weaving]. 22-Jul-2024 19:46:31.886 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-36289"] 22-Jul-2024 19:46:31.887 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Jul-2024 19:46:31.890 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-36289"] 22-Jul-2024 19:46:31.893 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-36289"] 22-Jul-2024 19:46:31.897 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 22-Jul-2024 19:46:31.912 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 22-Jul-2024 19:46:31.913 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Jul-2024 19:46:31.914 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 22-Jul-2024 19:46:31.945 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-44371"] 22-Jul-2024 19:46:32.068 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5c90e579] to web application [weaving]. 22-Jul-2024 19:46:32.081 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-44371"] 22-Jul-2024 19:46:32.081 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Jul-2024 19:46:32.082 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-44371"] 22-Jul-2024 19:46:32.084 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-44371"] 22-Jul-2024 19:46:32.086 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 22-Jul-2024 19:46:32.087 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 22-Jul-2024 19:46:32.088 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Jul-2024 19:46:32.088 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 22-Jul-2024 19:46:32.109 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-45839"] 22-Jul-2024 19:46:32.151 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@d21a74c] to web application [weaving]. 22-Jul-2024 19:46:32.151 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6e509ffa] to web application [weaving]. 22-Jul-2024 19:46:32.167 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-45839"] 22-Jul-2024 19:46:32.169 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Jul-2024 19:46:32.169 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-45839"] 22-Jul-2024 19:46:32.185 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-45839"] 22-Jul-2024 19:46:32.187 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 22-Jul-2024 19:46:32.188 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 22-Jul-2024 19:46:32.190 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Jul-2024 19:46:32.190 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 22-Jul-2024 19:46:32.203 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-35311"] 22-Jul-2024 19:46:32.320 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@394a2528] to web application [weaving]. 22-Jul-2024 19:46:32.320 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6236eb5f] to web application [weaving]. 22-Jul-2024 19:46:32.323 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-35311"] 22-Jul-2024 19:46:32.324 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Jul-2024 19:46:32.324 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-35311"] 22-Jul-2024 19:46:32.326 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-35311"] 22-Jul-2024 19:46:32.328 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 22-Jul-2024 19:46:32.330 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 22-Jul-2024 19:46:32.331 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Jul-2024 19:46:32.336 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 22-Jul-2024 19:46:32.357 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-37283"] 22-Jul-2024 19:46:32.472 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@65b3f4a4] to web application [weaving]. 22-Jul-2024 19:46:32.473 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@f2ff811] to web application [weaving]. 22-Jul-2024 19:46:32.501 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-37283"] 22-Jul-2024 19:46:32.502 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Jul-2024 19:46:32.502 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-37283"] 22-Jul-2024 19:46:32.509 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-37283"] 22-Jul-2024 19:46:32.511 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 22-Jul-2024 19:46:32.519 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 22-Jul-2024 19:46:32.520 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Jul-2024 19:46:32.521 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 22-Jul-2024 19:46:32.543 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-41413"] 22-Jul-2024 19:46:32.670 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-41413"] 22-Jul-2024 19:46:32.677 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Jul-2024 19:46:32.677 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-41413"] 22-Jul-2024 19:46:32.687 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-41413"] 22-Jul-2024 19:46:32.689 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 22-Jul-2024 19:46:32.690 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 22-Jul-2024 19:46:32.691 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Jul-2024 19:46:32.691 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 22-Jul-2024 19:46:32.701 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-33699"] 22-Jul-2024 19:46:32.750 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@68e965f5] to web application [weaving]. 22-Jul-2024 19:46:32.751 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@68e965f5] from web application [weaving]. 22-Jul-2024 19:46:32.754 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-33699"] 22-Jul-2024 19:46:32.758 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Jul-2024 19:46:32.758 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-33699"] 22-Jul-2024 19:46:32.764 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-33699"] 22-Jul-2024 19:46:32.765 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 22-Jul-2024 19:46:32.768 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 22-Jul-2024 19:46:32.769 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Jul-2024 19:46:32.770 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 22-Jul-2024 19:46:32.809 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-46777"] 22-Jul-2024 19:46:32.943 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5939a379] to web application [weaving]. 22-Jul-2024 19:46:32.943 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@e1de817] to web application [weaving]. 22-Jul-2024 19:46:32.944 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@e1de817] from web application [weaving]. 22-Jul-2024 19:46:32.947 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-46777"] 22-Jul-2024 19:46:32.947 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Jul-2024 19:46:32.947 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-46777"] 22-Jul-2024 19:46:32.951 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-46777"] 22-Jul-2024 19:46:32.953 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 22-Jul-2024 19:46:32.954 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 22-Jul-2024 19:46:32.954 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Jul-2024 19:46:32.955 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 22-Jul-2024 19:46:32.966 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-39197"] 22-Jul-2024 19:46:33.035 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@62e7f11d] to web application [weaving]. 22-Jul-2024 19:46:33.035 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@503d687a] to web application [weaving]. 22-Jul-2024 19:46:33.035 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@503d687a] from web application [weaving]. 22-Jul-2024 19:46:33.039 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-39197"] 22-Jul-2024 19:46:33.039 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Jul-2024 19:46:33.039 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-39197"] 22-Jul-2024 19:46:33.041 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-39197"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.764 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.135 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.189 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.101 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.142 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.182 sec Testcase: testAddingNullTransformerThrowsException took 0.177 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.077 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.187 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.09 sec