Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.204 sec ------------- Standard Error ----------------- 07-Aug-2024 19:08:31.354 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 07-Aug-2024 19:08:32.770 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 07-Aug-2024 19:08:32.879 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Aug-2024 19:08:32.880 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 07-Aug-2024 19:08:33.239 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-32965"] 07-Aug-2024 19:08:33.285 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-32965"] 07-Aug-2024 19:08:33.314 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Aug-2024 19:08:33.322 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-32965"] 07-Aug-2024 19:08:33.331 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-32965"] 07-Aug-2024 19:08:33.348 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 07-Aug-2024 19:08:33.350 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 07-Aug-2024 19:08:33.389 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Aug-2024 19:08:33.390 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 07-Aug-2024 19:08:33.402 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-35561"] 07-Aug-2024 19:08:33.404 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@445b295b] to web application [weaving]. 07-Aug-2024 19:08:33.408 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-35561"] 07-Aug-2024 19:08:33.420 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Aug-2024 19:08:33.420 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-35561"] 07-Aug-2024 19:08:33.421 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-35561"] 07-Aug-2024 19:08:33.425 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 07-Aug-2024 19:08:33.427 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 07-Aug-2024 19:08:33.461 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Aug-2024 19:08:33.461 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 07-Aug-2024 19:08:33.475 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-39803"] 07-Aug-2024 19:08:33.475 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@58ea606c] to web application [weaving]. 07-Aug-2024 19:08:33.479 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-39803"] 07-Aug-2024 19:08:33.480 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Aug-2024 19:08:33.480 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-39803"] 07-Aug-2024 19:08:33.487 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-39803"] 07-Aug-2024 19:08:33.501 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 07-Aug-2024 19:08:33.505 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 07-Aug-2024 19:08:33.530 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Aug-2024 19:08:33.530 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 07-Aug-2024 19:08:33.563 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-38909"] 07-Aug-2024 19:08:33.568 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2898ac89] to web application [weaving]. 07-Aug-2024 19:08:33.568 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@683dbc2c] to web application [weaving]. 07-Aug-2024 19:08:33.573 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-38909"] 07-Aug-2024 19:08:33.574 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Aug-2024 19:08:33.574 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-38909"] 07-Aug-2024 19:08:33.583 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-38909"] 07-Aug-2024 19:08:33.590 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 07-Aug-2024 19:08:33.592 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 07-Aug-2024 19:08:33.637 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Aug-2024 19:08:33.637 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 07-Aug-2024 19:08:33.647 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-45307"] 07-Aug-2024 19:08:33.664 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@fa36558] to web application [weaving]. 07-Aug-2024 19:08:33.665 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@672872e1] to web application [weaving]. 07-Aug-2024 19:08:33.675 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-45307"] 07-Aug-2024 19:08:33.676 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Aug-2024 19:08:33.676 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-45307"] 07-Aug-2024 19:08:33.677 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-45307"] 07-Aug-2024 19:08:33.689 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 07-Aug-2024 19:08:33.690 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 07-Aug-2024 19:08:33.711 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Aug-2024 19:08:33.712 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 07-Aug-2024 19:08:33.734 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-42017"] 07-Aug-2024 19:08:33.739 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@186f8716] to web application [weaving]. 07-Aug-2024 19:08:33.739 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1d8bd0de] to web application [weaving]. 07-Aug-2024 19:08:33.748 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-42017"] 07-Aug-2024 19:08:33.750 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Aug-2024 19:08:33.751 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-42017"] 07-Aug-2024 19:08:33.752 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-42017"] 07-Aug-2024 19:08:33.756 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 07-Aug-2024 19:08:33.760 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 07-Aug-2024 19:08:33.829 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Aug-2024 19:08:33.830 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 07-Aug-2024 19:08:33.842 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-33303"] 07-Aug-2024 19:08:33.854 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-33303"] 07-Aug-2024 19:08:33.855 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Aug-2024 19:08:33.856 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-33303"] 07-Aug-2024 19:08:33.856 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-33303"] 07-Aug-2024 19:08:33.859 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 07-Aug-2024 19:08:33.861 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 07-Aug-2024 19:08:33.996 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Aug-2024 19:08:33.996 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 07-Aug-2024 19:08:34.011 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-34343"] 07-Aug-2024 19:08:34.021 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2e1d27ba] to web application [weaving]. 07-Aug-2024 19:08:34.021 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2e1d27ba] from web application [weaving]. 07-Aug-2024 19:08:34.024 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-34343"] 07-Aug-2024 19:08:34.025 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Aug-2024 19:08:34.025 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-34343"] 07-Aug-2024 19:08:34.027 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-34343"] 07-Aug-2024 19:08:34.029 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 07-Aug-2024 19:08:34.031 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 07-Aug-2024 19:08:34.150 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Aug-2024 19:08:34.150 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 07-Aug-2024 19:08:34.161 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41837"] 07-Aug-2024 19:08:34.170 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2892dae4] to web application [weaving]. 07-Aug-2024 19:08:34.171 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@355ce81c] to web application [weaving]. 07-Aug-2024 19:08:34.171 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@355ce81c] from web application [weaving]. 07-Aug-2024 19:08:34.174 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41837"] 07-Aug-2024 19:08:34.176 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Aug-2024 19:08:34.176 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41837"] 07-Aug-2024 19:08:34.177 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41837"] 07-Aug-2024 19:08:34.181 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 07-Aug-2024 19:08:34.183 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 07-Aug-2024 19:08:34.204 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Aug-2024 19:08:34.205 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 07-Aug-2024 19:08:34.211 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34495"] 07-Aug-2024 19:08:34.212 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1f97cf0d] to web application [weaving]. 07-Aug-2024 19:08:34.212 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@140c9f39] to web application [weaving]. 07-Aug-2024 19:08:34.212 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@140c9f39] from web application [weaving]. 07-Aug-2024 19:08:34.215 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34495"] 07-Aug-2024 19:08:34.220 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Aug-2024 19:08:34.221 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34495"] 07-Aug-2024 19:08:34.221 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34495"] ------------- ---------------- --------------- Testcase: testNoWeaving took 2.184 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.077 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.069 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.093 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.097 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.067 sec Testcase: testAddingNullTransformerThrowsException took 0.103 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.169 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.152 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.045 sec