Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.889 sec ------------- Standard Error ----------------- 26-Nov-2024 14:11:35.832 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 26-Nov-2024 14:11:37.319 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 26-Nov-2024 14:11:37.507 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Nov-2024 14:11:37.508 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 26-Nov-2024 14:11:37.699 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40859"] 26-Nov-2024 14:11:37.745 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40859"] 26-Nov-2024 14:11:37.761 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Nov-2024 14:11:37.762 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40859"] 26-Nov-2024 14:11:37.768 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40859"] 26-Nov-2024 14:11:37.790 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 26-Nov-2024 14:11:37.794 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 26-Nov-2024 14:11:37.799 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Nov-2024 14:11:37.799 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 26-Nov-2024 14:11:37.814 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-38355"] 26-Nov-2024 14:11:37.818 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@14555e0a] to web application [weaving]. 26-Nov-2024 14:11:37.822 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-38355"] 26-Nov-2024 14:11:37.824 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Nov-2024 14:11:37.825 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-38355"] 26-Nov-2024 14:11:37.825 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-38355"] 26-Nov-2024 14:11:37.833 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 26-Nov-2024 14:11:37.835 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 26-Nov-2024 14:11:37.841 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Nov-2024 14:11:37.841 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 26-Nov-2024 14:11:37.846 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-37045"] 26-Nov-2024 14:11:37.848 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@78123e82] to web application [weaving]. 26-Nov-2024 14:11:37.852 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-37045"] 26-Nov-2024 14:11:37.854 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Nov-2024 14:11:37.855 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-37045"] 26-Nov-2024 14:11:37.856 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-37045"] 26-Nov-2024 14:11:37.859 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 26-Nov-2024 14:11:37.861 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 26-Nov-2024 14:11:37.882 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Nov-2024 14:11:37.883 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 26-Nov-2024 14:11:37.895 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41355"] 26-Nov-2024 14:11:37.896 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7133da86] to web application [weaving]. 26-Nov-2024 14:11:37.897 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3232a28a] to web application [weaving]. 26-Nov-2024 14:11:37.928 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41355"] 26-Nov-2024 14:11:37.929 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Nov-2024 14:11:37.930 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41355"] 26-Nov-2024 14:11:37.930 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41355"] 26-Nov-2024 14:11:37.937 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 26-Nov-2024 14:11:37.938 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 26-Nov-2024 14:11:37.948 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Nov-2024 14:11:37.949 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 26-Nov-2024 14:11:37.954 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43291"] 26-Nov-2024 14:11:37.956 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5acf93bb] to web application [weaving]. 26-Nov-2024 14:11:37.956 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7e7be63f] to web application [weaving]. 26-Nov-2024 14:11:37.960 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43291"] 26-Nov-2024 14:11:37.963 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Nov-2024 14:11:37.964 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43291"] 26-Nov-2024 14:11:37.965 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43291"] 26-Nov-2024 14:11:37.969 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 26-Nov-2024 14:11:37.970 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 26-Nov-2024 14:11:37.976 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Nov-2024 14:11:37.976 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 26-Nov-2024 14:11:37.981 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-33101"] 26-Nov-2024 14:11:37.982 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@306e95ec] to web application [weaving]. 26-Nov-2024 14:11:37.982 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@52af26ee] to web application [weaving]. 26-Nov-2024 14:11:37.992 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-33101"] 26-Nov-2024 14:11:37.994 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Nov-2024 14:11:37.994 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-33101"] 26-Nov-2024 14:11:37.995 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-33101"] 26-Nov-2024 14:11:37.998 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 26-Nov-2024 14:11:38.000 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 26-Nov-2024 14:11:38.017 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Nov-2024 14:11:38.017 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 26-Nov-2024 14:11:38.024 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-33565"] 26-Nov-2024 14:11:38.058 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-33565"] 26-Nov-2024 14:11:38.059 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Nov-2024 14:11:38.062 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-33565"] 26-Nov-2024 14:11:38.063 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-33565"] 26-Nov-2024 14:11:38.078 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 26-Nov-2024 14:11:38.081 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 26-Nov-2024 14:11:38.144 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Nov-2024 14:11:38.144 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 26-Nov-2024 14:11:38.151 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-43535"] 26-Nov-2024 14:11:38.153 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@36916eb0] to web application [weaving]. 26-Nov-2024 14:11:38.153 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@36916eb0] from web application [weaving]. 26-Nov-2024 14:11:38.165 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-43535"] 26-Nov-2024 14:11:38.166 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Nov-2024 14:11:38.166 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-43535"] 26-Nov-2024 14:11:38.167 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-43535"] 26-Nov-2024 14:11:38.169 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 26-Nov-2024 14:11:38.175 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 26-Nov-2024 14:11:38.184 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Nov-2024 14:11:38.184 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 26-Nov-2024 14:11:38.189 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44763"] 26-Nov-2024 14:11:38.190 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1b11171f] to web application [weaving]. 26-Nov-2024 14:11:38.191 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1151e434] to web application [weaving]. 26-Nov-2024 14:11:38.191 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1151e434] from web application [weaving]. 26-Nov-2024 14:11:38.225 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44763"] 26-Nov-2024 14:11:38.227 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Nov-2024 14:11:38.227 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44763"] 26-Nov-2024 14:11:38.228 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44763"] 26-Nov-2024 14:11:38.232 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 26-Nov-2024 14:11:38.236 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 26-Nov-2024 14:11:38.318 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Nov-2024 14:11:38.318 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 26-Nov-2024 14:11:38.323 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36009"] 26-Nov-2024 14:11:38.324 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@783a467b] to web application [weaving]. 26-Nov-2024 14:11:38.324 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@272113c4] to web application [weaving]. 26-Nov-2024 14:11:38.324 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@272113c4] from web application [weaving]. 26-Nov-2024 14:11:38.328 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36009"] 26-Nov-2024 14:11:38.330 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Nov-2024 14:11:38.331 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36009"] 26-Nov-2024 14:11:38.332 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36009"] ------------- ---------------- --------------- Testcase: testNoWeaving took 2.099 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.043 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.026 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.078 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.032 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.029 sec Testcase: testAddingNullTransformerThrowsException took 0.068 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.103 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.063 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.102 sec