Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.168 sec ------------- Standard Error ----------------- 10-Nov-2024 19:11:08.807 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 10-Nov-2024 19:11:10.082 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 10-Nov-2024 19:11:10.282 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Nov-2024 19:11:10.283 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 10-Nov-2024 19:11:10.568 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40753"] 10-Nov-2024 19:11:10.619 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40753"] 10-Nov-2024 19:11:10.631 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Nov-2024 19:11:10.632 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40753"] 10-Nov-2024 19:11:10.640 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40753"] 10-Nov-2024 19:11:10.654 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 10-Nov-2024 19:11:10.656 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 10-Nov-2024 19:11:10.731 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Nov-2024 19:11:10.731 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 10-Nov-2024 19:11:10.736 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40569"] 10-Nov-2024 19:11:10.739 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@14555e0a] to web application [weaving]. 10-Nov-2024 19:11:10.745 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40569"] 10-Nov-2024 19:11:10.746 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Nov-2024 19:11:10.746 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40569"] 10-Nov-2024 19:11:10.746 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40569"] 10-Nov-2024 19:11:10.752 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 10-Nov-2024 19:11:10.757 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 10-Nov-2024 19:11:10.818 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Nov-2024 19:11:10.818 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 10-Nov-2024 19:11:10.844 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44109"] 10-Nov-2024 19:11:10.869 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@78123e82] to web application [weaving]. 10-Nov-2024 19:11:10.873 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44109"] 10-Nov-2024 19:11:10.877 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Nov-2024 19:11:10.878 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44109"] 10-Nov-2024 19:11:10.879 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44109"] 10-Nov-2024 19:11:10.882 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 10-Nov-2024 19:11:10.884 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 10-Nov-2024 19:11:10.968 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Nov-2024 19:11:10.968 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 10-Nov-2024 19:11:10.995 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44955"] 10-Nov-2024 19:11:11.021 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7133da86] to web application [weaving]. 10-Nov-2024 19:11:11.021 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3232a28a] to web application [weaving]. 10-Nov-2024 19:11:11.028 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44955"] 10-Nov-2024 19:11:11.030 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Nov-2024 19:11:11.030 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44955"] 10-Nov-2024 19:11:11.032 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44955"] 10-Nov-2024 19:11:11.042 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 10-Nov-2024 19:11:11.044 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 10-Nov-2024 19:11:11.075 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Nov-2024 19:11:11.076 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 10-Nov-2024 19:11:11.089 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33205"] 10-Nov-2024 19:11:11.103 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7e7be63f] to web application [weaving]. 10-Nov-2024 19:11:11.104 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6cd28fa7] to web application [weaving]. 10-Nov-2024 19:11:11.108 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33205"] 10-Nov-2024 19:11:11.111 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Nov-2024 19:11:11.111 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33205"] 10-Nov-2024 19:11:11.111 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33205"] 10-Nov-2024 19:11:11.114 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 10-Nov-2024 19:11:11.118 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 10-Nov-2024 19:11:11.201 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Nov-2024 19:11:11.201 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 10-Nov-2024 19:11:11.219 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37507"] 10-Nov-2024 19:11:11.232 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6fd83fc1] to web application [weaving]. 10-Nov-2024 19:11:11.233 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4f2b503c] to web application [weaving]. 10-Nov-2024 19:11:11.239 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37507"] 10-Nov-2024 19:11:11.240 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Nov-2024 19:11:11.240 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37507"] 10-Nov-2024 19:11:11.241 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37507"] 10-Nov-2024 19:11:11.246 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 10-Nov-2024 19:11:11.248 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 10-Nov-2024 19:11:11.340 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Nov-2024 19:11:11.340 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 10-Nov-2024 19:11:11.350 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-33367"] 10-Nov-2024 19:11:11.358 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-33367"] 10-Nov-2024 19:11:11.359 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Nov-2024 19:11:11.359 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-33367"] 10-Nov-2024 19:11:11.360 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-33367"] 10-Nov-2024 19:11:11.366 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 10-Nov-2024 19:11:11.368 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 10-Nov-2024 19:11:11.478 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Nov-2024 19:11:11.478 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 10-Nov-2024 19:11:11.491 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41505"] 10-Nov-2024 19:11:11.499 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@437da279] to web application [weaving]. 10-Nov-2024 19:11:11.499 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@437da279] from web application [weaving]. 10-Nov-2024 19:11:11.503 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41505"] 10-Nov-2024 19:11:11.504 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Nov-2024 19:11:11.505 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41505"] 10-Nov-2024 19:11:11.505 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41505"] 10-Nov-2024 19:11:11.508 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 10-Nov-2024 19:11:11.530 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 10-Nov-2024 19:11:11.584 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Nov-2024 19:11:11.584 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 10-Nov-2024 19:11:11.598 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46773"] 10-Nov-2024 19:11:11.602 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2dc54ad4] to web application [weaving]. 10-Nov-2024 19:11:11.602 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4659191b] to web application [weaving]. 10-Nov-2024 19:11:11.603 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4659191b] from web application [weaving]. 10-Nov-2024 19:11:11.606 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46773"] 10-Nov-2024 19:11:11.607 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Nov-2024 19:11:11.626 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46773"] 10-Nov-2024 19:11:11.627 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46773"] 10-Nov-2024 19:11:11.631 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 10-Nov-2024 19:11:11.632 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 10-Nov-2024 19:11:11.670 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Nov-2024 19:11:11.670 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 10-Nov-2024 19:11:11.676 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-46831"] 10-Nov-2024 19:11:11.682 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@272113c4] to web application [weaving]. 10-Nov-2024 19:11:11.683 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@73e9cf30] to web application [weaving]. 10-Nov-2024 19:11:11.683 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@73e9cf30] from web application [weaving]. 10-Nov-2024 19:11:11.686 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-46831"] 10-Nov-2024 19:11:11.693 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Nov-2024 19:11:11.693 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-46831"] 10-Nov-2024 19:11:11.694 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-46831"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.979 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.103 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.13 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.156 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.075 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.131 sec Testcase: testAddingNullTransformerThrowsException took 0.119 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.142 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.122 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.067 sec