Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.06 sec ------------- Standard Error ----------------- 22-Sep-2024 20:56:34.629 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 22-Sep-2024 20:56:36.005 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 22-Sep-2024 20:56:36.158 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Sep-2024 20:56:36.175 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 22-Sep-2024 20:56:36.518 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-46677"] 22-Sep-2024 20:56:36.590 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-46677"] 22-Sep-2024 20:56:36.612 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Sep-2024 20:56:36.613 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-46677"] 22-Sep-2024 20:56:36.616 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-46677"] 22-Sep-2024 20:56:36.637 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 22-Sep-2024 20:56:36.641 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 22-Sep-2024 20:56:36.720 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Sep-2024 20:56:36.720 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 22-Sep-2024 20:56:36.735 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-44597"] 22-Sep-2024 20:56:36.741 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@49e5f737] to web application [weaving]. 22-Sep-2024 20:56:36.759 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-44597"] 22-Sep-2024 20:56:36.763 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Sep-2024 20:56:36.764 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-44597"] 22-Sep-2024 20:56:36.765 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-44597"] 22-Sep-2024 20:56:36.770 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 22-Sep-2024 20:56:36.774 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 22-Sep-2024 20:56:36.895 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Sep-2024 20:56:36.895 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 22-Sep-2024 20:56:36.907 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44681"] 22-Sep-2024 20:56:36.912 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@38e79ae3] to web application [weaving]. 22-Sep-2024 20:56:36.916 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44681"] 22-Sep-2024 20:56:36.917 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Sep-2024 20:56:36.917 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44681"] 22-Sep-2024 20:56:36.918 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44681"] 22-Sep-2024 20:56:36.931 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 22-Sep-2024 20:56:36.933 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 22-Sep-2024 20:56:37.038 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Sep-2024 20:56:37.039 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 22-Sep-2024 20:56:37.051 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41671"] 22-Sep-2024 20:56:37.052 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@683dbc2c] to web application [weaving]. 22-Sep-2024 20:56:37.053 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@68267da0] to web application [weaving]. 22-Sep-2024 20:56:37.084 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41671"] 22-Sep-2024 20:56:37.086 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Sep-2024 20:56:37.087 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41671"] 22-Sep-2024 20:56:37.089 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41671"] 22-Sep-2024 20:56:37.095 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 22-Sep-2024 20:56:37.097 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 22-Sep-2024 20:56:37.198 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Sep-2024 20:56:37.198 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 22-Sep-2024 20:56:37.215 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33179"] 22-Sep-2024 20:56:37.220 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3f56875e] to web application [weaving]. 22-Sep-2024 20:56:37.220 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2b4bac49] to web application [weaving]. 22-Sep-2024 20:56:37.224 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33179"] 22-Sep-2024 20:56:37.225 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Sep-2024 20:56:37.225 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33179"] 22-Sep-2024 20:56:37.225 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33179"] 22-Sep-2024 20:56:37.229 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 22-Sep-2024 20:56:37.231 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 22-Sep-2024 20:56:37.239 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Sep-2024 20:56:37.239 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 22-Sep-2024 20:56:37.251 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-46601"] 22-Sep-2024 20:56:37.253 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1d8bd0de] to web application [weaving]. 22-Sep-2024 20:56:37.253 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@45ca843] to web application [weaving]. 22-Sep-2024 20:56:37.256 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-46601"] 22-Sep-2024 20:56:37.261 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Sep-2024 20:56:37.262 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-46601"] 22-Sep-2024 20:56:37.262 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-46601"] 22-Sep-2024 20:56:37.267 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 22-Sep-2024 20:56:37.269 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 22-Sep-2024 20:56:37.285 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Sep-2024 20:56:37.285 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 22-Sep-2024 20:56:37.290 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-42863"] 22-Sep-2024 20:56:37.299 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-42863"] 22-Sep-2024 20:56:37.302 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Sep-2024 20:56:37.302 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-42863"] 22-Sep-2024 20:56:37.303 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-42863"] 22-Sep-2024 20:56:37.307 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 22-Sep-2024 20:56:37.308 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 22-Sep-2024 20:56:37.312 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Sep-2024 20:56:37.312 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 22-Sep-2024 20:56:37.318 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-37883"] 22-Sep-2024 20:56:37.318 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@61d6015a] to web application [weaving]. 22-Sep-2024 20:56:37.318 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@61d6015a] from web application [weaving]. 22-Sep-2024 20:56:37.320 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-37883"] 22-Sep-2024 20:56:37.324 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Sep-2024 20:56:37.324 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-37883"] 22-Sep-2024 20:56:37.325 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-37883"] 22-Sep-2024 20:56:37.328 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 22-Sep-2024 20:56:37.329 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 22-Sep-2024 20:56:37.337 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Sep-2024 20:56:37.337 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 22-Sep-2024 20:56:37.347 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-40209"] 22-Sep-2024 20:56:37.349 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@355ce81c] to web application [weaving]. 22-Sep-2024 20:56:37.349 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@29647f75] to web application [weaving]. 22-Sep-2024 20:56:37.349 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@29647f75] from web application [weaving]. 22-Sep-2024 20:56:37.353 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-40209"] 22-Sep-2024 20:56:37.355 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Sep-2024 20:56:37.355 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-40209"] 22-Sep-2024 20:56:37.356 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-40209"] 22-Sep-2024 20:56:37.359 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 22-Sep-2024 20:56:37.362 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 22-Sep-2024 20:56:37.394 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Sep-2024 20:56:37.394 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 22-Sep-2024 20:56:37.400 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-44897"] 22-Sep-2024 20:56:37.401 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@140c9f39] to web application [weaving]. 22-Sep-2024 20:56:37.401 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4d910fd6] to web application [weaving]. 22-Sep-2024 20:56:37.401 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4d910fd6] from web application [weaving]. 22-Sep-2024 20:56:37.404 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-44897"] 22-Sep-2024 20:56:37.405 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Sep-2024 20:56:37.405 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-44897"] 22-Sep-2024 20:56:37.406 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-44897"] ------------- ---------------- --------------- Testcase: testNoWeaving took 2.15 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.132 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.151 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.173 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.133 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.039 sec Testcase: testAddingNullTransformerThrowsException took 0.039 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.021 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.03 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.048 sec