Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.181 sec ------------- Standard Error ----------------- 13-Sep-2024 17:37:34.414 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 13-Sep-2024 17:37:35.857 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 13-Sep-2024 17:37:36.054 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Sep-2024 17:37:36.055 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.30-dev] 13-Sep-2024 17:37:36.379 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33657"] 13-Sep-2024 17:37:36.446 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33657"] 13-Sep-2024 17:37:36.457 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Sep-2024 17:37:36.458 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33657"] 13-Sep-2024 17:37:36.463 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33657"] 13-Sep-2024 17:37:36.471 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 13-Sep-2024 17:37:36.473 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 13-Sep-2024 17:37:36.588 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Sep-2024 17:37:36.589 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.30-dev] 13-Sep-2024 17:37:36.606 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41561"] 13-Sep-2024 17:37:36.613 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5c671d7f] to web application [weaving]. 13-Sep-2024 17:37:36.618 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41561"] 13-Sep-2024 17:37:36.620 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Sep-2024 17:37:36.620 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41561"] 13-Sep-2024 17:37:36.621 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41561"] 13-Sep-2024 17:37:36.625 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 13-Sep-2024 17:37:36.629 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 13-Sep-2024 17:37:36.777 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Sep-2024 17:37:36.777 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.30-dev] 13-Sep-2024 17:37:36.794 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-34265"] 13-Sep-2024 17:37:36.839 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@63070bab] to web application [weaving]. 13-Sep-2024 17:37:36.843 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-34265"] 13-Sep-2024 17:37:36.844 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Sep-2024 17:37:36.844 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-34265"] 13-Sep-2024 17:37:36.846 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-34265"] 13-Sep-2024 17:37:36.850 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 13-Sep-2024 17:37:36.851 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 13-Sep-2024 17:37:36.863 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Sep-2024 17:37:36.863 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.30-dev] 13-Sep-2024 17:37:36.877 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34173"] 13-Sep-2024 17:37:36.883 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2638011] to web application [weaving]. 13-Sep-2024 17:37:36.883 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6ff29830] to web application [weaving]. 13-Sep-2024 17:37:36.889 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34173"] 13-Sep-2024 17:37:36.894 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Sep-2024 17:37:36.895 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34173"] 13-Sep-2024 17:37:36.896 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34173"] 13-Sep-2024 17:37:36.900 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 13-Sep-2024 17:37:36.902 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 13-Sep-2024 17:37:36.947 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Sep-2024 17:37:36.948 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.30-dev] 13-Sep-2024 17:37:36.962 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-41785"] 13-Sep-2024 17:37:36.962 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2b4bac49] to web application [weaving]. 13-Sep-2024 17:37:36.962 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@fd07cbb] to web application [weaving]. 13-Sep-2024 17:37:36.965 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-41785"] 13-Sep-2024 17:37:36.966 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Sep-2024 17:37:36.966 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-41785"] 13-Sep-2024 17:37:36.967 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-41785"] 13-Sep-2024 17:37:36.974 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 13-Sep-2024 17:37:36.977 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 13-Sep-2024 17:37:36.984 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Sep-2024 17:37:36.984 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.30-dev] 13-Sep-2024 17:37:36.988 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-33373"] 13-Sep-2024 17:37:36.989 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1d8bd0de] to web application [weaving]. 13-Sep-2024 17:37:36.989 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@45ca843] to web application [weaving]. 13-Sep-2024 17:37:36.993 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-33373"] 13-Sep-2024 17:37:36.996 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Sep-2024 17:37:36.996 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-33373"] 13-Sep-2024 17:37:36.997 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-33373"] 13-Sep-2024 17:37:37.000 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 13-Sep-2024 17:37:37.002 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 13-Sep-2024 17:37:37.054 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Sep-2024 17:37:37.054 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.30-dev] 13-Sep-2024 17:37:37.075 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-42459"] 13-Sep-2024 17:37:37.086 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-42459"] 13-Sep-2024 17:37:37.087 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Sep-2024 17:37:37.088 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-42459"] 13-Sep-2024 17:37:37.089 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-42459"] 13-Sep-2024 17:37:37.096 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 13-Sep-2024 17:37:37.098 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 13-Sep-2024 17:37:37.161 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Sep-2024 17:37:37.161 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.30-dev] 13-Sep-2024 17:37:37.179 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41349"] 13-Sep-2024 17:37:37.186 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@61d6015a] to web application [weaving]. 13-Sep-2024 17:37:37.186 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@61d6015a] from web application [weaving]. 13-Sep-2024 17:37:37.195 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41349"] 13-Sep-2024 17:37:37.197 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Sep-2024 17:37:37.198 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41349"] 13-Sep-2024 17:37:37.200 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41349"] 13-Sep-2024 17:37:37.209 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 13-Sep-2024 17:37:37.211 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 13-Sep-2024 17:37:37.263 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Sep-2024 17:37:37.264 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.30-dev] 13-Sep-2024 17:37:37.269 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-33059"] 13-Sep-2024 17:37:37.275 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@355ce81c] to web application [weaving]. 13-Sep-2024 17:37:37.275 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@29647f75] to web application [weaving]. 13-Sep-2024 17:37:37.276 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@29647f75] from web application [weaving]. 13-Sep-2024 17:37:37.285 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-33059"] 13-Sep-2024 17:37:37.286 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Sep-2024 17:37:37.286 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-33059"] 13-Sep-2024 17:37:37.287 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-33059"] 13-Sep-2024 17:37:37.290 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 13-Sep-2024 17:37:37.291 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 13-Sep-2024 17:37:37.324 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Sep-2024 17:37:37.324 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.30-dev] 13-Sep-2024 17:37:37.329 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-39061"] 13-Sep-2024 17:37:37.330 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@140c9f39] to web application [weaving]. 13-Sep-2024 17:37:37.330 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4d910fd6] to web application [weaving]. 13-Sep-2024 17:37:37.330 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4d910fd6] from web application [weaving]. 13-Sep-2024 17:37:37.336 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-39061"] 13-Sep-2024 17:37:37.340 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Sep-2024 17:37:37.340 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-39061"] 13-Sep-2024 17:37:37.340 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-39061"] ------------- ---------------- --------------- Testcase: testNoWeaving took 2.195 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.153 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.225 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.051 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.073 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.026 sec Testcase: testAddingNullTransformerThrowsException took 0.095 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.113 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.08 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.053 sec