Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.696 sec ------------- Standard Error ----------------- 04-Dec-2024 12:12:00.508 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 04-Dec-2024 12:12:01.292 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 04-Dec-2024 12:12:01.472 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Dec-2024 12:12:01.472 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 04-Dec-2024 12:12:01.680 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40559"] 04-Dec-2024 12:12:01.722 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40559"] 04-Dec-2024 12:12:01.730 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Dec-2024 12:12:01.731 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40559"] 04-Dec-2024 12:12:01.733 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40559"] 04-Dec-2024 12:12:01.748 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 04-Dec-2024 12:12:01.750 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 04-Dec-2024 12:12:01.758 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Dec-2024 12:12:01.759 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 04-Dec-2024 12:12:01.766 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37639"] 04-Dec-2024 12:12:01.767 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@37271612] to web application [weaving]. 04-Dec-2024 12:12:01.771 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37639"] 04-Dec-2024 12:12:01.775 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Dec-2024 12:12:01.775 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37639"] 04-Dec-2024 12:12:01.776 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37639"] 04-Dec-2024 12:12:01.781 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 04-Dec-2024 12:12:01.783 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 04-Dec-2024 12:12:01.793 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Dec-2024 12:12:01.794 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 04-Dec-2024 12:12:01.801 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-41471"] 04-Dec-2024 12:12:01.802 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@117e949d] to web application [weaving]. 04-Dec-2024 12:12:01.808 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-41471"] 04-Dec-2024 12:12:01.809 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Dec-2024 12:12:01.809 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-41471"] 04-Dec-2024 12:12:01.810 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-41471"] 04-Dec-2024 12:12:01.814 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 04-Dec-2024 12:12:01.816 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 04-Dec-2024 12:12:01.818 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Dec-2024 12:12:01.818 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 04-Dec-2024 12:12:01.823 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42533"] 04-Dec-2024 12:12:01.824 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@a1cdc6d] to web application [weaving]. 04-Dec-2024 12:12:01.824 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@175b9425] to web application [weaving]. 04-Dec-2024 12:12:01.829 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42533"] 04-Dec-2024 12:12:01.830 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Dec-2024 12:12:01.830 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42533"] 04-Dec-2024 12:12:01.831 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42533"] 04-Dec-2024 12:12:01.834 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 04-Dec-2024 12:12:01.835 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 04-Dec-2024 12:12:01.844 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Dec-2024 12:12:01.844 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 04-Dec-2024 12:12:01.849 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43753"] 04-Dec-2024 12:12:01.850 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7748410a] to web application [weaving]. 04-Dec-2024 12:12:01.850 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@740773a3] to web application [weaving]. 04-Dec-2024 12:12:01.855 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43753"] 04-Dec-2024 12:12:01.856 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Dec-2024 12:12:01.856 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43753"] 04-Dec-2024 12:12:01.857 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43753"] 04-Dec-2024 12:12:01.861 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 04-Dec-2024 12:12:01.863 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 04-Dec-2024 12:12:01.866 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Dec-2024 12:12:01.866 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 04-Dec-2024 12:12:01.871 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40713"] 04-Dec-2024 12:12:01.872 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@28975c28] to web application [weaving]. 04-Dec-2024 12:12:01.872 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3943a2be] to web application [weaving]. 04-Dec-2024 12:12:01.875 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40713"] 04-Dec-2024 12:12:01.875 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Dec-2024 12:12:01.876 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40713"] 04-Dec-2024 12:12:01.877 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40713"] 04-Dec-2024 12:12:01.879 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 04-Dec-2024 12:12:01.881 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 04-Dec-2024 12:12:01.885 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Dec-2024 12:12:01.886 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 04-Dec-2024 12:12:01.891 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-40621"] 04-Dec-2024 12:12:01.895 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-40621"] 04-Dec-2024 12:12:01.895 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Dec-2024 12:12:01.896 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-40621"] 04-Dec-2024 12:12:01.897 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-40621"] 04-Dec-2024 12:12:01.899 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 04-Dec-2024 12:12:01.901 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 04-Dec-2024 12:12:01.903 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Dec-2024 12:12:01.903 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 04-Dec-2024 12:12:01.910 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33877"] 04-Dec-2024 12:12:01.913 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@776b83cc] to web application [weaving]. 04-Dec-2024 12:12:01.913 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@776b83cc] from web application [weaving]. 04-Dec-2024 12:12:01.916 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33877"] 04-Dec-2024 12:12:01.919 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Dec-2024 12:12:01.919 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33877"] 04-Dec-2024 12:12:01.920 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33877"] 04-Dec-2024 12:12:01.924 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 04-Dec-2024 12:12:01.925 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 04-Dec-2024 12:12:01.930 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Dec-2024 12:12:01.930 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 04-Dec-2024 12:12:01.936 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43591"] 04-Dec-2024 12:12:01.941 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@482bce4f] to web application [weaving]. 04-Dec-2024 12:12:01.941 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@366647c2] to web application [weaving]. 04-Dec-2024 12:12:01.942 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@366647c2] from web application [weaving]. 04-Dec-2024 12:12:01.952 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43591"] 04-Dec-2024 12:12:01.955 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Dec-2024 12:12:01.955 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43591"] 04-Dec-2024 12:12:01.956 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43591"] 04-Dec-2024 12:12:01.960 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 04-Dec-2024 12:12:01.963 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 04-Dec-2024 12:12:01.973 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Dec-2024 12:12:01.974 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 04-Dec-2024 12:12:01.980 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-44349"] 04-Dec-2024 12:12:01.985 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2e222612] to web application [weaving]. 04-Dec-2024 12:12:01.985 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@61386958] to web application [weaving]. 04-Dec-2024 12:12:01.985 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@61386958] from web application [weaving]. 04-Dec-2024 12:12:01.996 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-44349"] 04-Dec-2024 12:12:01.997 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Dec-2024 12:12:01.997 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-44349"] 04-Dec-2024 12:12:01.998 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-44349"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.339 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.033 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.033 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.02 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.028 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.018 sec Testcase: testAddingNullTransformerThrowsException took 0.02 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.024 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.035 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.041 sec