Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.824 sec ------------- Standard Error ----------------- 06-Nov-2023 17:31:38.476 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 06-Nov-2023 17:31:39.135 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 06-Nov-2023 17:31:39.242 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Nov-2023 17:31:39.243 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 06-Nov-2023 17:31:39.392 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-43393"] 06-Nov-2023 17:31:39.431 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-43393"] 06-Nov-2023 17:31:39.444 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Nov-2023 17:31:39.445 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-43393"] 06-Nov-2023 17:31:39.447 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-43393"] 06-Nov-2023 17:31:39.459 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 06-Nov-2023 17:31:39.463 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 06-Nov-2023 17:31:39.486 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Nov-2023 17:31:39.486 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 06-Nov-2023 17:31:39.506 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41229"] 06-Nov-2023 17:31:39.507 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2f8dad04] to web application [weaving]. 06-Nov-2023 17:31:39.512 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41229"] 06-Nov-2023 17:31:39.515 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Nov-2023 17:31:39.516 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41229"] 06-Nov-2023 17:31:39.518 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41229"] 06-Nov-2023 17:31:39.523 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 06-Nov-2023 17:31:39.530 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 06-Nov-2023 17:31:39.558 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Nov-2023 17:31:39.558 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 06-Nov-2023 17:31:39.570 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-43891"] 06-Nov-2023 17:31:39.575 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1613674b] to web application [weaving]. 06-Nov-2023 17:31:39.579 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-43891"] 06-Nov-2023 17:31:39.580 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Nov-2023 17:31:39.580 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-43891"] 06-Nov-2023 17:31:39.581 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-43891"] 06-Nov-2023 17:31:39.591 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 06-Nov-2023 17:31:39.592 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 06-Nov-2023 17:31:39.614 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Nov-2023 17:31:39.614 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 06-Nov-2023 17:31:39.621 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-37691"] 06-Nov-2023 17:31:39.622 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@48974e45] to web application [weaving]. 06-Nov-2023 17:31:39.622 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6a84a97d] to web application [weaving]. 06-Nov-2023 17:31:39.643 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-37691"] 06-Nov-2023 17:31:39.644 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Nov-2023 17:31:39.644 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-37691"] 06-Nov-2023 17:31:39.645 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-37691"] 06-Nov-2023 17:31:39.649 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 06-Nov-2023 17:31:39.654 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 06-Nov-2023 17:31:39.718 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Nov-2023 17:31:39.718 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 06-Nov-2023 17:31:39.742 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-40095"] 06-Nov-2023 17:31:39.743 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3059cbc] to web application [weaving]. 06-Nov-2023 17:31:39.743 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7ea9e1e2] to web application [weaving]. 06-Nov-2023 17:31:39.750 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-40095"] 06-Nov-2023 17:31:39.756 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Nov-2023 17:31:39.757 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-40095"] 06-Nov-2023 17:31:39.758 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-40095"] 06-Nov-2023 17:31:39.766 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 06-Nov-2023 17:31:39.768 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 06-Nov-2023 17:31:39.801 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Nov-2023 17:31:39.801 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 06-Nov-2023 17:31:39.806 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36995"] 06-Nov-2023 17:31:39.806 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4a7f959b] to web application [weaving]. 06-Nov-2023 17:31:39.807 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@429bffaa] to web application [weaving]. 06-Nov-2023 17:31:39.810 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36995"] 06-Nov-2023 17:31:39.811 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Nov-2023 17:31:39.811 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36995"] 06-Nov-2023 17:31:39.812 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36995"] 06-Nov-2023 17:31:39.815 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 06-Nov-2023 17:31:39.816 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 06-Nov-2023 17:31:39.882 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Nov-2023 17:31:39.882 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 06-Nov-2023 17:31:39.885 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-46093"] 06-Nov-2023 17:31:39.888 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-46093"] 06-Nov-2023 17:31:39.894 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Nov-2023 17:31:39.895 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-46093"] 06-Nov-2023 17:31:39.896 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-46093"] 06-Nov-2023 17:31:39.898 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 06-Nov-2023 17:31:39.901 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 06-Nov-2023 17:31:39.904 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Nov-2023 17:31:39.904 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 06-Nov-2023 17:31:39.908 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-43547"] 06-Nov-2023 17:31:39.909 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7fee8714] to web application [weaving]. 06-Nov-2023 17:31:39.909 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7fee8714] from web application [weaving]. 06-Nov-2023 17:31:39.912 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-43547"] 06-Nov-2023 17:31:39.912 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Nov-2023 17:31:39.913 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-43547"] 06-Nov-2023 17:31:39.913 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-43547"] 06-Nov-2023 17:31:39.915 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 06-Nov-2023 17:31:39.917 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 06-Nov-2023 17:31:39.918 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Nov-2023 17:31:39.918 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 06-Nov-2023 17:31:39.925 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-35991"] 06-Nov-2023 17:31:39.926 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5acf93bb] to web application [weaving]. 06-Nov-2023 17:31:39.926 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7e7be63f] to web application [weaving]. 06-Nov-2023 17:31:39.926 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7e7be63f] from web application [weaving]. 06-Nov-2023 17:31:39.929 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-35991"] 06-Nov-2023 17:31:39.930 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Nov-2023 17:31:39.930 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-35991"] 06-Nov-2023 17:31:39.931 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-35991"] 06-Nov-2023 17:31:39.933 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 06-Nov-2023 17:31:39.934 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 06-Nov-2023 17:31:39.938 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Nov-2023 17:31:39.939 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 06-Nov-2023 17:31:39.945 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-44747"] 06-Nov-2023 17:31:39.945 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@58d75e99] to web application [weaving]. 06-Nov-2023 17:31:39.945 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@74751b3] to web application [weaving]. 06-Nov-2023 17:31:39.946 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@74751b3] from web application [weaving]. 06-Nov-2023 17:31:39.949 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-44747"] 06-Nov-2023 17:31:39.950 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Nov-2023 17:31:39.950 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-44747"] 06-Nov-2023 17:31:39.950 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-44747"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.094 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.063 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.062 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.065 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.117 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.048 sec Testcase: testAddingNullTransformerThrowsException took 0.083 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.017 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.017 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.022 sec