Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.745 sec ------------- Standard Error ----------------- 18-Apr-2024 12:40:31.301 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 18-Apr-2024 12:40:32.354 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 18-Apr-2024 12:40:32.532 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Apr-2024 12:40:32.532 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 18-Apr-2024 12:40:32.853 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-46435"] 18-Apr-2024 12:40:32.918 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-46435"] 18-Apr-2024 12:40:32.929 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Apr-2024 12:40:32.930 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-46435"] 18-Apr-2024 12:40:32.937 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-46435"] 18-Apr-2024 12:40:32.953 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 18-Apr-2024 12:40:32.961 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 18-Apr-2024 12:40:32.983 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Apr-2024 12:40:32.983 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 18-Apr-2024 12:40:32.993 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-36337"] 18-Apr-2024 12:40:32.994 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4e7912d8] to web application [weaving]. 18-Apr-2024 12:40:32.997 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-36337"] 18-Apr-2024 12:40:33.000 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Apr-2024 12:40:33.001 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-36337"] 18-Apr-2024 12:40:33.002 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-36337"] 18-Apr-2024 12:40:33.004 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 18-Apr-2024 12:40:33.006 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 18-Apr-2024 12:40:33.023 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Apr-2024 12:40:33.024 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 18-Apr-2024 12:40:33.033 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-40403"] 18-Apr-2024 12:40:33.033 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2accdbb5] to web application [weaving]. 18-Apr-2024 12:40:33.037 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-40403"] 18-Apr-2024 12:40:33.038 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Apr-2024 12:40:33.038 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-40403"] 18-Apr-2024 12:40:33.039 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-40403"] 18-Apr-2024 12:40:33.041 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 18-Apr-2024 12:40:33.044 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 18-Apr-2024 12:40:33.065 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Apr-2024 12:40:33.065 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 18-Apr-2024 12:40:33.073 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42347"] 18-Apr-2024 12:40:33.074 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@15bbf42f] to web application [weaving]. 18-Apr-2024 12:40:33.074 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@550ee7e5] to web application [weaving]. 18-Apr-2024 12:40:33.079 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42347"] 18-Apr-2024 12:40:33.080 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Apr-2024 12:40:33.080 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42347"] 18-Apr-2024 12:40:33.081 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42347"] 18-Apr-2024 12:40:33.085 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 18-Apr-2024 12:40:33.086 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 18-Apr-2024 12:40:33.105 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Apr-2024 12:40:33.105 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 18-Apr-2024 12:40:33.133 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42191"] 18-Apr-2024 12:40:33.134 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@50b5ac82] to web application [weaving]. 18-Apr-2024 12:40:33.134 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@101952da] to web application [weaving]. 18-Apr-2024 12:40:33.137 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42191"] 18-Apr-2024 12:40:33.138 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Apr-2024 12:40:33.139 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42191"] 18-Apr-2024 12:40:33.139 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42191"] 18-Apr-2024 12:40:33.143 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 18-Apr-2024 12:40:33.145 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 18-Apr-2024 12:40:33.151 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Apr-2024 12:40:33.151 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 18-Apr-2024 12:40:33.156 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36839"] 18-Apr-2024 12:40:33.177 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@10d307f1] to web application [weaving]. 18-Apr-2024 12:40:33.177 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4d5b6aac] to web application [weaving]. 18-Apr-2024 12:40:33.180 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36839"] 18-Apr-2024 12:40:33.181 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Apr-2024 12:40:33.181 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36839"] 18-Apr-2024 12:40:33.182 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36839"] 18-Apr-2024 12:40:33.185 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 18-Apr-2024 12:40:33.188 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 18-Apr-2024 12:40:33.203 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Apr-2024 12:40:33.203 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 18-Apr-2024 12:40:33.208 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-45581"] 18-Apr-2024 12:40:33.212 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-45581"] 18-Apr-2024 12:40:33.213 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Apr-2024 12:40:33.213 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-45581"] 18-Apr-2024 12:40:33.213 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-45581"] 18-Apr-2024 12:40:33.217 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 18-Apr-2024 12:40:33.219 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 18-Apr-2024 12:40:33.225 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Apr-2024 12:40:33.225 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 18-Apr-2024 12:40:33.230 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-34137"] 18-Apr-2024 12:40:33.236 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6da21078] to web application [weaving]. 18-Apr-2024 12:40:33.236 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6da21078] from web application [weaving]. 18-Apr-2024 12:40:33.238 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-34137"] 18-Apr-2024 12:40:33.239 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Apr-2024 12:40:33.239 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-34137"] 18-Apr-2024 12:40:33.240 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-34137"] 18-Apr-2024 12:40:33.242 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 18-Apr-2024 12:40:33.243 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 18-Apr-2024 12:40:33.272 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Apr-2024 12:40:33.272 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 18-Apr-2024 12:40:33.282 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-39357"] 18-Apr-2024 12:40:33.287 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5acf93bb] to web application [weaving]. 18-Apr-2024 12:40:33.287 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7e7be63f] to web application [weaving]. 18-Apr-2024 12:40:33.287 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7e7be63f] from web application [weaving]. 18-Apr-2024 12:40:33.301 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-39357"] 18-Apr-2024 12:40:33.313 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Apr-2024 12:40:33.313 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-39357"] 18-Apr-2024 12:40:33.320 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-39357"] 18-Apr-2024 12:40:33.323 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 18-Apr-2024 12:40:33.326 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 18-Apr-2024 12:40:33.345 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Apr-2024 12:40:33.346 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.23-dev] 18-Apr-2024 12:40:33.350 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-37497"] 18-Apr-2024 12:40:33.351 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@58d75e99] to web application [weaving]. 18-Apr-2024 12:40:33.351 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@74751b3] to web application [weaving]. 18-Apr-2024 12:40:33.351 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@74751b3] from web application [weaving]. 18-Apr-2024 12:40:33.354 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-37497"] 18-Apr-2024 12:40:33.357 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Apr-2024 12:40:33.358 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-37497"] 18-Apr-2024 12:40:33.358 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-37497"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.84 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.055 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.037 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.043 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.058 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.042 sec Testcase: testAddingNullTransformerThrowsException took 0.032 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.025 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.081 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.046 sec