Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.865 sec ------------- Standard Error ----------------- 14-Nov-2024 15:11:15.389 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 14-Nov-2024 15:11:16.560 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 14-Nov-2024 15:11:16.652 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Nov-2024 15:11:16.653 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 14-Nov-2024 15:11:16.888 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-37589"] 14-Nov-2024 15:11:16.955 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-37589"] 14-Nov-2024 15:11:16.960 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Nov-2024 15:11:16.961 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-37589"] 14-Nov-2024 15:11:16.971 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-37589"] 14-Nov-2024 15:11:16.987 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 14-Nov-2024 15:11:16.989 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 14-Nov-2024 15:11:16.989 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Nov-2024 15:11:16.990 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 14-Nov-2024 15:11:17.001 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-41229"] 14-Nov-2024 15:11:17.079 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3af9c5b7] to web application [weaving]. 14-Nov-2024 15:11:17.084 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-41229"] 14-Nov-2024 15:11:17.085 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Nov-2024 15:11:17.085 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-41229"] 14-Nov-2024 15:11:17.086 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-41229"] 14-Nov-2024 15:11:17.088 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 14-Nov-2024 15:11:17.090 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 14-Nov-2024 15:11:17.091 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Nov-2024 15:11:17.091 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 14-Nov-2024 15:11:17.096 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-45465"] 14-Nov-2024 15:11:17.172 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@424e1977] to web application [weaving]. 14-Nov-2024 15:11:17.176 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-45465"] 14-Nov-2024 15:11:17.176 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Nov-2024 15:11:17.176 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-45465"] 14-Nov-2024 15:11:17.179 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-45465"] 14-Nov-2024 15:11:17.183 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 14-Nov-2024 15:11:17.185 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 14-Nov-2024 15:11:17.186 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Nov-2024 15:11:17.186 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 14-Nov-2024 15:11:17.195 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-40615"] 14-Nov-2024 15:11:17.307 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@548e6d58] to web application [weaving]. 14-Nov-2024 15:11:17.307 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@623a8092] to web application [weaving]. 14-Nov-2024 15:11:17.312 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-40615"] 14-Nov-2024 15:11:17.316 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Nov-2024 15:11:17.317 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-40615"] 14-Nov-2024 15:11:17.328 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-40615"] 14-Nov-2024 15:11:17.333 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 14-Nov-2024 15:11:17.335 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 14-Nov-2024 15:11:17.341 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Nov-2024 15:11:17.341 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 14-Nov-2024 15:11:17.354 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-38757"] 14-Nov-2024 15:11:17.395 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3e96bacf] to web application [weaving]. 14-Nov-2024 15:11:17.395 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@484970b0] to web application [weaving]. 14-Nov-2024 15:11:17.399 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-38757"] 14-Nov-2024 15:11:17.401 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Nov-2024 15:11:17.402 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-38757"] 14-Nov-2024 15:11:17.412 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-38757"] 14-Nov-2024 15:11:17.417 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 14-Nov-2024 15:11:17.420 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 14-Nov-2024 15:11:17.421 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Nov-2024 15:11:17.421 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 14-Nov-2024 15:11:17.439 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-35835"] 14-Nov-2024 15:11:17.462 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@757acd7b] to web application [weaving]. 14-Nov-2024 15:11:17.462 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@36b4fe2a] to web application [weaving]. 14-Nov-2024 15:11:17.466 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-35835"] 14-Nov-2024 15:11:17.469 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Nov-2024 15:11:17.469 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-35835"] 14-Nov-2024 15:11:17.471 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-35835"] 14-Nov-2024 15:11:17.474 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 14-Nov-2024 15:11:17.476 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 14-Nov-2024 15:11:17.476 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Nov-2024 15:11:17.476 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 14-Nov-2024 15:11:17.518 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-32999"] 14-Nov-2024 15:11:17.627 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-32999"] 14-Nov-2024 15:11:17.629 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Nov-2024 15:11:17.629 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-32999"] 14-Nov-2024 15:11:17.634 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-32999"] 14-Nov-2024 15:11:17.636 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 14-Nov-2024 15:11:17.642 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 14-Nov-2024 15:11:17.642 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Nov-2024 15:11:17.643 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 14-Nov-2024 15:11:17.649 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-34003"] 14-Nov-2024 15:11:17.694 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@152aa092] to web application [weaving]. 14-Nov-2024 15:11:17.694 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@152aa092] from web application [weaving]. 14-Nov-2024 15:11:17.698 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-34003"] 14-Nov-2024 15:11:17.698 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Nov-2024 15:11:17.698 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-34003"] 14-Nov-2024 15:11:17.710 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-34003"] 14-Nov-2024 15:11:17.712 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 14-Nov-2024 15:11:17.713 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 14-Nov-2024 15:11:17.713 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Nov-2024 15:11:17.714 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 14-Nov-2024 15:11:17.720 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-43731"] 14-Nov-2024 15:11:17.795 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3315d2d7] to web application [weaving]. 14-Nov-2024 15:11:17.795 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@d6e7bab] to web application [weaving]. 14-Nov-2024 15:11:17.795 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@d6e7bab] from web application [weaving]. 14-Nov-2024 15:11:17.799 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-43731"] 14-Nov-2024 15:11:17.799 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Nov-2024 15:11:17.799 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-43731"] 14-Nov-2024 15:11:17.802 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-43731"] 14-Nov-2024 15:11:17.804 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 14-Nov-2024 15:11:17.805 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 14-Nov-2024 15:11:17.806 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Nov-2024 15:11:17.806 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 14-Nov-2024 15:11:17.815 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-45241"] 14-Nov-2024 15:11:17.915 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4d910fd6] to web application [weaving]. 14-Nov-2024 15:11:17.915 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@26275bef] to web application [weaving]. 14-Nov-2024 15:11:17.915 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@26275bef] from web application [weaving]. 14-Nov-2024 15:11:17.919 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-45241"] 14-Nov-2024 15:11:17.919 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Nov-2024 15:11:17.919 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-45241"] 14-Nov-2024 15:11:17.923 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-45241"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.727 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.102 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.092 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.152 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.083 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.057 sec Testcase: testAddingNullTransformerThrowsException took 0.161 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.075 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.092 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.122 sec