Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.684 sec ------------- Standard Error ----------------- 06-Dec-2024 16:49:09.508 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 06-Dec-2024 16:49:10.384 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 06-Dec-2024 16:49:10.421 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Dec-2024 16:49:10.422 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 06-Dec-2024 16:49:10.544 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33301"] 06-Dec-2024 16:49:10.577 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33301"] 06-Dec-2024 16:49:10.588 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Dec-2024 16:49:10.590 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33301"] 06-Dec-2024 16:49:10.593 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33301"] 06-Dec-2024 16:49:10.601 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 06-Dec-2024 16:49:10.611 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 06-Dec-2024 16:49:10.637 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Dec-2024 16:49:10.637 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 06-Dec-2024 16:49:10.643 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-44663"] 06-Dec-2024 16:49:10.645 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@37271612] to web application [weaving]. 06-Dec-2024 16:49:10.654 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-44663"] 06-Dec-2024 16:49:10.656 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Dec-2024 16:49:10.656 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-44663"] 06-Dec-2024 16:49:10.657 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-44663"] 06-Dec-2024 16:49:10.660 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 06-Dec-2024 16:49:10.662 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 06-Dec-2024 16:49:10.685 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Dec-2024 16:49:10.685 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 06-Dec-2024 16:49:10.693 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-35355"] 06-Dec-2024 16:49:10.694 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@117e949d] to web application [weaving]. 06-Dec-2024 16:49:10.698 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-35355"] 06-Dec-2024 16:49:10.701 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Dec-2024 16:49:10.701 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-35355"] 06-Dec-2024 16:49:10.705 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-35355"] 06-Dec-2024 16:49:10.712 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 06-Dec-2024 16:49:10.714 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 06-Dec-2024 16:49:10.721 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Dec-2024 16:49:10.721 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 06-Dec-2024 16:49:10.728 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41869"] 06-Dec-2024 16:49:10.730 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@175b9425] to web application [weaving]. 06-Dec-2024 16:49:10.730 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3098cf3b] to web application [weaving]. 06-Dec-2024 16:49:10.736 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41869"] 06-Dec-2024 16:49:10.740 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Dec-2024 16:49:10.740 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41869"] 06-Dec-2024 16:49:10.741 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41869"] 06-Dec-2024 16:49:10.747 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 06-Dec-2024 16:49:10.748 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 06-Dec-2024 16:49:10.768 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Dec-2024 16:49:10.769 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 06-Dec-2024 16:49:10.774 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-46545"] 06-Dec-2024 16:49:10.774 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@740773a3] to web application [weaving]. 06-Dec-2024 16:49:10.774 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@37f1104d] to web application [weaving]. 06-Dec-2024 16:49:10.777 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-46545"] 06-Dec-2024 16:49:10.778 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Dec-2024 16:49:10.778 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-46545"] 06-Dec-2024 16:49:10.779 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-46545"] 06-Dec-2024 16:49:10.785 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 06-Dec-2024 16:49:10.786 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 06-Dec-2024 16:49:10.793 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Dec-2024 16:49:10.793 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 06-Dec-2024 16:49:10.796 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36523"] 06-Dec-2024 16:49:10.799 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@343570b7] to web application [weaving]. 06-Dec-2024 16:49:10.799 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@157853da] to web application [weaving]. 06-Dec-2024 16:49:10.801 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36523"] 06-Dec-2024 16:49:10.802 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Dec-2024 16:49:10.802 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36523"] 06-Dec-2024 16:49:10.804 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36523"] 06-Dec-2024 16:49:10.807 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 06-Dec-2024 16:49:10.809 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 06-Dec-2024 16:49:10.819 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Dec-2024 16:49:10.819 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 06-Dec-2024 16:49:10.823 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-35873"] 06-Dec-2024 16:49:10.827 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-35873"] 06-Dec-2024 16:49:10.827 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Dec-2024 16:49:10.828 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-35873"] 06-Dec-2024 16:49:10.828 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-35873"] 06-Dec-2024 16:49:10.833 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 06-Dec-2024 16:49:10.835 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 06-Dec-2024 16:49:10.840 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Dec-2024 16:49:10.840 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 06-Dec-2024 16:49:10.849 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-40931"] 06-Dec-2024 16:49:10.850 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4e268090] to web application [weaving]. 06-Dec-2024 16:49:10.850 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4e268090] from web application [weaving]. 06-Dec-2024 16:49:10.853 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-40931"] 06-Dec-2024 16:49:10.860 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Dec-2024 16:49:10.860 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-40931"] 06-Dec-2024 16:49:10.861 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-40931"] 06-Dec-2024 16:49:10.863 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 06-Dec-2024 16:49:10.864 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 06-Dec-2024 16:49:10.876 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Dec-2024 16:49:10.876 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 06-Dec-2024 16:49:10.880 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43621"] 06-Dec-2024 16:49:10.881 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6a6afff2] to web application [weaving]. 06-Dec-2024 16:49:10.881 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1649b0e6] to web application [weaving]. 06-Dec-2024 16:49:10.881 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1649b0e6] from web application [weaving]. 06-Dec-2024 16:49:10.884 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43621"] 06-Dec-2024 16:49:10.888 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Dec-2024 16:49:10.888 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43621"] 06-Dec-2024 16:49:10.889 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43621"] 06-Dec-2024 16:49:10.892 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 06-Dec-2024 16:49:10.893 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 06-Dec-2024 16:49:10.898 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Dec-2024 16:49:10.898 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 06-Dec-2024 16:49:10.902 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34425"] 06-Dec-2024 16:49:10.903 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@73ee04c8] to web application [weaving]. 06-Dec-2024 16:49:10.903 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7671cb68] to web application [weaving]. 06-Dec-2024 16:49:10.903 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7671cb68] from web application [weaving]. 06-Dec-2024 16:49:10.906 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34425"] 06-Dec-2024 16:49:10.906 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Dec-2024 16:49:10.907 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34425"] 06-Dec-2024 16:49:10.907 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34425"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.269 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.059 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.052 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.034 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.037 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.024 sec Testcase: testAddingNullTransformerThrowsException took 0.026 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.029 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.028 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.017 sec