Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.977 sec ------------- Standard Error ----------------- 06-Aug-2024 09:04:38.516 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 06-Aug-2024 09:04:40.127 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 06-Aug-2024 09:04:40.254 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Aug-2024 09:04:40.255 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Aug-2024 09:04:40.584 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-42811"] 06-Aug-2024 09:04:40.789 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-42811"] 06-Aug-2024 09:04:40.803 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Aug-2024 09:04:40.805 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-42811"] 06-Aug-2024 09:04:40.813 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-42811"] 06-Aug-2024 09:04:40.825 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 06-Aug-2024 09:04:40.829 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 06-Aug-2024 09:04:40.830 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Aug-2024 09:04:40.833 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Aug-2024 09:04:40.868 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-40689"] 06-Aug-2024 09:04:41.003 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@49e5f737] to web application [weaving]. 06-Aug-2024 09:04:41.008 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-40689"] 06-Aug-2024 09:04:41.009 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Aug-2024 09:04:41.009 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-40689"] 06-Aug-2024 09:04:41.013 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-40689"] 06-Aug-2024 09:04:41.024 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 06-Aug-2024 09:04:41.036 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 06-Aug-2024 09:04:41.037 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Aug-2024 09:04:41.037 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Aug-2024 09:04:41.052 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-40531"] 06-Aug-2024 09:04:41.169 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6f45df59] to web application [weaving]. 06-Aug-2024 09:04:41.173 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-40531"] 06-Aug-2024 09:04:41.174 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Aug-2024 09:04:41.174 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-40531"] 06-Aug-2024 09:04:41.176 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-40531"] 06-Aug-2024 09:04:41.177 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 06-Aug-2024 09:04:41.179 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 06-Aug-2024 09:04:41.182 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Aug-2024 09:04:41.182 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Aug-2024 09:04:41.204 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-35475"] 06-Aug-2024 09:04:41.208 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2898ac89] to web application [weaving]. 06-Aug-2024 09:04:41.208 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@683dbc2c] to web application [weaving]. 06-Aug-2024 09:04:41.227 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-35475"] 06-Aug-2024 09:04:41.231 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Aug-2024 09:04:41.232 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-35475"] 06-Aug-2024 09:04:41.237 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-35475"] 06-Aug-2024 09:04:41.240 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 06-Aug-2024 09:04:41.242 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 06-Aug-2024 09:04:41.242 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Aug-2024 09:04:41.243 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Aug-2024 09:04:41.279 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-41983"] 06-Aug-2024 09:04:41.313 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7c1e2a9e] to web application [weaving]. 06-Aug-2024 09:04:41.313 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@fa36558] to web application [weaving]. 06-Aug-2024 09:04:41.321 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-41983"] 06-Aug-2024 09:04:41.321 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Aug-2024 09:04:41.321 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-41983"] 06-Aug-2024 09:04:41.331 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-41983"] 06-Aug-2024 09:04:41.337 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 06-Aug-2024 09:04:41.340 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 06-Aug-2024 09:04:41.341 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Aug-2024 09:04:41.343 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Aug-2024 09:04:41.350 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-44885"] 06-Aug-2024 09:04:41.353 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@568ff82] to web application [weaving]. 06-Aug-2024 09:04:41.354 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@50caa560] to web application [weaving]. 06-Aug-2024 09:04:41.357 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-44885"] 06-Aug-2024 09:04:41.357 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Aug-2024 09:04:41.361 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-44885"] 06-Aug-2024 09:04:41.362 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-44885"] 06-Aug-2024 09:04:41.365 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 06-Aug-2024 09:04:41.375 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 06-Aug-2024 09:04:41.375 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Aug-2024 09:04:41.376 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Aug-2024 09:04:41.381 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-37431"] 06-Aug-2024 09:04:41.491 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-37431"] 06-Aug-2024 09:04:41.493 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Aug-2024 09:04:41.493 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-37431"] 06-Aug-2024 09:04:41.497 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-37431"] 06-Aug-2024 09:04:41.498 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 06-Aug-2024 09:04:41.499 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 06-Aug-2024 09:04:41.500 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Aug-2024 09:04:41.500 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Aug-2024 09:04:41.533 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-34687"] 06-Aug-2024 09:04:41.595 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6c779568] to web application [weaving]. 06-Aug-2024 09:04:41.595 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6c779568] from web application [weaving]. 06-Aug-2024 09:04:41.599 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-34687"] 06-Aug-2024 09:04:41.600 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Aug-2024 09:04:41.600 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-34687"] 06-Aug-2024 09:04:41.602 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-34687"] 06-Aug-2024 09:04:41.612 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 06-Aug-2024 09:04:41.615 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 06-Aug-2024 09:04:41.616 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Aug-2024 09:04:41.627 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Aug-2024 09:04:41.662 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-45567"] 06-Aug-2024 09:04:41.815 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@52102734] to web application [weaving]. 06-Aug-2024 09:04:41.815 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3541cb24] to web application [weaving]. 06-Aug-2024 09:04:41.815 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3541cb24] from web application [weaving]. 06-Aug-2024 09:04:41.819 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-45567"] 06-Aug-2024 09:04:41.819 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Aug-2024 09:04:41.819 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-45567"] 06-Aug-2024 09:04:41.821 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-45567"] 06-Aug-2024 09:04:41.822 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 06-Aug-2024 09:04:41.824 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 06-Aug-2024 09:04:41.824 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Aug-2024 09:04:41.824 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Aug-2024 09:04:41.838 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-42971"] 06-Aug-2024 09:04:41.933 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6a370f4] to web application [weaving]. 06-Aug-2024 09:04:41.933 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2abf4075] to web application [weaving]. 06-Aug-2024 09:04:41.934 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2abf4075] from web application [weaving]. 06-Aug-2024 09:04:41.937 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-42971"] 06-Aug-2024 09:04:41.938 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Aug-2024 09:04:41.938 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-42971"] 06-Aug-2024 09:04:41.943 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-42971"] ------------- ---------------- --------------- Testcase: testNoWeaving took 2.551 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.203 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.153 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.062 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.095 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.028 sec Testcase: testAddingNullTransformerThrowsException took 0.132 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.114 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.21 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.122 sec