Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.781 sec ------------- Standard Error ----------------- 11-Dec-2024 10:53:10.548 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 11-Dec-2024 10:53:11.548 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 11-Dec-2024 10:53:11.611 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Dec-2024 10:53:11.611 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 11-Dec-2024 10:53:11.786 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-42173"] 11-Dec-2024 10:53:11.820 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-42173"] 11-Dec-2024 10:53:11.831 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Dec-2024 10:53:11.832 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-42173"] 11-Dec-2024 10:53:11.836 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-42173"] 11-Dec-2024 10:53:11.844 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 11-Dec-2024 10:53:11.846 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 11-Dec-2024 10:53:11.848 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Dec-2024 10:53:11.848 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 11-Dec-2024 10:53:11.856 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-45073"] 11-Dec-2024 10:53:11.859 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7a419da4] to web application [weaving]. 11-Dec-2024 10:53:11.863 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-45073"] 11-Dec-2024 10:53:11.866 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Dec-2024 10:53:11.866 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-45073"] 11-Dec-2024 10:53:11.869 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-45073"] 11-Dec-2024 10:53:11.870 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 11-Dec-2024 10:53:11.871 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 11-Dec-2024 10:53:11.872 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Dec-2024 10:53:11.872 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 11-Dec-2024 10:53:11.877 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-43709"] 11-Dec-2024 10:53:11.880 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@581ac8a8] to web application [weaving]. 11-Dec-2024 10:53:11.884 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-43709"] 11-Dec-2024 10:53:11.887 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Dec-2024 10:53:11.887 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-43709"] 11-Dec-2024 10:53:11.888 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-43709"] 11-Dec-2024 10:53:11.890 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 11-Dec-2024 10:53:11.891 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 11-Dec-2024 10:53:11.892 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Dec-2024 10:53:11.892 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 11-Dec-2024 10:53:11.896 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-44979"] 11-Dec-2024 10:53:11.899 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@71def8f8] to web application [weaving]. 11-Dec-2024 10:53:11.903 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@383bfa16] to web application [weaving]. 11-Dec-2024 10:53:11.907 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-44979"] 11-Dec-2024 10:53:11.907 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Dec-2024 10:53:11.908 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-44979"] 11-Dec-2024 10:53:11.919 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-44979"] 11-Dec-2024 10:53:11.921 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 11-Dec-2024 10:53:11.922 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 11-Dec-2024 10:53:11.925 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Dec-2024 10:53:11.928 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 11-Dec-2024 10:53:11.934 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-36985"] 11-Dec-2024 10:53:11.941 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6283d8b8] to web application [weaving]. 11-Dec-2024 10:53:11.941 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3b6ddd1d] to web application [weaving]. 11-Dec-2024 10:53:11.943 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-36985"] 11-Dec-2024 10:53:11.945 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Dec-2024 10:53:11.945 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-36985"] 11-Dec-2024 10:53:11.947 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-36985"] 11-Dec-2024 10:53:11.948 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 11-Dec-2024 10:53:11.949 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 11-Dec-2024 10:53:11.949 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Dec-2024 10:53:11.950 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 11-Dec-2024 10:53:11.954 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-45143"] 11-Dec-2024 10:53:11.958 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4fb3ee4e] to web application [weaving]. 11-Dec-2024 10:53:11.958 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5d7148e2] to web application [weaving]. 11-Dec-2024 10:53:11.964 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-45143"] 11-Dec-2024 10:53:11.967 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Dec-2024 10:53:11.969 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-45143"] 11-Dec-2024 10:53:11.971 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-45143"] 11-Dec-2024 10:53:11.973 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 11-Dec-2024 10:53:11.975 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 11-Dec-2024 10:53:11.976 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Dec-2024 10:53:11.976 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 11-Dec-2024 10:53:11.981 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-41285"] 11-Dec-2024 10:53:11.993 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-41285"] 11-Dec-2024 10:53:11.994 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Dec-2024 10:53:11.995 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-41285"] 11-Dec-2024 10:53:11.996 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-41285"] 11-Dec-2024 10:53:11.999 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 11-Dec-2024 10:53:12.001 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 11-Dec-2024 10:53:12.001 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Dec-2024 10:53:12.002 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 11-Dec-2024 10:53:12.012 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-44183"] 11-Dec-2024 10:53:12.018 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@f0da945] to web application [weaving]. 11-Dec-2024 10:53:12.018 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@f0da945] from web application [weaving]. 11-Dec-2024 10:53:12.022 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-44183"] 11-Dec-2024 10:53:12.024 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Dec-2024 10:53:12.024 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-44183"] 11-Dec-2024 10:53:12.028 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-44183"] 11-Dec-2024 10:53:12.029 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 11-Dec-2024 10:53:12.031 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 11-Dec-2024 10:53:12.032 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Dec-2024 10:53:12.032 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 11-Dec-2024 10:53:12.035 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-34655"] 11-Dec-2024 10:53:12.043 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1e1a0406] to web application [weaving]. 11-Dec-2024 10:53:12.043 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3cebbb30] to web application [weaving]. 11-Dec-2024 10:53:12.043 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3cebbb30] from web application [weaving]. 11-Dec-2024 10:53:12.047 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-34655"] 11-Dec-2024 10:53:12.047 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Dec-2024 10:53:12.048 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-34655"] 11-Dec-2024 10:53:12.049 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-34655"] 11-Dec-2024 10:53:12.050 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 11-Dec-2024 10:53:12.052 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 11-Dec-2024 10:53:12.052 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Dec-2024 10:53:12.053 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 11-Dec-2024 10:53:12.056 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-41759"] 11-Dec-2024 10:53:12.066 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2dc54ad4] to web application [weaving]. 11-Dec-2024 10:53:12.066 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4659191b] to web application [weaving]. 11-Dec-2024 10:53:12.067 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4659191b] from web application [weaving]. 11-Dec-2024 10:53:12.070 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-41759"] 11-Dec-2024 10:53:12.075 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Dec-2024 10:53:12.075 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-41759"] 11-Dec-2024 10:53:12.079 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-41759"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.44 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.027 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.02 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.03 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.027 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.025 sec Testcase: testAddingNullTransformerThrowsException took 0.023 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.031 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.021 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.03 sec