Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.696 sec ------------- Standard Error ----------------- 03-Jan-2024 18:07:56.291 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 03-Jan-2024 18:07:57.246 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 03-Jan-2024 18:07:57.339 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Jan-2024 18:07:57.339 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 03-Jan-2024 18:07:57.569 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-46149"] 03-Jan-2024 18:07:57.715 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-46149"] 03-Jan-2024 18:07:57.731 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Jan-2024 18:07:57.734 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-46149"] 03-Jan-2024 18:07:57.739 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-46149"] 03-Jan-2024 18:07:57.756 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 03-Jan-2024 18:07:57.764 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 03-Jan-2024 18:07:57.765 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Jan-2024 18:07:57.765 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 03-Jan-2024 18:07:57.773 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-44529"] 03-Jan-2024 18:07:57.797 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2f8dad04] to web application [weaving]. 03-Jan-2024 18:07:57.801 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-44529"] 03-Jan-2024 18:07:57.804 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Jan-2024 18:07:57.805 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-44529"] 03-Jan-2024 18:07:57.812 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-44529"] 03-Jan-2024 18:07:57.815 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 03-Jan-2024 18:07:57.819 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 03-Jan-2024 18:07:57.820 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Jan-2024 18:07:57.821 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 03-Jan-2024 18:07:57.835 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-34383"] 03-Jan-2024 18:07:57.871 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5ace1ed4] to web application [weaving]. 03-Jan-2024 18:07:57.875 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-34383"] 03-Jan-2024 18:07:57.877 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Jan-2024 18:07:57.877 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-34383"] 03-Jan-2024 18:07:57.882 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-34383"] 03-Jan-2024 18:07:57.884 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 03-Jan-2024 18:07:57.889 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 03-Jan-2024 18:07:57.891 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Jan-2024 18:07:57.891 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 03-Jan-2024 18:07:57.901 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-39605"] 03-Jan-2024 18:07:57.911 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5f9b2141] to web application [weaving]. 03-Jan-2024 18:07:57.911 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@247d8ae] to web application [weaving]. 03-Jan-2024 18:07:57.930 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-39605"] 03-Jan-2024 18:07:57.935 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Jan-2024 18:07:57.935 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-39605"] 03-Jan-2024 18:07:57.938 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-39605"] 03-Jan-2024 18:07:57.943 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 03-Jan-2024 18:07:57.949 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 03-Jan-2024 18:07:57.949 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Jan-2024 18:07:57.951 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 03-Jan-2024 18:07:57.957 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-36431"] 03-Jan-2024 18:07:57.967 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4de4b452] to web application [weaving]. 03-Jan-2024 18:07:57.967 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@50b5ac82] to web application [weaving]. 03-Jan-2024 18:07:57.970 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-36431"] 03-Jan-2024 18:07:57.970 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Jan-2024 18:07:57.970 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-36431"] 03-Jan-2024 18:07:57.973 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-36431"] 03-Jan-2024 18:07:57.975 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 03-Jan-2024 18:07:57.976 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 03-Jan-2024 18:07:57.985 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Jan-2024 18:07:57.985 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 03-Jan-2024 18:07:58.010 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-41647"] 03-Jan-2024 18:07:58.036 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@73700b80] to web application [weaving]. 03-Jan-2024 18:07:58.036 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@49c7b90e] to web application [weaving]. 03-Jan-2024 18:07:58.041 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-41647"] 03-Jan-2024 18:07:58.044 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Jan-2024 18:07:58.044 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-41647"] 03-Jan-2024 18:07:58.047 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-41647"] 03-Jan-2024 18:07:58.052 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 03-Jan-2024 18:07:58.057 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 03-Jan-2024 18:07:58.058 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Jan-2024 18:07:58.059 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 03-Jan-2024 18:07:58.071 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-34575"] 03-Jan-2024 18:07:58.121 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-34575"] 03-Jan-2024 18:07:58.124 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Jan-2024 18:07:58.125 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-34575"] 03-Jan-2024 18:07:58.127 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-34575"] 03-Jan-2024 18:07:58.129 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 03-Jan-2024 18:07:58.131 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 03-Jan-2024 18:07:58.131 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Jan-2024 18:07:58.132 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 03-Jan-2024 18:07:58.140 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-44271"] 03-Jan-2024 18:07:58.222 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@28f2a10f] to web application [weaving]. 03-Jan-2024 18:07:58.223 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@28f2a10f] from web application [weaving]. 03-Jan-2024 18:07:58.228 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-44271"] 03-Jan-2024 18:07:58.229 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Jan-2024 18:07:58.229 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-44271"] 03-Jan-2024 18:07:58.235 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-44271"] 03-Jan-2024 18:07:58.236 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 03-Jan-2024 18:07:58.238 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 03-Jan-2024 18:07:58.239 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Jan-2024 18:07:58.239 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 03-Jan-2024 18:07:58.251 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-40179"] 03-Jan-2024 18:07:58.289 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2f217633] to web application [weaving]. 03-Jan-2024 18:07:58.290 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@a530d0a] to web application [weaving]. 03-Jan-2024 18:07:58.290 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@a530d0a] from web application [weaving]. 03-Jan-2024 18:07:58.293 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-40179"] 03-Jan-2024 18:07:58.293 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Jan-2024 18:07:58.293 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-40179"] 03-Jan-2024 18:07:58.297 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-40179"] 03-Jan-2024 18:07:58.298 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 03-Jan-2024 18:07:58.301 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 03-Jan-2024 18:07:58.302 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Jan-2024 18:07:58.302 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 03-Jan-2024 18:07:58.310 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-37761"] 03-Jan-2024 18:07:58.323 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7bd4937b] to web application [weaving]. 03-Jan-2024 18:07:58.323 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@21e360a] to web application [weaving]. 03-Jan-2024 18:07:58.323 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@21e360a] from web application [weaving]. 03-Jan-2024 18:07:58.326 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-37761"] 03-Jan-2024 18:07:58.329 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Jan-2024 18:07:58.330 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-37761"] 03-Jan-2024 18:07:58.334 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-37761"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.685 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.058 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.069 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.057 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.032 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.075 sec Testcase: testAddingNullTransformerThrowsException took 0.078 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.107 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.062 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.037 sec