Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.884 sec ------------- Standard Error ----------------- 29-Nov-2024 19:20:05.121 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 29-Nov-2024 19:20:05.876 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 29-Nov-2024 19:20:05.937 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:20:05.939 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:20:06.092 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-38469"] 29-Nov-2024 19:20:06.156 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-38469"] 29-Nov-2024 19:20:06.167 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:20:06.168 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-38469"] 29-Nov-2024 19:20:06.178 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-38469"] 29-Nov-2024 19:20:06.194 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 29-Nov-2024 19:20:06.196 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 29-Nov-2024 19:20:06.197 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:20:06.197 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:20:06.203 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-40805"] 29-Nov-2024 19:20:06.241 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7a419da4] to web application [weaving]. 29-Nov-2024 19:20:06.246 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-40805"] 29-Nov-2024 19:20:06.252 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:20:06.252 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-40805"] 29-Nov-2024 19:20:06.255 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-40805"] 29-Nov-2024 19:20:06.259 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 29-Nov-2024 19:20:06.264 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 29-Nov-2024 19:20:06.265 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:20:06.265 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:20:06.270 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-44171"] 29-Nov-2024 19:20:06.273 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@581ac8a8] to web application [weaving]. 29-Nov-2024 19:20:06.276 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-44171"] 29-Nov-2024 19:20:06.277 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:20:06.277 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-44171"] 29-Nov-2024 19:20:06.279 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-44171"] 29-Nov-2024 19:20:06.283 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 29-Nov-2024 19:20:06.285 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 29-Nov-2024 19:20:06.286 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:20:06.286 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:20:06.307 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-37097"] 29-Nov-2024 19:20:06.322 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@71def8f8] to web application [weaving]. 29-Nov-2024 19:20:06.322 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@383bfa16] to web application [weaving]. 29-Nov-2024 19:20:06.328 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-37097"] 29-Nov-2024 19:20:06.328 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:20:06.328 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-37097"] 29-Nov-2024 19:20:06.330 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-37097"] 29-Nov-2024 19:20:06.332 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 29-Nov-2024 19:20:06.334 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 29-Nov-2024 19:20:06.335 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:20:06.335 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:20:06.342 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-39049"] 29-Nov-2024 19:20:06.351 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6283d8b8] to web application [weaving]. 29-Nov-2024 19:20:06.351 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3b6ddd1d] to web application [weaving]. 29-Nov-2024 19:20:06.355 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-39049"] 29-Nov-2024 19:20:06.355 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:20:06.356 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-39049"] 29-Nov-2024 19:20:06.360 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-39049"] 29-Nov-2024 19:20:06.366 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 29-Nov-2024 19:20:06.369 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 29-Nov-2024 19:20:06.370 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:20:06.370 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:20:06.379 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-43401"] 29-Nov-2024 19:20:06.389 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4fb3ee4e] to web application [weaving]. 29-Nov-2024 19:20:06.389 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5d7148e2] to web application [weaving]. 29-Nov-2024 19:20:06.403 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-43401"] 29-Nov-2024 19:20:06.403 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:20:06.403 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-43401"] 29-Nov-2024 19:20:06.408 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-43401"] 29-Nov-2024 19:20:06.409 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 29-Nov-2024 19:20:06.411 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 29-Nov-2024 19:20:06.411 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:20:06.412 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:20:06.427 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-35211"] 29-Nov-2024 19:20:06.554 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-35211"] 29-Nov-2024 19:20:06.554 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:20:06.554 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-35211"] 29-Nov-2024 19:20:06.556 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-35211"] 29-Nov-2024 19:20:06.558 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 29-Nov-2024 19:20:06.560 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 29-Nov-2024 19:20:06.560 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:20:06.560 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:20:06.583 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-37361"] 29-Nov-2024 19:20:06.644 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@f0da945] to web application [weaving]. 29-Nov-2024 19:20:06.645 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@f0da945] from web application [weaving]. 29-Nov-2024 19:20:06.649 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-37361"] 29-Nov-2024 19:20:06.650 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:20:06.650 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-37361"] 29-Nov-2024 19:20:06.652 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-37361"] 29-Nov-2024 19:20:06.654 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 29-Nov-2024 19:20:06.655 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 29-Nov-2024 19:20:06.656 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:20:06.656 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:20:06.660 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-34383"] 29-Nov-2024 19:20:06.690 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1e1a0406] to web application [weaving]. 29-Nov-2024 19:20:06.690 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3cebbb30] to web application [weaving]. 29-Nov-2024 19:20:06.691 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3cebbb30] from web application [weaving]. 29-Nov-2024 19:20:06.694 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-34383"] 29-Nov-2024 19:20:06.698 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:20:06.699 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-34383"] 29-Nov-2024 19:20:06.702 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-34383"] 29-Nov-2024 19:20:06.704 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 29-Nov-2024 19:20:06.706 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 29-Nov-2024 19:20:06.707 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:20:06.708 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:20:06.713 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-43367"] 29-Nov-2024 19:20:06.720 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2dc54ad4] to web application [weaving]. 29-Nov-2024 19:20:06.720 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4659191b] to web application [weaving]. 29-Nov-2024 19:20:06.720 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4659191b] from web application [weaving]. 29-Nov-2024 19:20:06.726 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-43367"] 29-Nov-2024 19:20:06.726 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:20:06.727 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-43367"] 29-Nov-2024 19:20:06.730 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-43367"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.19 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.073 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.024 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.05 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.033 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.044 sec Testcase: testAddingNullTransformerThrowsException took 0.148 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.095 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.05 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.029 sec