Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.835 sec ------------- Standard Error ----------------- 17-Dec-2024 15:11:19.442 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 17-Dec-2024 15:11:20.166 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 17-Dec-2024 15:11:20.200 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 17-Dec-2024 15:11:20.200 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 17-Dec-2024 15:11:20.326 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-45829"] 17-Dec-2024 15:11:20.387 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-45829"] 17-Dec-2024 15:11:20.404 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 17-Dec-2024 15:11:20.405 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-45829"] 17-Dec-2024 15:11:20.415 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-45829"] 17-Dec-2024 15:11:20.427 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 17-Dec-2024 15:11:20.430 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 17-Dec-2024 15:11:20.433 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 17-Dec-2024 15:11:20.433 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 17-Dec-2024 15:11:20.448 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-40203"] 17-Dec-2024 15:11:20.473 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7a419da4] to web application [weaving]. 17-Dec-2024 15:11:20.480 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-40203"] 17-Dec-2024 15:11:20.483 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 17-Dec-2024 15:11:20.483 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-40203"] 17-Dec-2024 15:11:20.488 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-40203"] 17-Dec-2024 15:11:20.495 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 17-Dec-2024 15:11:20.502 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 17-Dec-2024 15:11:20.502 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 17-Dec-2024 15:11:20.506 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 17-Dec-2024 15:11:20.518 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-45781"] 17-Dec-2024 15:11:20.536 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@581ac8a8] to web application [weaving]. 17-Dec-2024 15:11:20.540 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-45781"] 17-Dec-2024 15:11:20.542 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 17-Dec-2024 15:11:20.543 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-45781"] 17-Dec-2024 15:11:20.544 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-45781"] 17-Dec-2024 15:11:20.550 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 17-Dec-2024 15:11:20.552 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 17-Dec-2024 15:11:20.553 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 17-Dec-2024 15:11:20.553 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 17-Dec-2024 15:11:20.558 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-34861"] 17-Dec-2024 15:11:20.570 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@71def8f8] to web application [weaving]. 17-Dec-2024 15:11:20.570 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@383bfa16] to web application [weaving]. 17-Dec-2024 15:11:20.576 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-34861"] 17-Dec-2024 15:11:20.576 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 17-Dec-2024 15:11:20.576 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-34861"] 17-Dec-2024 15:11:20.579 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-34861"] 17-Dec-2024 15:11:20.581 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 17-Dec-2024 15:11:20.583 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 17-Dec-2024 15:11:20.584 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 17-Dec-2024 15:11:20.584 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 17-Dec-2024 15:11:20.588 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-35677"] 17-Dec-2024 15:11:20.607 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6283d8b8] to web application [weaving]. 17-Dec-2024 15:11:20.608 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3b6ddd1d] to web application [weaving]. 17-Dec-2024 15:11:20.611 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-35677"] 17-Dec-2024 15:11:20.611 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 17-Dec-2024 15:11:20.614 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-35677"] 17-Dec-2024 15:11:20.619 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-35677"] 17-Dec-2024 15:11:20.621 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 17-Dec-2024 15:11:20.622 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 17-Dec-2024 15:11:20.623 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 17-Dec-2024 15:11:20.623 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 17-Dec-2024 15:11:20.634 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-35825"] 17-Dec-2024 15:11:20.659 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4fb3ee4e] to web application [weaving]. 17-Dec-2024 15:11:20.659 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5d7148e2] to web application [weaving]. 17-Dec-2024 15:11:20.664 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-35825"] 17-Dec-2024 15:11:20.664 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 17-Dec-2024 15:11:20.665 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-35825"] 17-Dec-2024 15:11:20.667 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-35825"] 17-Dec-2024 15:11:20.669 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 17-Dec-2024 15:11:20.671 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 17-Dec-2024 15:11:20.672 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 17-Dec-2024 15:11:20.672 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 17-Dec-2024 15:11:20.693 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-42503"] 17-Dec-2024 15:11:20.714 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-42503"] 17-Dec-2024 15:11:20.715 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 17-Dec-2024 15:11:20.716 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-42503"] 17-Dec-2024 15:11:20.720 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-42503"] 17-Dec-2024 15:11:20.722 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 17-Dec-2024 15:11:20.723 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 17-Dec-2024 15:11:20.724 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 17-Dec-2024 15:11:20.724 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 17-Dec-2024 15:11:20.734 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-35361"] 17-Dec-2024 15:11:20.753 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@f0da945] to web application [weaving]. 17-Dec-2024 15:11:20.753 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@f0da945] from web application [weaving]. 17-Dec-2024 15:11:20.756 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-35361"] 17-Dec-2024 15:11:20.758 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 17-Dec-2024 15:11:20.759 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-35361"] 17-Dec-2024 15:11:20.761 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-35361"] 17-Dec-2024 15:11:20.762 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 17-Dec-2024 15:11:20.765 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 17-Dec-2024 15:11:20.766 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 17-Dec-2024 15:11:20.766 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 17-Dec-2024 15:11:20.785 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-41913"] 17-Dec-2024 15:11:20.798 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1e1a0406] to web application [weaving]. 17-Dec-2024 15:11:20.799 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3cebbb30] to web application [weaving]. 17-Dec-2024 15:11:20.799 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3cebbb30] from web application [weaving]. 17-Dec-2024 15:11:20.815 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-41913"] 17-Dec-2024 15:11:20.818 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 17-Dec-2024 15:11:20.819 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-41913"] 17-Dec-2024 15:11:20.822 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-41913"] 17-Dec-2024 15:11:20.824 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 17-Dec-2024 15:11:20.827 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 17-Dec-2024 15:11:20.830 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 17-Dec-2024 15:11:20.830 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 17-Dec-2024 15:11:20.840 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-36785"] 17-Dec-2024 15:11:20.968 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2dc54ad4] to web application [weaving]. 17-Dec-2024 15:11:20.969 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4659191b] to web application [weaving]. 17-Dec-2024 15:11:20.969 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4659191b] from web application [weaving]. 17-Dec-2024 15:11:20.973 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-36785"] 17-Dec-2024 15:11:20.973 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 17-Dec-2024 15:11:20.973 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-36785"] 17-Dec-2024 15:11:20.975 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-36785"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.111 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.062 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.056 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.031 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.039 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.047 sec Testcase: testAddingNullTransformerThrowsException took 0.052 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.04 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.061 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.153 sec