Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.991 sec ------------- Standard Error ----------------- 14-Oct-2024 13:26:38.871 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 14-Oct-2024 13:26:40.131 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 14-Oct-2024 13:26:40.259 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Oct-2024 13:26:40.265 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 14-Oct-2024 13:26:40.660 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-44649"] 14-Oct-2024 13:26:40.834 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-44649"] 14-Oct-2024 13:26:40.852 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Oct-2024 13:26:40.853 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-44649"] 14-Oct-2024 13:26:40.868 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-44649"] 14-Oct-2024 13:26:40.897 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 14-Oct-2024 13:26:40.902 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 14-Oct-2024 13:26:40.904 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Oct-2024 13:26:40.904 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 14-Oct-2024 13:26:40.911 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-44081"] 14-Oct-2024 13:26:40.954 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@e4487af] to web application [weaving]. 14-Oct-2024 13:26:40.959 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-44081"] 14-Oct-2024 13:26:40.959 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Oct-2024 13:26:40.959 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-44081"] 14-Oct-2024 13:26:40.975 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-44081"] 14-Oct-2024 13:26:40.977 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 14-Oct-2024 13:26:40.980 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 14-Oct-2024 13:26:40.981 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Oct-2024 13:26:40.981 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 14-Oct-2024 13:26:40.987 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-35289"] 14-Oct-2024 13:26:40.997 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@291b4bf5] to web application [weaving]. 14-Oct-2024 13:26:41.002 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-35289"] 14-Oct-2024 13:26:41.002 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Oct-2024 13:26:41.002 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-35289"] 14-Oct-2024 13:26:41.006 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-35289"] 14-Oct-2024 13:26:41.008 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 14-Oct-2024 13:26:41.010 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 14-Oct-2024 13:26:41.011 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Oct-2024 13:26:41.011 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 14-Oct-2024 13:26:41.020 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-43371"] 14-Oct-2024 13:26:41.028 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6ff29830] to web application [weaving]. 14-Oct-2024 13:26:41.028 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6a2b953e] to web application [weaving]. 14-Oct-2024 13:26:41.042 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-43371"] 14-Oct-2024 13:26:41.046 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Oct-2024 13:26:41.047 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-43371"] 14-Oct-2024 13:26:41.051 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-43371"] 14-Oct-2024 13:26:41.053 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 14-Oct-2024 13:26:41.056 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 14-Oct-2024 13:26:41.057 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Oct-2024 13:26:41.057 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 14-Oct-2024 13:26:41.075 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-43381"] 14-Oct-2024 13:26:41.081 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3f56875e] to web application [weaving]. 14-Oct-2024 13:26:41.081 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2b4bac49] to web application [weaving]. 14-Oct-2024 13:26:41.085 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-43381"] 14-Oct-2024 13:26:41.085 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Oct-2024 13:26:41.085 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-43381"] 14-Oct-2024 13:26:41.098 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-43381"] 14-Oct-2024 13:26:41.103 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 14-Oct-2024 13:26:41.105 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 14-Oct-2024 13:26:41.105 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Oct-2024 13:26:41.106 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 14-Oct-2024 13:26:41.110 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-46665"] 14-Oct-2024 13:26:41.151 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@186f8716] to web application [weaving]. 14-Oct-2024 13:26:41.152 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1d8bd0de] to web application [weaving]. 14-Oct-2024 13:26:41.156 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-46665"] 14-Oct-2024 13:26:41.156 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Oct-2024 13:26:41.157 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-46665"] 14-Oct-2024 13:26:41.159 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-46665"] 14-Oct-2024 13:26:41.161 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 14-Oct-2024 13:26:41.162 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 14-Oct-2024 13:26:41.163 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Oct-2024 13:26:41.172 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 14-Oct-2024 13:26:41.187 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-40065"] 14-Oct-2024 13:26:41.247 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-40065"] 14-Oct-2024 13:26:41.247 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Oct-2024 13:26:41.248 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-40065"] 14-Oct-2024 13:26:41.251 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-40065"] 14-Oct-2024 13:26:41.253 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 14-Oct-2024 13:26:41.255 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 14-Oct-2024 13:26:41.255 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Oct-2024 13:26:41.256 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 14-Oct-2024 13:26:41.275 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-41163"] 14-Oct-2024 13:26:41.331 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2e1d27ba] to web application [weaving]. 14-Oct-2024 13:26:41.331 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2e1d27ba] from web application [weaving]. 14-Oct-2024 13:26:41.337 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-41163"] 14-Oct-2024 13:26:41.337 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Oct-2024 13:26:41.338 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-41163"] 14-Oct-2024 13:26:41.341 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-41163"] 14-Oct-2024 13:26:41.343 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 14-Oct-2024 13:26:41.347 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 14-Oct-2024 13:26:41.348 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Oct-2024 13:26:41.349 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 14-Oct-2024 13:26:41.370 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-43803"] 14-Oct-2024 13:26:41.393 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@13b13b5d] to web application [weaving]. 14-Oct-2024 13:26:41.393 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2892dae4] to web application [weaving]. 14-Oct-2024 13:26:41.393 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2892dae4] from web application [weaving]. 14-Oct-2024 13:26:41.396 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-43803"] 14-Oct-2024 13:26:41.397 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Oct-2024 13:26:41.397 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-43803"] 14-Oct-2024 13:26:41.412 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-43803"] 14-Oct-2024 13:26:41.416 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 14-Oct-2024 13:26:41.419 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 14-Oct-2024 13:26:41.420 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Oct-2024 13:26:41.420 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 14-Oct-2024 13:26:41.434 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-34871"] 14-Oct-2024 13:26:41.484 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@51f116b8] to web application [weaving]. 14-Oct-2024 13:26:41.484 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@19d481b] to web application [weaving]. 14-Oct-2024 13:26:41.484 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@19d481b] from web application [weaving]. 14-Oct-2024 13:26:41.488 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-34871"] 14-Oct-2024 13:26:41.490 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Oct-2024 13:26:41.491 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-34871"] 14-Oct-2024 13:26:41.494 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-34871"] ------------- ---------------- --------------- Testcase: testNoWeaving took 2.221 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.082 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.03 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.045 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.05 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.057 sec Testcase: testAddingNullTransformerThrowsException took 0.093 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.089 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.072 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.079 sec