Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.838 sec ------------- Standard Error ----------------- 03-Sep-2024 11:28:03.234 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 03-Sep-2024 11:28:04.542 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 03-Sep-2024 11:28:04.640 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Sep-2024 11:28:04.640 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 03-Sep-2024 11:28:04.844 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-35709"] 03-Sep-2024 11:28:04.885 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-35709"] 03-Sep-2024 11:28:04.894 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Sep-2024 11:28:04.896 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-35709"] 03-Sep-2024 11:28:04.899 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-35709"] 03-Sep-2024 11:28:04.941 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 03-Sep-2024 11:28:04.943 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 03-Sep-2024 11:28:05.020 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Sep-2024 11:28:05.020 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 03-Sep-2024 11:28:05.043 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-33547"] 03-Sep-2024 11:28:05.059 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5c671d7f] to web application [weaving]. 03-Sep-2024 11:28:05.063 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-33547"] 03-Sep-2024 11:28:05.065 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Sep-2024 11:28:05.065 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-33547"] 03-Sep-2024 11:28:05.066 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-33547"] 03-Sep-2024 11:28:05.073 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 03-Sep-2024 11:28:05.074 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 03-Sep-2024 11:28:05.143 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Sep-2024 11:28:05.144 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 03-Sep-2024 11:28:05.167 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-46217"] 03-Sep-2024 11:28:05.168 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@38e79ae3] to web application [weaving]. 03-Sep-2024 11:28:05.175 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-46217"] 03-Sep-2024 11:28:05.178 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Sep-2024 11:28:05.179 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-46217"] 03-Sep-2024 11:28:05.179 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-46217"] 03-Sep-2024 11:28:05.183 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 03-Sep-2024 11:28:05.185 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 03-Sep-2024 11:28:05.248 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Sep-2024 11:28:05.248 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 03-Sep-2024 11:28:05.259 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-43303"] 03-Sep-2024 11:28:05.267 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@68267da0] to web application [weaving]. 03-Sep-2024 11:28:05.267 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2638011] to web application [weaving]. 03-Sep-2024 11:28:05.274 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-43303"] 03-Sep-2024 11:28:05.275 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Sep-2024 11:28:05.275 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-43303"] 03-Sep-2024 11:28:05.276 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-43303"] 03-Sep-2024 11:28:05.283 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 03-Sep-2024 11:28:05.284 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 03-Sep-2024 11:28:05.308 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Sep-2024 11:28:05.308 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 03-Sep-2024 11:28:05.315 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-39353"] 03-Sep-2024 11:28:05.317 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2b4bac49] to web application [weaving]. 03-Sep-2024 11:28:05.317 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@fd07cbb] to web application [weaving]. 03-Sep-2024 11:28:05.321 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-39353"] 03-Sep-2024 11:28:05.325 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Sep-2024 11:28:05.325 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-39353"] 03-Sep-2024 11:28:05.326 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-39353"] 03-Sep-2024 11:28:05.334 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 03-Sep-2024 11:28:05.338 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 03-Sep-2024 11:28:05.376 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Sep-2024 11:28:05.377 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 03-Sep-2024 11:28:05.391 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45701"] 03-Sep-2024 11:28:05.392 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1d8bd0de] to web application [weaving]. 03-Sep-2024 11:28:05.392 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@45ca843] to web application [weaving]. 03-Sep-2024 11:28:05.396 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45701"] 03-Sep-2024 11:28:05.421 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Sep-2024 11:28:05.421 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45701"] 03-Sep-2024 11:28:05.426 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45701"] 03-Sep-2024 11:28:05.441 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 03-Sep-2024 11:28:05.443 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 03-Sep-2024 11:28:05.458 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Sep-2024 11:28:05.458 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 03-Sep-2024 11:28:05.463 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-37757"] 03-Sep-2024 11:28:05.467 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-37757"] 03-Sep-2024 11:28:05.468 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Sep-2024 11:28:05.468 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-37757"] 03-Sep-2024 11:28:05.469 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-37757"] 03-Sep-2024 11:28:05.472 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 03-Sep-2024 11:28:05.479 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 03-Sep-2024 11:28:05.496 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Sep-2024 11:28:05.496 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 03-Sep-2024 11:28:05.514 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-46717"] 03-Sep-2024 11:28:05.515 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@61d6015a] to web application [weaving]. 03-Sep-2024 11:28:05.516 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@61d6015a] from web application [weaving]. 03-Sep-2024 11:28:05.519 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-46717"] 03-Sep-2024 11:28:05.522 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Sep-2024 11:28:05.522 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-46717"] 03-Sep-2024 11:28:05.523 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-46717"] 03-Sep-2024 11:28:05.530 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 03-Sep-2024 11:28:05.532 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 03-Sep-2024 11:28:05.586 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Sep-2024 11:28:05.586 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 03-Sep-2024 11:28:05.591 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-35913"] 03-Sep-2024 11:28:05.592 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@355ce81c] to web application [weaving]. 03-Sep-2024 11:28:05.592 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@29647f75] to web application [weaving]. 03-Sep-2024 11:28:05.592 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@29647f75] from web application [weaving]. 03-Sep-2024 11:28:05.596 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-35913"] 03-Sep-2024 11:28:05.596 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Sep-2024 11:28:05.597 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-35913"] 03-Sep-2024 11:28:05.597 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-35913"] 03-Sep-2024 11:28:05.600 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 03-Sep-2024 11:28:05.606 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 03-Sep-2024 11:28:05.667 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Sep-2024 11:28:05.669 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 03-Sep-2024 11:28:05.684 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-43937"] 03-Sep-2024 11:28:05.703 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@140c9f39] to web application [weaving]. 03-Sep-2024 11:28:05.703 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4d910fd6] to web application [weaving]. 03-Sep-2024 11:28:05.703 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4d910fd6] from web application [weaving]. 03-Sep-2024 11:28:05.706 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-43937"] 03-Sep-2024 11:28:05.707 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Sep-2024 11:28:05.708 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-43937"] 03-Sep-2024 11:28:05.708 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-43937"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.915 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.14 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.111 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.099 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.048 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.109 sec Testcase: testAddingNullTransformerThrowsException took 0.031 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.058 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.07 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.112 sec