Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.163 sec ------------- Standard Error ----------------- 28-Aug-2024 19:23:00.107 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 28-Aug-2024 19:23:01.326 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 28-Aug-2024 19:23:01.423 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Aug-2024 19:23:01.431 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 28-Aug-2024 19:23:01.763 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-35153"] 28-Aug-2024 19:23:01.886 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-35153"] 28-Aug-2024 19:23:01.893 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Aug-2024 19:23:01.899 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-35153"] 28-Aug-2024 19:23:01.917 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-35153"] 28-Aug-2024 19:23:01.923 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 28-Aug-2024 19:23:01.925 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 28-Aug-2024 19:23:01.926 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Aug-2024 19:23:01.926 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 28-Aug-2024 19:23:01.942 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-38671"] 28-Aug-2024 19:23:02.059 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5c671d7f] to web application [weaving]. 28-Aug-2024 19:23:02.063 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-38671"] 28-Aug-2024 19:23:02.067 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Aug-2024 19:23:02.067 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-38671"] 28-Aug-2024 19:23:02.081 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-38671"] 28-Aug-2024 19:23:02.083 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 28-Aug-2024 19:23:02.085 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 28-Aug-2024 19:23:02.086 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Aug-2024 19:23:02.086 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 28-Aug-2024 19:23:02.112 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-43075"] 28-Aug-2024 19:23:02.161 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@38e79ae3] to web application [weaving]. 28-Aug-2024 19:23:02.173 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-43075"] 28-Aug-2024 19:23:02.176 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Aug-2024 19:23:02.176 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-43075"] 28-Aug-2024 19:23:02.179 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-43075"] 28-Aug-2024 19:23:02.181 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 28-Aug-2024 19:23:02.185 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 28-Aug-2024 19:23:02.186 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Aug-2024 19:23:02.186 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 28-Aug-2024 19:23:02.209 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-42625"] 28-Aug-2024 19:23:02.323 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@683dbc2c] to web application [weaving]. 28-Aug-2024 19:23:02.324 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@68267da0] to web application [weaving]. 28-Aug-2024 19:23:02.330 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-42625"] 28-Aug-2024 19:23:02.330 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Aug-2024 19:23:02.331 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-42625"] 28-Aug-2024 19:23:02.334 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-42625"] 28-Aug-2024 19:23:02.336 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 28-Aug-2024 19:23:02.337 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 28-Aug-2024 19:23:02.338 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Aug-2024 19:23:02.338 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 28-Aug-2024 19:23:02.359 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-39057"] 28-Aug-2024 19:23:02.405 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@fa36558] to web application [weaving]. 28-Aug-2024 19:23:02.405 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@672872e1] to web application [weaving]. 28-Aug-2024 19:23:02.409 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-39057"] 28-Aug-2024 19:23:02.409 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Aug-2024 19:23:02.409 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-39057"] 28-Aug-2024 19:23:02.438 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-39057"] 28-Aug-2024 19:23:02.440 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 28-Aug-2024 19:23:02.441 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 28-Aug-2024 19:23:02.442 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Aug-2024 19:23:02.442 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 28-Aug-2024 19:23:02.451 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-33411"] 28-Aug-2024 19:23:02.555 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@50caa560] to web application [weaving]. 28-Aug-2024 19:23:02.555 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2a266d09] to web application [weaving]. 28-Aug-2024 19:23:02.559 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-33411"] 28-Aug-2024 19:23:02.560 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Aug-2024 19:23:02.560 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-33411"] 28-Aug-2024 19:23:02.563 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-33411"] 28-Aug-2024 19:23:02.565 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 28-Aug-2024 19:23:02.567 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 28-Aug-2024 19:23:02.567 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Aug-2024 19:23:02.568 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 28-Aug-2024 19:23:02.579 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-36799"] 28-Aug-2024 19:23:02.650 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-36799"] 28-Aug-2024 19:23:02.650 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Aug-2024 19:23:02.650 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-36799"] 28-Aug-2024 19:23:02.653 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-36799"] 28-Aug-2024 19:23:02.655 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 28-Aug-2024 19:23:02.658 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 28-Aug-2024 19:23:02.659 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Aug-2024 19:23:02.659 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 28-Aug-2024 19:23:02.676 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-41199"] 28-Aug-2024 19:23:02.773 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@f381794] to web application [weaving]. 28-Aug-2024 19:23:02.774 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@f381794] from web application [weaving]. 28-Aug-2024 19:23:02.777 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-41199"] 28-Aug-2024 19:23:02.778 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Aug-2024 19:23:02.778 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-41199"] 28-Aug-2024 19:23:02.785 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-41199"] 28-Aug-2024 19:23:02.786 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 28-Aug-2024 19:23:02.788 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 28-Aug-2024 19:23:02.788 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Aug-2024 19:23:02.789 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 28-Aug-2024 19:23:02.793 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-32835"] 28-Aug-2024 19:23:02.854 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3541cb24] to web application [weaving]. 28-Aug-2024 19:23:02.854 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2177849e] to web application [weaving]. 28-Aug-2024 19:23:02.854 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2177849e] from web application [weaving]. 28-Aug-2024 19:23:02.866 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-32835"] 28-Aug-2024 19:23:02.866 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Aug-2024 19:23:02.867 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-32835"] 28-Aug-2024 19:23:02.869 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-32835"] 28-Aug-2024 19:23:02.871 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 28-Aug-2024 19:23:02.873 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 28-Aug-2024 19:23:02.876 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Aug-2024 19:23:02.876 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 28-Aug-2024 19:23:02.895 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-33475"] 28-Aug-2024 19:23:02.907 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2abf4075] to web application [weaving]. 28-Aug-2024 19:23:02.907 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@770d3326] to web application [weaving]. 28-Aug-2024 19:23:02.907 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@770d3326] from web application [weaving]. 28-Aug-2024 19:23:02.912 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-33475"] 28-Aug-2024 19:23:02.913 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Aug-2024 19:23:02.913 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-33475"] 28-Aug-2024 19:23:02.916 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-33475"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.992 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.16 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.097 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.154 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.104 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.125 sec Testcase: testAddingNullTransformerThrowsException took 0.089 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.131 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.085 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.046 sec