Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.775 sec ------------- Standard Error ----------------- 03-Dec-2024 19:25:14.655 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 03-Dec-2024 19:25:15.667 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 03-Dec-2024 19:25:15.702 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 19:25:15.702 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 19:25:15.797 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33047"] 03-Dec-2024 19:25:15.824 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33047"] 03-Dec-2024 19:25:15.831 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Dec-2024 19:25:15.833 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33047"] 03-Dec-2024 19:25:15.841 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33047"] 03-Dec-2024 19:25:15.849 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 03-Dec-2024 19:25:15.851 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 03-Dec-2024 19:25:15.856 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 19:25:15.856 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 19:25:15.862 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37581"] 03-Dec-2024 19:25:15.872 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4bb33f74] to web application [weaving]. 03-Dec-2024 19:25:15.876 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37581"] 03-Dec-2024 19:25:15.877 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Dec-2024 19:25:15.877 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37581"] 03-Dec-2024 19:25:15.878 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37581"] 03-Dec-2024 19:25:15.881 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 03-Dec-2024 19:25:15.882 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 03-Dec-2024 19:25:15.885 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 19:25:15.885 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 19:25:15.890 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-38585"] 03-Dec-2024 19:25:15.891 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@67c33749] to web application [weaving]. 03-Dec-2024 19:25:15.895 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-38585"] 03-Dec-2024 19:25:15.896 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Dec-2024 19:25:15.896 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-38585"] 03-Dec-2024 19:25:15.897 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-38585"] 03-Dec-2024 19:25:15.899 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 03-Dec-2024 19:25:15.901 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 03-Dec-2024 19:25:15.906 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 19:25:15.906 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 19:25:15.910 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-37651"] 03-Dec-2024 19:25:15.910 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7133da86] to web application [weaving]. 03-Dec-2024 19:25:15.910 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3232a28a] to web application [weaving]. 03-Dec-2024 19:25:15.914 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-37651"] 03-Dec-2024 19:25:15.915 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Dec-2024 19:25:15.915 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-37651"] 03-Dec-2024 19:25:15.915 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-37651"] 03-Dec-2024 19:25:15.919 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 03-Dec-2024 19:25:15.921 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 03-Dec-2024 19:25:15.937 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 19:25:15.937 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 19:25:15.944 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37875"] 03-Dec-2024 19:25:15.948 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7e7be63f] to web application [weaving]. 03-Dec-2024 19:25:15.949 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6cd28fa7] to web application [weaving]. 03-Dec-2024 19:25:15.955 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37875"] 03-Dec-2024 19:25:15.958 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Dec-2024 19:25:15.958 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37875"] 03-Dec-2024 19:25:15.959 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37875"] 03-Dec-2024 19:25:15.966 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 03-Dec-2024 19:25:15.969 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 03-Dec-2024 19:25:15.972 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 19:25:15.973 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 19:25:15.978 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-33231"] 03-Dec-2024 19:25:15.979 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6fd83fc1] to web application [weaving]. 03-Dec-2024 19:25:15.979 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4f2b503c] to web application [weaving]. 03-Dec-2024 19:25:15.982 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-33231"] 03-Dec-2024 19:25:15.987 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Dec-2024 19:25:15.988 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-33231"] 03-Dec-2024 19:25:15.989 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-33231"] 03-Dec-2024 19:25:15.994 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 03-Dec-2024 19:25:15.997 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 03-Dec-2024 19:25:16.003 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 19:25:16.003 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 19:25:16.007 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-44659"] 03-Dec-2024 19:25:16.012 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-44659"] 03-Dec-2024 19:25:16.015 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Dec-2024 19:25:16.016 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-44659"] 03-Dec-2024 19:25:16.016 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-44659"] 03-Dec-2024 19:25:16.022 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 03-Dec-2024 19:25:16.023 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 03-Dec-2024 19:25:16.038 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 19:25:16.038 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 19:25:16.044 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-37173"] 03-Dec-2024 19:25:16.045 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@437da279] to web application [weaving]. 03-Dec-2024 19:25:16.046 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@437da279] from web application [weaving]. 03-Dec-2024 19:25:16.049 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-37173"] 03-Dec-2024 19:25:16.050 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Dec-2024 19:25:16.050 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-37173"] 03-Dec-2024 19:25:16.051 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-37173"] 03-Dec-2024 19:25:16.054 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 03-Dec-2024 19:25:16.055 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 03-Dec-2024 19:25:16.104 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 19:25:16.104 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 19:25:16.108 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46027"] 03-Dec-2024 19:25:16.109 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2dc54ad4] to web application [weaving]. 03-Dec-2024 19:25:16.110 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4659191b] to web application [weaving]. 03-Dec-2024 19:25:16.110 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4659191b] from web application [weaving]. 03-Dec-2024 19:25:16.113 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46027"] 03-Dec-2024 19:25:16.121 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Dec-2024 19:25:16.122 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46027"] 03-Dec-2024 19:25:16.125 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46027"] 03-Dec-2024 19:25:16.129 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 03-Dec-2024 19:25:16.134 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 03-Dec-2024 19:25:16.155 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Dec-2024 19:25:16.155 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 03-Dec-2024 19:25:16.164 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-41159"] 03-Dec-2024 19:25:16.169 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@73e9cf30] to web application [weaving]. 03-Dec-2024 19:25:16.169 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@771a660] to web application [weaving]. 03-Dec-2024 19:25:16.169 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@771a660] from web application [weaving]. 03-Dec-2024 19:25:16.180 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-41159"] 03-Dec-2024 19:25:16.181 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Dec-2024 19:25:16.182 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-41159"] 03-Dec-2024 19:25:16.184 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-41159"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.318 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.031 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.019 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.019 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.046 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.028 sec Testcase: testAddingNullTransformerThrowsException took 0.027 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.032 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.075 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.062 sec