Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.924 sec ------------- Standard Error ----------------- 12-Dec-2024 14:53:55.684 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 12-Dec-2024 14:53:56.533 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 12-Dec-2024 14:53:56.578 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 14:53:56.578 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 12-Dec-2024 14:53:56.702 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-41677"] 12-Dec-2024 14:53:56.758 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-41677"] 12-Dec-2024 14:53:56.768 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 14:53:56.769 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-41677"] 12-Dec-2024 14:53:56.790 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-41677"] 12-Dec-2024 14:53:56.796 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 12-Dec-2024 14:53:56.798 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 12-Dec-2024 14:53:56.799 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 14:53:56.799 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 12-Dec-2024 14:53:56.804 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-38811"] 12-Dec-2024 14:53:56.860 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@14555e0a] to web application [weaving]. 12-Dec-2024 14:53:56.866 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-38811"] 12-Dec-2024 14:53:56.867 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 14:53:56.867 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-38811"] 12-Dec-2024 14:53:56.876 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-38811"] 12-Dec-2024 14:53:56.878 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 12-Dec-2024 14:53:56.880 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 12-Dec-2024 14:53:56.880 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 14:53:56.880 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 12-Dec-2024 14:53:56.905 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-44793"] 12-Dec-2024 14:53:56.924 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6d4e5011] to web application [weaving]. 12-Dec-2024 14:53:56.944 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-44793"] 12-Dec-2024 14:53:56.947 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 14:53:56.948 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-44793"] 12-Dec-2024 14:53:56.949 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-44793"] 12-Dec-2024 14:53:56.951 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 12-Dec-2024 14:53:56.956 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 12-Dec-2024 14:53:56.957 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 14:53:56.957 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 12-Dec-2024 14:53:56.984 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-38257"] 12-Dec-2024 14:53:57.002 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@383bfa16] to web application [weaving]. 12-Dec-2024 14:53:57.003 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4d465b11] to web application [weaving]. 12-Dec-2024 14:53:57.009 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-38257"] 12-Dec-2024 14:53:57.010 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 14:53:57.012 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-38257"] 12-Dec-2024 14:53:57.016 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-38257"] 12-Dec-2024 14:53:57.018 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 12-Dec-2024 14:53:57.019 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 12-Dec-2024 14:53:57.020 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 14:53:57.020 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 12-Dec-2024 14:53:57.029 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-36103"] 12-Dec-2024 14:53:57.086 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3b6ddd1d] to web application [weaving]. 12-Dec-2024 14:53:57.086 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3f6b0be5] to web application [weaving]. 12-Dec-2024 14:53:57.090 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-36103"] 12-Dec-2024 14:53:57.090 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 14:53:57.091 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-36103"] 12-Dec-2024 14:53:57.093 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-36103"] 12-Dec-2024 14:53:57.095 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 12-Dec-2024 14:53:57.096 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 12-Dec-2024 14:53:57.097 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 14:53:57.097 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 12-Dec-2024 14:53:57.106 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-35709"] 12-Dec-2024 14:53:57.112 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5d7148e2] to web application [weaving]. 12-Dec-2024 14:53:57.112 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@25fb8912] to web application [weaving]. 12-Dec-2024 14:53:57.116 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-35709"] 12-Dec-2024 14:53:57.119 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 14:53:57.120 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-35709"] 12-Dec-2024 14:53:57.125 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-35709"] 12-Dec-2024 14:53:57.126 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 12-Dec-2024 14:53:57.127 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 12-Dec-2024 14:53:57.128 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 14:53:57.129 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 12-Dec-2024 14:53:57.132 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-34929"] 12-Dec-2024 14:53:57.157 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-34929"] 12-Dec-2024 14:53:57.159 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 14:53:57.159 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-34929"] 12-Dec-2024 14:53:57.162 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-34929"] 12-Dec-2024 14:53:57.163 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 12-Dec-2024 14:53:57.165 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 12-Dec-2024 14:53:57.172 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 14:53:57.172 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 12-Dec-2024 14:53:57.178 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-43683"] 12-Dec-2024 14:53:57.199 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4803b726] to web application [weaving]. 12-Dec-2024 14:53:57.199 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4803b726] from web application [weaving]. 12-Dec-2024 14:53:57.203 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-43683"] 12-Dec-2024 14:53:57.205 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 14:53:57.206 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-43683"] 12-Dec-2024 14:53:57.210 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-43683"] 12-Dec-2024 14:53:57.212 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 12-Dec-2024 14:53:57.214 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 12-Dec-2024 14:53:57.223 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 14:53:57.224 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 12-Dec-2024 14:53:57.248 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-41933"] 12-Dec-2024 14:53:57.280 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3cebbb30] to web application [weaving]. 12-Dec-2024 14:53:57.280 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@12aba8be] to web application [weaving]. 12-Dec-2024 14:53:57.280 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@12aba8be] from web application [weaving]. 12-Dec-2024 14:53:57.285 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-41933"] 12-Dec-2024 14:53:57.286 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 14:53:57.287 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-41933"] 12-Dec-2024 14:53:57.289 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-41933"] 12-Dec-2024 14:53:57.291 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 12-Dec-2024 14:53:57.292 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 12-Dec-2024 14:53:57.293 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 14:53:57.293 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 12-Dec-2024 14:53:57.298 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-36661"] 12-Dec-2024 14:53:57.313 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4659191b] to web application [weaving]. 12-Dec-2024 14:53:57.313 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@55634720] to web application [weaving]. 12-Dec-2024 14:53:57.313 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@55634720] from web application [weaving]. 12-Dec-2024 14:53:57.317 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-36661"] 12-Dec-2024 14:53:57.325 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 14:53:57.325 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-36661"] 12-Dec-2024 14:53:57.336 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-36661"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.231 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.081 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.074 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.066 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.076 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.031 sec Testcase: testAddingNullTransformerThrowsException took 0.037 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.048 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.079 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.048 sec