Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.19 sec ------------- Standard Error ----------------- 12-Sep-2024 11:09:21.677 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 12-Sep-2024 11:09:22.990 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 12-Sep-2024 11:09:23.227 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Sep-2024 11:09:23.227 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.30-dev] 12-Sep-2024 11:09:23.621 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33979"] 12-Sep-2024 11:09:23.675 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33979"] 12-Sep-2024 11:09:23.695 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Sep-2024 11:09:23.696 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33979"] 12-Sep-2024 11:09:23.698 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33979"] 12-Sep-2024 11:09:23.721 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 12-Sep-2024 11:09:23.723 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 12-Sep-2024 11:09:23.780 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Sep-2024 11:09:23.781 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.30-dev] 12-Sep-2024 11:09:23.792 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42007"] 12-Sep-2024 11:09:23.801 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5c671d7f] to web application [weaving]. 12-Sep-2024 11:09:23.806 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42007"] 12-Sep-2024 11:09:23.807 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Sep-2024 11:09:23.807 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42007"] 12-Sep-2024 11:09:23.808 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42007"] 12-Sep-2024 11:09:23.813 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 12-Sep-2024 11:09:23.815 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 12-Sep-2024 11:09:23.870 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Sep-2024 11:09:23.870 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.30-dev] 12-Sep-2024 11:09:23.883 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-43311"] 12-Sep-2024 11:09:23.883 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@38e79ae3] to web application [weaving]. 12-Sep-2024 11:09:23.887 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-43311"] 12-Sep-2024 11:09:23.888 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Sep-2024 11:09:23.889 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-43311"] 12-Sep-2024 11:09:23.890 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-43311"] 12-Sep-2024 11:09:23.899 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 12-Sep-2024 11:09:23.911 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 12-Sep-2024 11:09:23.930 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Sep-2024 11:09:23.930 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.30-dev] 12-Sep-2024 11:09:23.939 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44209"] 12-Sep-2024 11:09:23.940 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@68267da0] to web application [weaving]. 12-Sep-2024 11:09:23.940 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2638011] to web application [weaving]. 12-Sep-2024 11:09:23.952 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44209"] 12-Sep-2024 11:09:23.953 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Sep-2024 11:09:23.953 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44209"] 12-Sep-2024 11:09:23.954 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44209"] 12-Sep-2024 11:09:23.958 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 12-Sep-2024 11:09:23.959 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 12-Sep-2024 11:09:23.984 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Sep-2024 11:09:23.984 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.30-dev] 12-Sep-2024 11:09:24.007 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42923"] 12-Sep-2024 11:09:24.007 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3f56875e] to web application [weaving]. 12-Sep-2024 11:09:24.008 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2b4bac49] to web application [weaving]. 12-Sep-2024 11:09:24.014 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42923"] 12-Sep-2024 11:09:24.015 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Sep-2024 11:09:24.016 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42923"] 12-Sep-2024 11:09:24.016 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42923"] 12-Sep-2024 11:09:24.023 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 12-Sep-2024 11:09:24.024 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 12-Sep-2024 11:09:24.136 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Sep-2024 11:09:24.137 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.30-dev] 12-Sep-2024 11:09:24.145 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-35499"] 12-Sep-2024 11:09:24.145 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1d8bd0de] to web application [weaving]. 12-Sep-2024 11:09:24.146 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@45ca843] to web application [weaving]. 12-Sep-2024 11:09:24.148 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-35499"] 12-Sep-2024 11:09:24.153 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Sep-2024 11:09:24.153 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-35499"] 12-Sep-2024 11:09:24.157 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-35499"] 12-Sep-2024 11:09:24.160 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 12-Sep-2024 11:09:24.162 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 12-Sep-2024 11:09:24.165 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Sep-2024 11:09:24.166 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.30-dev] 12-Sep-2024 11:09:24.172 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-43059"] 12-Sep-2024 11:09:24.182 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-43059"] 12-Sep-2024 11:09:24.187 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Sep-2024 11:09:24.187 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-43059"] 12-Sep-2024 11:09:24.188 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-43059"] 12-Sep-2024 11:09:24.196 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 12-Sep-2024 11:09:24.198 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 12-Sep-2024 11:09:24.231 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Sep-2024 11:09:24.232 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.30-dev] 12-Sep-2024 11:09:24.239 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-38453"] 12-Sep-2024 11:09:24.239 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@61d6015a] to web application [weaving]. 12-Sep-2024 11:09:24.240 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@61d6015a] from web application [weaving]. 12-Sep-2024 11:09:24.245 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-38453"] 12-Sep-2024 11:09:24.254 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Sep-2024 11:09:24.255 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-38453"] 12-Sep-2024 11:09:24.255 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-38453"] 12-Sep-2024 11:09:24.259 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 12-Sep-2024 11:09:24.260 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 12-Sep-2024 11:09:24.344 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Sep-2024 11:09:24.344 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.30-dev] 12-Sep-2024 11:09:24.387 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-34313"] 12-Sep-2024 11:09:24.401 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@355ce81c] to web application [weaving]. 12-Sep-2024 11:09:24.401 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@29647f75] to web application [weaving]. 12-Sep-2024 11:09:24.401 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@29647f75] from web application [weaving]. 12-Sep-2024 11:09:24.405 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-34313"] 12-Sep-2024 11:09:24.406 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Sep-2024 11:09:24.406 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-34313"] 12-Sep-2024 11:09:24.407 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-34313"] 12-Sep-2024 11:09:24.409 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 12-Sep-2024 11:09:24.411 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 12-Sep-2024 11:09:24.482 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Sep-2024 11:09:24.482 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.30-dev] 12-Sep-2024 11:09:24.497 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-46399"] 12-Sep-2024 11:09:24.505 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@140c9f39] to web application [weaving]. 12-Sep-2024 11:09:24.505 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4d910fd6] to web application [weaving]. 12-Sep-2024 11:09:24.505 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4d910fd6] from web application [weaving]. 12-Sep-2024 11:09:24.508 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-46399"] 12-Sep-2024 11:09:24.509 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Sep-2024 11:09:24.509 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-46399"] 12-Sep-2024 11:09:24.510 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-46399"] ------------- ---------------- --------------- Testcase: testNoWeaving took 2.234 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.1 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.081 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.063 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.065 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.137 sec Testcase: testAddingNullTransformerThrowsException took 0.035 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.063 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.151 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.104 sec