Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.575 sec ------------- Standard Error ----------------- 25-Sep-2024 21:15:47.878 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 25-Sep-2024 21:15:49.046 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 25-Sep-2024 21:15:49.133 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Sep-2024 21:15:49.140 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 25-Sep-2024 21:15:49.449 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-33755"] 25-Sep-2024 21:15:49.619 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-33755"] 25-Sep-2024 21:15:49.630 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Sep-2024 21:15:49.633 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-33755"] 25-Sep-2024 21:15:49.651 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-33755"] 25-Sep-2024 21:15:49.667 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 25-Sep-2024 21:15:49.679 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 25-Sep-2024 21:15:49.680 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Sep-2024 21:15:49.680 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 25-Sep-2024 21:15:49.701 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-34861"] 25-Sep-2024 21:15:49.810 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5c671d7f] to web application [weaving]. 25-Sep-2024 21:15:49.817 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-34861"] 25-Sep-2024 21:15:49.817 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Sep-2024 21:15:49.818 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-34861"] 25-Sep-2024 21:15:49.824 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-34861"] 25-Sep-2024 21:15:49.826 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 25-Sep-2024 21:15:49.828 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 25-Sep-2024 21:15:49.830 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Sep-2024 21:15:49.834 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 25-Sep-2024 21:15:49.869 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-46199"] 25-Sep-2024 21:15:50.011 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@38e79ae3] to web application [weaving]. 25-Sep-2024 21:15:50.015 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-46199"] 25-Sep-2024 21:15:50.015 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Sep-2024 21:15:50.015 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-46199"] 25-Sep-2024 21:15:50.034 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-46199"] 25-Sep-2024 21:15:50.035 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 25-Sep-2024 21:15:50.037 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 25-Sep-2024 21:15:50.038 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Sep-2024 21:15:50.038 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 25-Sep-2024 21:15:50.047 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-33437"] 25-Sep-2024 21:15:50.126 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@683dbc2c] to web application [weaving]. 25-Sep-2024 21:15:50.127 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@68267da0] to web application [weaving]. 25-Sep-2024 21:15:50.137 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-33437"] 25-Sep-2024 21:15:50.138 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Sep-2024 21:15:50.140 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-33437"] 25-Sep-2024 21:15:50.143 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-33437"] 25-Sep-2024 21:15:50.148 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 25-Sep-2024 21:15:50.151 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 25-Sep-2024 21:15:50.152 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Sep-2024 21:15:50.153 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 25-Sep-2024 21:15:50.164 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-42413"] 25-Sep-2024 21:15:50.308 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@fa36558] to web application [weaving]. 25-Sep-2024 21:15:50.308 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@672872e1] to web application [weaving]. 25-Sep-2024 21:15:50.314 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-42413"] 25-Sep-2024 21:15:50.316 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Sep-2024 21:15:50.316 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-42413"] 25-Sep-2024 21:15:50.321 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-42413"] 25-Sep-2024 21:15:50.322 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 25-Sep-2024 21:15:50.324 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 25-Sep-2024 21:15:50.325 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Sep-2024 21:15:50.325 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 25-Sep-2024 21:15:50.347 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-43859"] 25-Sep-2024 21:15:50.435 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@50caa560] to web application [weaving]. 25-Sep-2024 21:15:50.436 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2a266d09] to web application [weaving]. 25-Sep-2024 21:15:50.445 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-43859"] 25-Sep-2024 21:15:50.446 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Sep-2024 21:15:50.447 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-43859"] 25-Sep-2024 21:15:50.449 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-43859"] 25-Sep-2024 21:15:50.453 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 25-Sep-2024 21:15:50.454 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 25-Sep-2024 21:15:50.455 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Sep-2024 21:15:50.455 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 25-Sep-2024 21:15:50.488 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-40849"] 25-Sep-2024 21:15:50.605 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-40849"] 25-Sep-2024 21:15:50.605 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Sep-2024 21:15:50.605 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-40849"] 25-Sep-2024 21:15:50.609 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-40849"] 25-Sep-2024 21:15:50.611 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 25-Sep-2024 21:15:50.614 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 25-Sep-2024 21:15:50.616 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Sep-2024 21:15:50.616 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 25-Sep-2024 21:15:50.664 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-41635"] 25-Sep-2024 21:15:50.777 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@f381794] to web application [weaving]. 25-Sep-2024 21:15:50.779 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@f381794] from web application [weaving]. 25-Sep-2024 21:15:50.785 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-41635"] 25-Sep-2024 21:15:50.793 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Sep-2024 21:15:50.793 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-41635"] 25-Sep-2024 21:15:50.797 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-41635"] 25-Sep-2024 21:15:50.799 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 25-Sep-2024 21:15:50.804 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 25-Sep-2024 21:15:50.806 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Sep-2024 21:15:50.807 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 25-Sep-2024 21:15:50.823 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-45899"] 25-Sep-2024 21:15:50.951 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3541cb24] to web application [weaving]. 25-Sep-2024 21:15:50.951 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2177849e] to web application [weaving]. 25-Sep-2024 21:15:50.951 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2177849e] from web application [weaving]. 25-Sep-2024 21:15:50.954 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-45899"] 25-Sep-2024 21:15:50.954 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Sep-2024 21:15:50.955 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-45899"] 25-Sep-2024 21:15:50.956 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-45899"] 25-Sep-2024 21:15:50.957 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 25-Sep-2024 21:15:50.964 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 25-Sep-2024 21:15:50.964 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Sep-2024 21:15:50.964 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 25-Sep-2024 21:15:50.979 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-34661"] 25-Sep-2024 21:15:51.097 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2abf4075] to web application [weaving]. 25-Sep-2024 21:15:51.097 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@770d3326] to web application [weaving]. 25-Sep-2024 21:15:51.097 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@770d3326] from web application [weaving]. 25-Sep-2024 21:15:51.101 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-34661"] 25-Sep-2024 21:15:51.106 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Sep-2024 21:15:51.106 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-34661"] 25-Sep-2024 21:15:51.114 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-34661"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.943 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.162 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.209 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.112 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.174 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.13 sec Testcase: testAddingNullTransformerThrowsException took 0.158 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.188 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.158 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.158 sec