Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.599 sec ------------- Standard Error ----------------- 10-Dec-2024 14:22:18.358 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 10-Dec-2024 14:22:19.180 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 10-Dec-2024 14:22:19.306 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Dec-2024 14:22:19.306 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 10-Dec-2024 14:22:19.411 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-34037"] 10-Dec-2024 14:22:19.435 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-34037"] 10-Dec-2024 14:22:19.442 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Dec-2024 14:22:19.443 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-34037"] 10-Dec-2024 14:22:19.445 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-34037"] 10-Dec-2024 14:22:19.453 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 10-Dec-2024 14:22:19.455 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 10-Dec-2024 14:22:19.470 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Dec-2024 14:22:19.471 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 10-Dec-2024 14:22:19.476 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-44363"] 10-Dec-2024 14:22:19.485 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3af9c5b7] to web application [weaving]. 10-Dec-2024 14:22:19.489 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-44363"] 10-Dec-2024 14:22:19.500 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Dec-2024 14:22:19.500 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-44363"] 10-Dec-2024 14:22:19.501 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-44363"] 10-Dec-2024 14:22:19.504 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 10-Dec-2024 14:22:19.506 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 10-Dec-2024 14:22:19.535 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Dec-2024 14:22:19.546 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 10-Dec-2024 14:22:19.555 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44323"] 10-Dec-2024 14:22:19.555 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@10d68fcd] to web application [weaving]. 10-Dec-2024 14:22:19.560 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44323"] 10-Dec-2024 14:22:19.561 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Dec-2024 14:22:19.561 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44323"] 10-Dec-2024 14:22:19.562 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44323"] 10-Dec-2024 14:22:19.568 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 10-Dec-2024 14:22:19.569 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 10-Dec-2024 14:22:19.580 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Dec-2024 14:22:19.580 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 10-Dec-2024 14:22:19.604 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-46809"] 10-Dec-2024 14:22:19.605 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@623a8092] to web application [weaving]. 10-Dec-2024 14:22:19.605 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@a1cdc6d] to web application [weaving]. 10-Dec-2024 14:22:19.612 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-46809"] 10-Dec-2024 14:22:19.613 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Dec-2024 14:22:19.613 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-46809"] 10-Dec-2024 14:22:19.614 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-46809"] 10-Dec-2024 14:22:19.617 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 10-Dec-2024 14:22:19.618 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 10-Dec-2024 14:22:19.623 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Dec-2024 14:22:19.623 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 10-Dec-2024 14:22:19.629 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-40021"] 10-Dec-2024 14:22:19.630 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7748410a] to web application [weaving]. 10-Dec-2024 14:22:19.630 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@740773a3] to web application [weaving]. 10-Dec-2024 14:22:19.633 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-40021"] 10-Dec-2024 14:22:19.636 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Dec-2024 14:22:19.636 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-40021"] 10-Dec-2024 14:22:19.637 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-40021"] 10-Dec-2024 14:22:19.640 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 10-Dec-2024 14:22:19.641 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 10-Dec-2024 14:22:19.652 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Dec-2024 14:22:19.652 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 10-Dec-2024 14:22:19.660 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-41579"] 10-Dec-2024 14:22:19.661 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3943a2be] to web application [weaving]. 10-Dec-2024 14:22:19.661 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@343570b7] to web application [weaving]. 10-Dec-2024 14:22:19.664 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-41579"] 10-Dec-2024 14:22:19.665 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Dec-2024 14:22:19.665 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-41579"] 10-Dec-2024 14:22:19.666 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-41579"] 10-Dec-2024 14:22:19.668 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 10-Dec-2024 14:22:19.669 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 10-Dec-2024 14:22:19.675 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Dec-2024 14:22:19.675 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 10-Dec-2024 14:22:19.680 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-41109"] 10-Dec-2024 14:22:19.684 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-41109"] 10-Dec-2024 14:22:19.687 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Dec-2024 14:22:19.687 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-41109"] 10-Dec-2024 14:22:19.688 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-41109"] 10-Dec-2024 14:22:19.691 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 10-Dec-2024 14:22:19.692 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 10-Dec-2024 14:22:19.694 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Dec-2024 14:22:19.694 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 10-Dec-2024 14:22:19.700 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-38653"] 10-Dec-2024 14:22:19.705 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4e268090] to web application [weaving]. 10-Dec-2024 14:22:19.705 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4e268090] from web application [weaving]. 10-Dec-2024 14:22:19.709 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-38653"] 10-Dec-2024 14:22:19.710 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Dec-2024 14:22:19.711 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-38653"] 10-Dec-2024 14:22:19.711 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-38653"] 10-Dec-2024 14:22:19.717 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 10-Dec-2024 14:22:19.720 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 10-Dec-2024 14:22:19.726 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Dec-2024 14:22:19.726 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 10-Dec-2024 14:22:19.738 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41177"] 10-Dec-2024 14:22:19.739 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6a6afff2] to web application [weaving]. 10-Dec-2024 14:22:19.740 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1649b0e6] to web application [weaving]. 10-Dec-2024 14:22:19.740 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1649b0e6] from web application [weaving]. 10-Dec-2024 14:22:19.744 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41177"] 10-Dec-2024 14:22:19.745 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Dec-2024 14:22:19.746 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41177"] 10-Dec-2024 14:22:19.746 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41177"] 10-Dec-2024 14:22:19.748 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 10-Dec-2024 14:22:19.751 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 10-Dec-2024 14:22:19.760 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Dec-2024 14:22:19.760 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 10-Dec-2024 14:22:19.765 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-33297"] 10-Dec-2024 14:22:19.766 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@61386958] to web application [weaving]. 10-Dec-2024 14:22:19.767 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@73ee04c8] to web application [weaving]. 10-Dec-2024 14:22:19.767 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@73ee04c8] from web application [weaving]. 10-Dec-2024 14:22:19.770 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-33297"] 10-Dec-2024 14:22:19.771 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Dec-2024 14:22:19.772 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-33297"] 10-Dec-2024 14:22:19.773 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-33297"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.176 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.05 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.063 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.049 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.022 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.028 sec Testcase: testAddingNullTransformerThrowsException took 0.023 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.027 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.031 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.027 sec