Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.221 sec ------------- Standard Error ----------------- 05-Oct-2024 18:58:40.664 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 05-Oct-2024 18:58:41.856 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 05-Oct-2024 18:58:41.913 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Oct-2024 18:58:41.914 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 05-Oct-2024 18:58:42.153 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-43613"] 05-Oct-2024 18:58:42.323 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-43613"] 05-Oct-2024 18:58:42.329 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Oct-2024 18:58:42.330 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-43613"] 05-Oct-2024 18:58:42.338 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-43613"] 05-Oct-2024 18:58:42.354 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 05-Oct-2024 18:58:42.356 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 05-Oct-2024 18:58:42.357 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Oct-2024 18:58:42.358 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 05-Oct-2024 18:58:42.363 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-46077"] 05-Oct-2024 18:58:42.444 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@e4487af] to web application [weaving]. 05-Oct-2024 18:58:42.455 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-46077"] 05-Oct-2024 18:58:42.456 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Oct-2024 18:58:42.456 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-46077"] 05-Oct-2024 18:58:42.477 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-46077"] 05-Oct-2024 18:58:42.479 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 05-Oct-2024 18:58:42.481 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 05-Oct-2024 18:58:42.489 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Oct-2024 18:58:42.490 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 05-Oct-2024 18:58:42.513 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-32853"] 05-Oct-2024 18:58:42.636 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@291b4bf5] to web application [weaving]. 05-Oct-2024 18:58:42.640 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-32853"] 05-Oct-2024 18:58:42.641 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Oct-2024 18:58:42.641 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-32853"] 05-Oct-2024 18:58:42.644 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-32853"] 05-Oct-2024 18:58:42.645 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 05-Oct-2024 18:58:42.656 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 05-Oct-2024 18:58:42.657 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Oct-2024 18:58:42.657 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 05-Oct-2024 18:58:42.679 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-42823"] 05-Oct-2024 18:58:42.799 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6ff29830] to web application [weaving]. 05-Oct-2024 18:58:42.800 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6a2b953e] to web application [weaving]. 05-Oct-2024 18:58:42.806 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-42823"] 05-Oct-2024 18:58:42.807 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Oct-2024 18:58:42.807 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-42823"] 05-Oct-2024 18:58:42.816 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-42823"] 05-Oct-2024 18:58:42.818 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 05-Oct-2024 18:58:42.819 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 05-Oct-2024 18:58:42.822 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Oct-2024 18:58:42.823 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 05-Oct-2024 18:58:42.839 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-41909"] 05-Oct-2024 18:58:43.031 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3f56875e] to web application [weaving]. 05-Oct-2024 18:58:43.032 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2b4bac49] to web application [weaving]. 05-Oct-2024 18:58:43.041 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-41909"] 05-Oct-2024 18:58:43.041 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Oct-2024 18:58:43.042 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-41909"] 05-Oct-2024 18:58:43.047 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-41909"] 05-Oct-2024 18:58:43.048 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 05-Oct-2024 18:58:43.050 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 05-Oct-2024 18:58:43.050 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Oct-2024 18:58:43.050 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 05-Oct-2024 18:58:43.075 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-37855"] 05-Oct-2024 18:58:43.172 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@186f8716] to web application [weaving]. 05-Oct-2024 18:58:43.172 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1d8bd0de] to web application [weaving]. 05-Oct-2024 18:58:43.177 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-37855"] 05-Oct-2024 18:58:43.177 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Oct-2024 18:58:43.177 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-37855"] 05-Oct-2024 18:58:43.180 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-37855"] 05-Oct-2024 18:58:43.182 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 05-Oct-2024 18:58:43.183 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 05-Oct-2024 18:58:43.184 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Oct-2024 18:58:43.184 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 05-Oct-2024 18:58:43.188 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-40145"] 05-Oct-2024 18:58:43.235 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-40145"] 05-Oct-2024 18:58:43.235 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Oct-2024 18:58:43.235 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-40145"] 05-Oct-2024 18:58:43.236 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-40145"] 05-Oct-2024 18:58:43.238 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 05-Oct-2024 18:58:43.239 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 05-Oct-2024 18:58:43.240 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Oct-2024 18:58:43.240 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 05-Oct-2024 18:58:43.246 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-37717"] 05-Oct-2024 18:58:43.317 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2e1d27ba] to web application [weaving]. 05-Oct-2024 18:58:43.317 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2e1d27ba] from web application [weaving]. 05-Oct-2024 18:58:43.320 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-37717"] 05-Oct-2024 18:58:43.320 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Oct-2024 18:58:43.321 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-37717"] 05-Oct-2024 18:58:43.327 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-37717"] 05-Oct-2024 18:58:43.331 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 05-Oct-2024 18:58:43.349 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 05-Oct-2024 18:58:43.357 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Oct-2024 18:58:43.358 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 05-Oct-2024 18:58:43.409 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-35937"] 05-Oct-2024 18:58:43.486 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@13b13b5d] to web application [weaving]. 05-Oct-2024 18:58:43.487 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2892dae4] to web application [weaving]. 05-Oct-2024 18:58:43.487 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2892dae4] from web application [weaving]. 05-Oct-2024 18:58:43.490 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-35937"] 05-Oct-2024 18:58:43.490 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Oct-2024 18:58:43.491 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-35937"] 05-Oct-2024 18:58:43.493 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-35937"] 05-Oct-2024 18:58:43.494 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 05-Oct-2024 18:58:43.495 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 05-Oct-2024 18:58:43.496 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Oct-2024 18:58:43.496 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 05-Oct-2024 18:58:43.501 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-38997"] 05-Oct-2024 18:58:43.551 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@51f116b8] to web application [weaving]. 05-Oct-2024 18:58:43.552 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@19d481b] to web application [weaving]. 05-Oct-2024 18:58:43.553 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@19d481b] from web application [weaving]. 05-Oct-2024 18:58:43.560 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-38997"] 05-Oct-2024 18:58:43.563 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Oct-2024 18:58:43.563 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-38997"] 05-Oct-2024 18:58:43.566 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-38997"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.864 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.124 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.166 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.172 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.23 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.133 sec Testcase: testAddingNullTransformerThrowsException took 0.056 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.092 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.163 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.073 sec