Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.181 sec ------------- Standard Error ----------------- 28-Jun-2024 17:31:13.651 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 28-Jun-2024 17:31:14.871 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 28-Jun-2024 17:31:15.021 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Jun-2024 17:31:15.027 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 28-Jun-2024 17:31:15.325 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-41527"] 28-Jun-2024 17:31:15.366 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-41527"] 28-Jun-2024 17:31:15.379 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Jun-2024 17:31:15.384 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-41527"] 28-Jun-2024 17:31:15.386 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-41527"] 28-Jun-2024 17:31:15.394 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 28-Jun-2024 17:31:15.403 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 28-Jun-2024 17:31:15.474 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Jun-2024 17:31:15.474 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 28-Jun-2024 17:31:15.494 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-44521"] 28-Jun-2024 17:31:15.502 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1757cd72] to web application [weaving]. 28-Jun-2024 17:31:15.506 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-44521"] 28-Jun-2024 17:31:15.508 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Jun-2024 17:31:15.508 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-44521"] 28-Jun-2024 17:31:15.509 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-44521"] 28-Jun-2024 17:31:15.512 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 28-Jun-2024 17:31:15.522 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 28-Jun-2024 17:31:15.555 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Jun-2024 17:31:15.555 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 28-Jun-2024 17:31:15.561 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-46457"] 28-Jun-2024 17:31:15.576 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@58ea606c] to web application [weaving]. 28-Jun-2024 17:31:15.580 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-46457"] 28-Jun-2024 17:31:15.581 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Jun-2024 17:31:15.582 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-46457"] 28-Jun-2024 17:31:15.586 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-46457"] 28-Jun-2024 17:31:15.590 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 28-Jun-2024 17:31:15.597 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 28-Jun-2024 17:31:15.748 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Jun-2024 17:31:15.748 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 28-Jun-2024 17:31:15.781 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-43311"] 28-Jun-2024 17:31:15.787 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2898ac89] to web application [weaving]. 28-Jun-2024 17:31:15.792 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@683dbc2c] to web application [weaving]. 28-Jun-2024 17:31:15.799 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-43311"] 28-Jun-2024 17:31:15.799 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Jun-2024 17:31:15.800 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-43311"] 28-Jun-2024 17:31:15.803 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-43311"] 28-Jun-2024 17:31:15.816 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 28-Jun-2024 17:31:15.818 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 28-Jun-2024 17:31:15.883 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Jun-2024 17:31:15.884 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 28-Jun-2024 17:31:15.920 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-45869"] 28-Jun-2024 17:31:15.929 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@32910148] to web application [weaving]. 28-Jun-2024 17:31:15.929 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3f56875e] to web application [weaving]. 28-Jun-2024 17:31:15.933 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-45869"] 28-Jun-2024 17:31:15.934 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Jun-2024 17:31:15.934 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-45869"] 28-Jun-2024 17:31:15.941 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-45869"] 28-Jun-2024 17:31:15.949 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 28-Jun-2024 17:31:15.951 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 28-Jun-2024 17:31:16.050 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Jun-2024 17:31:16.050 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 28-Jun-2024 17:31:16.066 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-35683"] 28-Jun-2024 17:31:16.076 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@186f8716] to web application [weaving]. 28-Jun-2024 17:31:16.076 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1d8bd0de] to web application [weaving]. 28-Jun-2024 17:31:16.079 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-35683"] 28-Jun-2024 17:31:16.081 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Jun-2024 17:31:16.081 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-35683"] 28-Jun-2024 17:31:16.082 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-35683"] 28-Jun-2024 17:31:16.087 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 28-Jun-2024 17:31:16.088 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 28-Jun-2024 17:31:16.222 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Jun-2024 17:31:16.222 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 28-Jun-2024 17:31:16.247 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-43875"] 28-Jun-2024 17:31:16.250 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-43875"] 28-Jun-2024 17:31:16.254 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Jun-2024 17:31:16.255 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-43875"] 28-Jun-2024 17:31:16.258 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-43875"] 28-Jun-2024 17:31:16.260 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 28-Jun-2024 17:31:16.263 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 28-Jun-2024 17:31:16.315 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Jun-2024 17:31:16.315 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 28-Jun-2024 17:31:16.321 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-34271"] 28-Jun-2024 17:31:16.321 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7e9131d5] to web application [weaving]. 28-Jun-2024 17:31:16.321 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7e9131d5] from web application [weaving]. 28-Jun-2024 17:31:16.325 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-34271"] 28-Jun-2024 17:31:16.336 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Jun-2024 17:31:16.336 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-34271"] 28-Jun-2024 17:31:16.337 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-34271"] 28-Jun-2024 17:31:16.343 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 28-Jun-2024 17:31:16.344 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 28-Jun-2024 17:31:16.367 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Jun-2024 17:31:16.368 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 28-Jun-2024 17:31:16.372 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-35637"] 28-Jun-2024 17:31:16.373 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@13b13b5d] to web application [weaving]. 28-Jun-2024 17:31:16.373 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2892dae4] to web application [weaving]. 28-Jun-2024 17:31:16.374 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2892dae4] from web application [weaving]. 28-Jun-2024 17:31:16.376 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-35637"] 28-Jun-2024 17:31:16.377 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Jun-2024 17:31:16.377 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-35637"] 28-Jun-2024 17:31:16.378 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-35637"] 28-Jun-2024 17:31:16.381 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 28-Jun-2024 17:31:16.382 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 28-Jun-2024 17:31:16.462 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Jun-2024 17:31:16.462 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 28-Jun-2024 17:31:16.494 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-35107"] 28-Jun-2024 17:31:16.507 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@19d481b] to web application [weaving]. 28-Jun-2024 17:31:16.507 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1f97cf0d] to web application [weaving]. 28-Jun-2024 17:31:16.508 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1f97cf0d] from web application [weaving]. 28-Jun-2024 17:31:16.511 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-35107"] 28-Jun-2024 17:31:16.512 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Jun-2024 17:31:16.512 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-35107"] 28-Jun-2024 17:31:16.513 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-35107"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.921 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.117 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.079 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.219 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.131 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.139 sec Testcase: testAddingNullTransformerThrowsException took 0.173 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.082 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.038 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.133 sec