Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.33 sec ------------- Standard Error ----------------- 05-Nov-2024 17:52:29.349 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 05-Nov-2024 17:52:30.835 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 05-Nov-2024 17:52:30.959 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Nov-2024 17:52:30.960 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 05-Nov-2024 17:52:31.232 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-34925"] 05-Nov-2024 17:52:31.298 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-34925"] 05-Nov-2024 17:52:31.315 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Nov-2024 17:52:31.316 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-34925"] 05-Nov-2024 17:52:31.318 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-34925"] 05-Nov-2024 17:52:31.327 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 05-Nov-2024 17:52:31.337 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 05-Nov-2024 17:52:31.345 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Nov-2024 17:52:31.346 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 05-Nov-2024 17:52:31.352 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-38777"] 05-Nov-2024 17:52:31.353 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7a419da4] to web application [weaving]. 05-Nov-2024 17:52:31.360 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-38777"] 05-Nov-2024 17:52:31.363 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Nov-2024 17:52:31.363 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-38777"] 05-Nov-2024 17:52:31.364 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-38777"] 05-Nov-2024 17:52:31.368 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 05-Nov-2024 17:52:31.370 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 05-Nov-2024 17:52:31.435 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Nov-2024 17:52:31.436 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 05-Nov-2024 17:52:31.451 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-46627"] 05-Nov-2024 17:52:31.455 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@78123e82] to web application [weaving]. 05-Nov-2024 17:52:31.460 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-46627"] 05-Nov-2024 17:52:31.466 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Nov-2024 17:52:31.466 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-46627"] 05-Nov-2024 17:52:31.467 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-46627"] 05-Nov-2024 17:52:31.469 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 05-Nov-2024 17:52:31.471 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 05-Nov-2024 17:52:31.574 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Nov-2024 17:52:31.574 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 05-Nov-2024 17:52:31.586 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42109"] 05-Nov-2024 17:52:31.588 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7133da86] to web application [weaving]. 05-Nov-2024 17:52:31.589 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3232a28a] to web application [weaving]. 05-Nov-2024 17:52:31.595 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42109"] 05-Nov-2024 17:52:31.596 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Nov-2024 17:52:31.596 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42109"] 05-Nov-2024 17:52:31.597 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42109"] 05-Nov-2024 17:52:31.611 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 05-Nov-2024 17:52:31.619 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 05-Nov-2024 17:52:31.732 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Nov-2024 17:52:31.732 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 05-Nov-2024 17:52:31.745 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43345"] 05-Nov-2024 17:52:31.751 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7e7be63f] to web application [weaving]. 05-Nov-2024 17:52:31.751 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6cd28fa7] to web application [weaving]. 05-Nov-2024 17:52:31.756 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43345"] 05-Nov-2024 17:52:31.757 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Nov-2024 17:52:31.758 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43345"] 05-Nov-2024 17:52:31.758 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43345"] 05-Nov-2024 17:52:31.762 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 05-Nov-2024 17:52:31.763 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 05-Nov-2024 17:52:31.820 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Nov-2024 17:52:31.820 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 05-Nov-2024 17:52:31.831 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-39889"] 05-Nov-2024 17:52:31.835 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6fd83fc1] to web application [weaving]. 05-Nov-2024 17:52:31.835 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4f2b503c] to web application [weaving]. 05-Nov-2024 17:52:31.839 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-39889"] 05-Nov-2024 17:52:31.841 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Nov-2024 17:52:31.841 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-39889"] 05-Nov-2024 17:52:31.842 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-39889"] 05-Nov-2024 17:52:31.846 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 05-Nov-2024 17:52:31.862 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 05-Nov-2024 17:52:31.940 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Nov-2024 17:52:31.940 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 05-Nov-2024 17:52:31.959 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-42617"] 05-Nov-2024 17:52:31.969 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-42617"] 05-Nov-2024 17:52:31.971 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Nov-2024 17:52:31.971 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-42617"] 05-Nov-2024 17:52:31.972 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-42617"] 05-Nov-2024 17:52:31.982 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 05-Nov-2024 17:52:31.983 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 05-Nov-2024 17:52:32.090 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Nov-2024 17:52:32.091 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 05-Nov-2024 17:52:32.109 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-42823"] 05-Nov-2024 17:52:32.122 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@437da279] to web application [weaving]. 05-Nov-2024 17:52:32.122 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@437da279] from web application [weaving]. 05-Nov-2024 17:52:32.126 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-42823"] 05-Nov-2024 17:52:32.127 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Nov-2024 17:52:32.127 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-42823"] 05-Nov-2024 17:52:32.128 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-42823"] 05-Nov-2024 17:52:32.130 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 05-Nov-2024 17:52:32.132 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 05-Nov-2024 17:52:32.252 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Nov-2024 17:52:32.252 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 05-Nov-2024 17:52:32.270 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43813"] 05-Nov-2024 17:52:32.282 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2dc54ad4] to web application [weaving]. 05-Nov-2024 17:52:32.283 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4659191b] to web application [weaving]. 05-Nov-2024 17:52:32.283 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4659191b] from web application [weaving]. 05-Nov-2024 17:52:32.287 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43813"] 05-Nov-2024 17:52:32.302 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Nov-2024 17:52:32.302 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43813"] 05-Nov-2024 17:52:32.304 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43813"] 05-Nov-2024 17:52:32.308 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 05-Nov-2024 17:52:32.312 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 05-Nov-2024 17:52:32.418 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Nov-2024 17:52:32.418 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 05-Nov-2024 17:52:32.426 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-33807"] 05-Nov-2024 17:52:32.439 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@73e9cf30] to web application [weaving]. 05-Nov-2024 17:52:32.440 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@771a660] to web application [weaving]. 05-Nov-2024 17:52:32.440 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@771a660] from web application [weaving]. 05-Nov-2024 17:52:32.444 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-33807"] 05-Nov-2024 17:52:32.448 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Nov-2024 17:52:32.448 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-33807"] 05-Nov-2024 17:52:32.449 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-33807"] ------------- ---------------- --------------- Testcase: testNoWeaving took 2.081 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.041 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.102 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.132 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.15 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.085 sec Testcase: testAddingNullTransformerThrowsException took 0.135 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.148 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.177 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.148 sec