Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.713 sec ------------- Standard Error ----------------- 28-Nov-2024 11:15:38.407 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 28-Nov-2024 11:15:39.137 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 28-Nov-2024 11:15:39.166 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Nov-2024 11:15:39.166 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 28-Nov-2024 11:15:39.309 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-33281"] 28-Nov-2024 11:15:39.395 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-33281"] 28-Nov-2024 11:15:39.401 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Nov-2024 11:15:39.402 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-33281"] 28-Nov-2024 11:15:39.408 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-33281"] 28-Nov-2024 11:15:39.415 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 28-Nov-2024 11:15:39.417 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 28-Nov-2024 11:15:39.418 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Nov-2024 11:15:39.418 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 28-Nov-2024 11:15:39.427 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-35793"] 28-Nov-2024 11:15:39.537 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3af9c5b7] to web application [weaving]. 28-Nov-2024 11:15:39.541 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-35793"] 28-Nov-2024 11:15:39.543 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Nov-2024 11:15:39.544 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-35793"] 28-Nov-2024 11:15:39.546 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-35793"] 28-Nov-2024 11:15:39.548 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 28-Nov-2024 11:15:39.550 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 28-Nov-2024 11:15:39.555 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Nov-2024 11:15:39.555 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 28-Nov-2024 11:15:39.561 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-43725"] 28-Nov-2024 11:15:39.564 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@424e1977] to web application [weaving]. 28-Nov-2024 11:15:39.569 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-43725"] 28-Nov-2024 11:15:39.570 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Nov-2024 11:15:39.570 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-43725"] 28-Nov-2024 11:15:39.573 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-43725"] 28-Nov-2024 11:15:39.576 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 28-Nov-2024 11:15:39.577 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 28-Nov-2024 11:15:39.578 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Nov-2024 11:15:39.578 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 28-Nov-2024 11:15:39.584 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-44781"] 28-Nov-2024 11:15:39.595 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@548e6d58] to web application [weaving]. 28-Nov-2024 11:15:39.595 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@623a8092] to web application [weaving]. 28-Nov-2024 11:15:39.600 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-44781"] 28-Nov-2024 11:15:39.602 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Nov-2024 11:15:39.603 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-44781"] 28-Nov-2024 11:15:39.606 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-44781"] 28-Nov-2024 11:15:39.609 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 28-Nov-2024 11:15:39.610 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 28-Nov-2024 11:15:39.611 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Nov-2024 11:15:39.611 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 28-Nov-2024 11:15:39.624 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-33019"] 28-Nov-2024 11:15:39.635 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3e96bacf] to web application [weaving]. 28-Nov-2024 11:15:39.636 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@484970b0] to web application [weaving]. 28-Nov-2024 11:15:39.640 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-33019"] 28-Nov-2024 11:15:39.646 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Nov-2024 11:15:39.646 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-33019"] 28-Nov-2024 11:15:39.652 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-33019"] 28-Nov-2024 11:15:39.656 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 28-Nov-2024 11:15:39.663 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 28-Nov-2024 11:15:39.663 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Nov-2024 11:15:39.663 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 28-Nov-2024 11:15:39.676 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-39413"] 28-Nov-2024 11:15:39.704 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@757acd7b] to web application [weaving]. 28-Nov-2024 11:15:39.705 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@36b4fe2a] to web application [weaving]. 28-Nov-2024 11:15:39.709 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-39413"] 28-Nov-2024 11:15:39.710 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Nov-2024 11:15:39.710 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-39413"] 28-Nov-2024 11:15:39.713 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-39413"] 28-Nov-2024 11:15:39.715 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 28-Nov-2024 11:15:39.716 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 28-Nov-2024 11:15:39.717 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Nov-2024 11:15:39.717 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 28-Nov-2024 11:15:39.721 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-34025"] 28-Nov-2024 11:15:39.747 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-34025"] 28-Nov-2024 11:15:39.747 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Nov-2024 11:15:39.747 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-34025"] 28-Nov-2024 11:15:39.749 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-34025"] 28-Nov-2024 11:15:39.751 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 28-Nov-2024 11:15:39.753 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 28-Nov-2024 11:15:39.754 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Nov-2024 11:15:39.754 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 28-Nov-2024 11:15:39.765 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-38007"] 28-Nov-2024 11:15:39.771 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@152aa092] to web application [weaving]. 28-Nov-2024 11:15:39.772 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@152aa092] from web application [weaving]. 28-Nov-2024 11:15:39.779 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-38007"] 28-Nov-2024 11:15:39.780 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Nov-2024 11:15:39.780 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-38007"] 28-Nov-2024 11:15:39.784 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-38007"] 28-Nov-2024 11:15:39.785 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 28-Nov-2024 11:15:39.788 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 28-Nov-2024 11:15:39.789 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Nov-2024 11:15:39.790 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 28-Nov-2024 11:15:39.803 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-39127"] 28-Nov-2024 11:15:39.808 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3315d2d7] to web application [weaving]. 28-Nov-2024 11:15:39.808 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@d6e7bab] to web application [weaving]. 28-Nov-2024 11:15:39.808 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@d6e7bab] from web application [weaving]. 28-Nov-2024 11:15:39.811 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-39127"] 28-Nov-2024 11:15:39.812 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Nov-2024 11:15:39.812 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-39127"] 28-Nov-2024 11:15:39.814 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-39127"] 28-Nov-2024 11:15:39.816 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 28-Nov-2024 11:15:39.818 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 28-Nov-2024 11:15:39.819 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Nov-2024 11:15:39.819 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 28-Nov-2024 11:15:39.824 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-42137"] 28-Nov-2024 11:15:39.829 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4d910fd6] to web application [weaving]. 28-Nov-2024 11:15:39.829 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@26275bef] to web application [weaving]. 28-Nov-2024 11:15:39.829 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@26275bef] from web application [weaving]. 28-Nov-2024 11:15:39.832 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-42137"] 28-Nov-2024 11:15:39.833 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Nov-2024 11:15:39.833 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-42137"] 28-Nov-2024 11:15:39.835 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-42137"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.158 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.135 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.027 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.033 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.047 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.059 sec Testcase: testAddingNullTransformerThrowsException took 0.036 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.035 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.03 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.022 sec