Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.529 sec ------------- Standard Error ----------------- 13-Dec-2024 19:14:12.574 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 13-Dec-2024 19:14:13.172 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 13-Dec-2024 19:14:13.203 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 19:14:13.204 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 13-Dec-2024 19:14:13.357 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-34411"] 13-Dec-2024 19:14:13.396 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-34411"] 13-Dec-2024 19:14:13.402 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 19:14:13.403 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-34411"] 13-Dec-2024 19:14:13.416 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-34411"] 13-Dec-2024 19:14:13.422 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 13-Dec-2024 19:14:13.424 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 13-Dec-2024 19:14:13.425 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 19:14:13.425 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 13-Dec-2024 19:14:13.434 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-45729"] 13-Dec-2024 19:14:13.489 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3af9c5b7] to web application [weaving]. 13-Dec-2024 19:14:13.494 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-45729"] 13-Dec-2024 19:14:13.495 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 19:14:13.495 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-45729"] 13-Dec-2024 19:14:13.497 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-45729"] 13-Dec-2024 19:14:13.499 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 13-Dec-2024 19:14:13.500 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 13-Dec-2024 19:14:13.501 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 19:14:13.501 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 13-Dec-2024 19:14:13.518 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-44105"] 13-Dec-2024 19:14:13.532 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@424e1977] to web application [weaving]. 13-Dec-2024 19:14:13.538 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-44105"] 13-Dec-2024 19:14:13.539 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 19:14:13.540 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-44105"] 13-Dec-2024 19:14:13.542 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-44105"] 13-Dec-2024 19:14:13.544 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 13-Dec-2024 19:14:13.548 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 13-Dec-2024 19:14:13.549 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 19:14:13.549 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 13-Dec-2024 19:14:13.559 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-44953"] 13-Dec-2024 19:14:13.564 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@548e6d58] to web application [weaving]. 13-Dec-2024 19:14:13.564 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@623a8092] to web application [weaving]. 13-Dec-2024 19:14:13.569 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-44953"] 13-Dec-2024 19:14:13.572 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 19:14:13.572 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-44953"] 13-Dec-2024 19:14:13.581 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-44953"] 13-Dec-2024 19:14:13.583 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 13-Dec-2024 19:14:13.584 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 13-Dec-2024 19:14:13.585 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 19:14:13.585 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 13-Dec-2024 19:14:13.597 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-42185"] 13-Dec-2024 19:14:13.613 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3e96bacf] to web application [weaving]. 13-Dec-2024 19:14:13.614 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@484970b0] to web application [weaving]. 13-Dec-2024 19:14:13.617 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-42185"] 13-Dec-2024 19:14:13.620 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 19:14:13.620 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-42185"] 13-Dec-2024 19:14:13.623 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-42185"] 13-Dec-2024 19:14:13.624 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 13-Dec-2024 19:14:13.626 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 13-Dec-2024 19:14:13.627 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 19:14:13.627 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 13-Dec-2024 19:14:13.631 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-45265"] 13-Dec-2024 19:14:13.663 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@757acd7b] to web application [weaving]. 13-Dec-2024 19:14:13.664 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@36b4fe2a] to web application [weaving]. 13-Dec-2024 19:14:13.668 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-45265"] 13-Dec-2024 19:14:13.669 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 19:14:13.669 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-45265"] 13-Dec-2024 19:14:13.672 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-45265"] 13-Dec-2024 19:14:13.673 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 13-Dec-2024 19:14:13.675 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 13-Dec-2024 19:14:13.676 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 19:14:13.676 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 13-Dec-2024 19:14:13.687 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-40891"] 13-Dec-2024 19:14:13.766 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-40891"] 13-Dec-2024 19:14:13.769 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 19:14:13.769 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-40891"] 13-Dec-2024 19:14:13.771 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-40891"] 13-Dec-2024 19:14:13.773 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 13-Dec-2024 19:14:13.775 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 13-Dec-2024 19:14:13.776 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 19:14:13.776 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 13-Dec-2024 19:14:13.781 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-45445"] 13-Dec-2024 19:14:13.795 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@152aa092] to web application [weaving]. 13-Dec-2024 19:14:13.795 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@152aa092] from web application [weaving]. 13-Dec-2024 19:14:13.799 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-45445"] 13-Dec-2024 19:14:13.804 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 19:14:13.804 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-45445"] 13-Dec-2024 19:14:13.806 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-45445"] 13-Dec-2024 19:14:13.811 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 13-Dec-2024 19:14:13.812 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 13-Dec-2024 19:14:13.813 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 19:14:13.813 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 13-Dec-2024 19:14:13.817 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-42711"] 13-Dec-2024 19:14:13.847 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3315d2d7] to web application [weaving]. 13-Dec-2024 19:14:13.847 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@d6e7bab] to web application [weaving]. 13-Dec-2024 19:14:13.847 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@d6e7bab] from web application [weaving]. 13-Dec-2024 19:14:13.851 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-42711"] 13-Dec-2024 19:14:13.852 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 19:14:13.852 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-42711"] 13-Dec-2024 19:14:13.854 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-42711"] 13-Dec-2024 19:14:13.856 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 13-Dec-2024 19:14:13.857 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 13-Dec-2024 19:14:13.858 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 19:14:13.858 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 13-Dec-2024 19:14:13.867 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-42463"] 13-Dec-2024 19:14:13.876 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4d910fd6] to web application [weaving]. 13-Dec-2024 19:14:13.876 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@26275bef] to web application [weaving]. 13-Dec-2024 19:14:13.876 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@26275bef] from web application [weaving]. 13-Dec-2024 19:14:13.879 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-42463"] 13-Dec-2024 19:14:13.880 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 19:14:13.880 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-42463"] 13-Dec-2024 19:14:13.883 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-42463"] ------------- ---------------- --------------- Testcase: testNoWeaving took 0.95 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.076 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.045 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.038 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.041 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.049 sec Testcase: testAddingNullTransformerThrowsException took 0.099 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.037 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.046 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.028 sec