Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.012 sec ------------- Standard Error ----------------- 12-Dec-2024 15:09:00.780 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 12-Dec-2024 15:09:01.683 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 12-Dec-2024 15:09:01.748 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 15:09:01.749 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 12-Dec-2024 15:09:01.926 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-45125"] 12-Dec-2024 15:09:01.955 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-45125"] 12-Dec-2024 15:09:01.970 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 15:09:01.972 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-45125"] 12-Dec-2024 15:09:01.975 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-45125"] 12-Dec-2024 15:09:01.986 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 12-Dec-2024 15:09:01.988 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 12-Dec-2024 15:09:01.991 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 15:09:01.991 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 12-Dec-2024 15:09:01.996 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42773"] 12-Dec-2024 15:09:02.005 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 15:09:02.010 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42773"] 12-Dec-2024 15:09:02.011 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 15:09:02.011 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42773"] 12-Dec-2024 15:09:02.012 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42773"] 12-Dec-2024 15:09:02.017 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 12-Dec-2024 15:09:02.018 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 12-Dec-2024 15:09:02.020 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 15:09:02.020 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 12-Dec-2024 15:09:02.037 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-38141"] 12-Dec-2024 15:09:02.037 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@76c3e77a] to web application [weaving]. 12-Dec-2024 15:09:02.041 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-38141"] 12-Dec-2024 15:09:02.042 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 15:09:02.043 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-38141"] 12-Dec-2024 15:09:02.044 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-38141"] 12-Dec-2024 15:09:02.046 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 12-Dec-2024 15:09:02.048 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 12-Dec-2024 15:09:02.057 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 15:09:02.057 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 12-Dec-2024 15:09:02.070 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-40111"] 12-Dec-2024 15:09:02.071 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4d0f2471] to web application [weaving]. 12-Dec-2024 15:09:02.072 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7133da86] to web application [weaving]. 12-Dec-2024 15:09:02.077 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-40111"] 12-Dec-2024 15:09:02.079 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 15:09:02.079 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-40111"] 12-Dec-2024 15:09:02.080 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-40111"] 12-Dec-2024 15:09:02.085 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 12-Dec-2024 15:09:02.087 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 12-Dec-2024 15:09:02.090 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 15:09:02.090 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 12-Dec-2024 15:09:02.104 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-36059"] 12-Dec-2024 15:09:02.105 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1a18644] to web application [weaving]. 12-Dec-2024 15:09:02.105 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5acf93bb] to web application [weaving]. 12-Dec-2024 15:09:02.109 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-36059"] 12-Dec-2024 15:09:02.110 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 15:09:02.111 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-36059"] 12-Dec-2024 15:09:02.111 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-36059"] 12-Dec-2024 15:09:02.114 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 12-Dec-2024 15:09:02.116 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 12-Dec-2024 15:09:02.175 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 15:09:02.176 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 12-Dec-2024 15:09:02.181 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-38243"] 12-Dec-2024 15:09:02.182 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@306e95ec] to web application [weaving]. 12-Dec-2024 15:09:02.182 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@52af26ee] to web application [weaving]. 12-Dec-2024 15:09:02.195 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-38243"] 12-Dec-2024 15:09:02.199 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 15:09:02.200 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-38243"] 12-Dec-2024 15:09:02.201 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-38243"] 12-Dec-2024 15:09:02.205 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 12-Dec-2024 15:09:02.206 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 12-Dec-2024 15:09:02.210 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 15:09:02.210 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 12-Dec-2024 15:09:02.218 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-39939"] 12-Dec-2024 15:09:02.223 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-39939"] 12-Dec-2024 15:09:02.224 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 15:09:02.225 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-39939"] 12-Dec-2024 15:09:02.226 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-39939"] 12-Dec-2024 15:09:02.232 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 12-Dec-2024 15:09:02.234 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 12-Dec-2024 15:09:02.305 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 15:09:02.305 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 12-Dec-2024 15:09:02.315 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-40379"] 12-Dec-2024 15:09:02.316 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@21282ed8] to web application [weaving]. 12-Dec-2024 15:09:02.317 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@21282ed8] from web application [weaving]. 12-Dec-2024 15:09:02.320 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-40379"] 12-Dec-2024 15:09:02.321 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 15:09:02.322 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-40379"] 12-Dec-2024 15:09:02.323 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-40379"] 12-Dec-2024 15:09:02.326 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 12-Dec-2024 15:09:02.335 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 12-Dec-2024 15:09:02.404 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 15:09:02.405 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 12-Dec-2024 15:09:02.421 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36465"] 12-Dec-2024 15:09:02.425 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@27f981c6] to web application [weaving]. 12-Dec-2024 15:09:02.425 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1b11171f] to web application [weaving]. 12-Dec-2024 15:09:02.425 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1b11171f] from web application [weaving]. 12-Dec-2024 15:09:02.429 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36465"] 12-Dec-2024 15:09:02.430 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 15:09:02.430 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36465"] 12-Dec-2024 15:09:02.431 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36465"] 12-Dec-2024 15:09:02.444 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 12-Dec-2024 15:09:02.459 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 12-Dec-2024 15:09:02.480 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Dec-2024 15:09:02.480 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 12-Dec-2024 15:09:02.489 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-32963"] 12-Dec-2024 15:09:02.499 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@273e7444] to web application [weaving]. 12-Dec-2024 15:09:02.499 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7db12bb6] to web application [weaving]. 12-Dec-2024 15:09:02.499 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7db12bb6] from web application [weaving]. 12-Dec-2024 15:09:02.512 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-32963"] 12-Dec-2024 15:09:02.513 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Dec-2024 15:09:02.513 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-32963"] 12-Dec-2024 15:09:02.514 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-32963"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.336 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.031 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.03 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.037 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.03 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.09 sec Testcase: testAddingNullTransformerThrowsException took 0.025 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.096 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.109 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.079 sec