Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.643 sec ------------- Standard Error ----------------- 11-Dec-2024 13:01:41.018 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 11-Dec-2024 13:01:41.922 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 11-Dec-2024 13:01:41.962 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Dec-2024 13:01:41.963 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Dec-2024 13:01:42.086 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-36579"] 11-Dec-2024 13:01:42.113 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-36579"] 11-Dec-2024 13:01:42.124 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Dec-2024 13:01:42.124 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-36579"] 11-Dec-2024 13:01:42.126 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-36579"] 11-Dec-2024 13:01:42.135 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 11-Dec-2024 13:01:42.137 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 11-Dec-2024 13:01:42.153 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Dec-2024 13:01:42.153 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Dec-2024 13:01:42.167 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-33221"] 11-Dec-2024 13:01:42.181 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@10aa41f2] to web application [weaving]. 11-Dec-2024 13:01:42.186 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-33221"] 11-Dec-2024 13:01:42.187 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Dec-2024 13:01:42.188 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-33221"] 11-Dec-2024 13:01:42.189 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-33221"] 11-Dec-2024 13:01:42.194 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 11-Dec-2024 13:01:42.196 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 11-Dec-2024 13:01:42.222 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Dec-2024 13:01:42.222 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Dec-2024 13:01:42.229 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-33081"] 11-Dec-2024 13:01:42.239 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@424e1977] to web application [weaving]. 11-Dec-2024 13:01:42.244 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-33081"] 11-Dec-2024 13:01:42.248 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Dec-2024 13:01:42.248 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-33081"] 11-Dec-2024 13:01:42.249 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-33081"] 11-Dec-2024 13:01:42.253 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 11-Dec-2024 13:01:42.254 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 11-Dec-2024 13:01:42.258 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Dec-2024 13:01:42.259 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Dec-2024 13:01:42.266 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-38303"] 11-Dec-2024 13:01:42.267 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@548e6d58] to web application [weaving]. 11-Dec-2024 13:01:42.267 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@623a8092] to web application [weaving]. 11-Dec-2024 13:01:42.272 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-38303"] 11-Dec-2024 13:01:42.273 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Dec-2024 13:01:42.273 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-38303"] 11-Dec-2024 13:01:42.274 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-38303"] 11-Dec-2024 13:01:42.276 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 11-Dec-2024 13:01:42.278 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 11-Dec-2024 13:01:42.280 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Dec-2024 13:01:42.280 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Dec-2024 13:01:42.293 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-36963"] 11-Dec-2024 13:01:42.294 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4470f8a6] to web application [weaving]. 11-Dec-2024 13:01:42.295 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7c83dc97] to web application [weaving]. 11-Dec-2024 13:01:42.298 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-36963"] 11-Dec-2024 13:01:42.299 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Dec-2024 13:01:42.300 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-36963"] 11-Dec-2024 13:01:42.301 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-36963"] 11-Dec-2024 13:01:42.307 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 11-Dec-2024 13:01:42.309 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 11-Dec-2024 13:01:42.313 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Dec-2024 13:01:42.313 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Dec-2024 13:01:42.318 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-43983"] 11-Dec-2024 13:01:42.319 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@574b560f] to web application [weaving]. 11-Dec-2024 13:01:42.319 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@ba54932] to web application [weaving]. 11-Dec-2024 13:01:42.323 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-43983"] 11-Dec-2024 13:01:42.324 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Dec-2024 13:01:42.324 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-43983"] 11-Dec-2024 13:01:42.325 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-43983"] 11-Dec-2024 13:01:42.328 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 11-Dec-2024 13:01:42.330 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 11-Dec-2024 13:01:42.332 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Dec-2024 13:01:42.332 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Dec-2024 13:01:42.335 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-35113"] 11-Dec-2024 13:01:42.341 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-35113"] 11-Dec-2024 13:01:42.341 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Dec-2024 13:01:42.342 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-35113"] 11-Dec-2024 13:01:42.342 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-35113"] 11-Dec-2024 13:01:42.346 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 11-Dec-2024 13:01:42.347 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 11-Dec-2024 13:01:42.357 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Dec-2024 13:01:42.357 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Dec-2024 13:01:42.361 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33639"] 11-Dec-2024 13:01:42.362 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@44a7bfbc] to web application [weaving]. 11-Dec-2024 13:01:42.362 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@44a7bfbc] from web application [weaving]. 11-Dec-2024 13:01:42.365 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33639"] 11-Dec-2024 13:01:42.367 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Dec-2024 13:01:42.368 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33639"] 11-Dec-2024 13:01:42.368 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33639"] 11-Dec-2024 13:01:42.370 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 11-Dec-2024 13:01:42.372 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 11-Dec-2024 13:01:42.388 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Dec-2024 13:01:42.388 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Dec-2024 13:01:42.395 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41031"] 11-Dec-2024 13:01:42.400 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5fa07e12] to web application [weaving]. 11-Dec-2024 13:01:42.401 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@55b53d44] to web application [weaving]. 11-Dec-2024 13:01:42.401 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@55b53d44] from web application [weaving]. 11-Dec-2024 13:01:42.406 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41031"] 11-Dec-2024 13:01:42.412 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Dec-2024 13:01:42.412 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41031"] 11-Dec-2024 13:01:42.413 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41031"] 11-Dec-2024 13:01:42.418 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 11-Dec-2024 13:01:42.419 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 11-Dec-2024 13:01:42.437 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Dec-2024 13:01:42.437 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 11-Dec-2024 13:01:42.443 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-39459"] 11-Dec-2024 13:01:42.444 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@77eca502] to web application [weaving]. 11-Dec-2024 13:01:42.445 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3246fb96] to web application [weaving]. 11-Dec-2024 13:01:42.445 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3246fb96] from web application [weaving]. 11-Dec-2024 13:01:42.448 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-39459"] 11-Dec-2024 13:01:42.449 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Dec-2024 13:01:42.450 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-39459"] 11-Dec-2024 13:01:42.450 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-39459"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.237 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.059 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.058 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.024 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.03 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.021 sec Testcase: testAddingNullTransformerThrowsException took 0.017 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.025 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.047 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.04 sec