Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.622 sec ------------- Standard Error ----------------- 29-Aug-2024 19:49:05.115 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 29-Aug-2024 19:49:06.510 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 29-Aug-2024 19:49:06.621 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Aug-2024 19:49:06.633 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 29-Aug-2024 19:49:06.814 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-33399"] 29-Aug-2024 19:49:06.860 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-33399"] 29-Aug-2024 19:49:06.875 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Aug-2024 19:49:06.876 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-33399"] 29-Aug-2024 19:49:06.896 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-33399"] 29-Aug-2024 19:49:06.909 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 29-Aug-2024 19:49:06.910 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 29-Aug-2024 19:49:06.911 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Aug-2024 19:49:06.911 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 29-Aug-2024 19:49:06.916 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-37107"] 29-Aug-2024 19:49:06.924 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5c671d7f] to web application [weaving]. 29-Aug-2024 19:49:06.928 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-37107"] 29-Aug-2024 19:49:06.928 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Aug-2024 19:49:06.928 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-37107"] 29-Aug-2024 19:49:06.937 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-37107"] 29-Aug-2024 19:49:06.939 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 29-Aug-2024 19:49:06.941 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 29-Aug-2024 19:49:06.941 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Aug-2024 19:49:06.941 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 29-Aug-2024 19:49:06.946 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-45321"] 29-Aug-2024 19:49:06.966 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@38e79ae3] to web application [weaving]. 29-Aug-2024 19:49:06.971 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-45321"] 29-Aug-2024 19:49:06.972 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Aug-2024 19:49:06.973 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-45321"] 29-Aug-2024 19:49:06.977 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-45321"] 29-Aug-2024 19:49:06.978 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 29-Aug-2024 19:49:06.980 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 29-Aug-2024 19:49:06.981 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Aug-2024 19:49:06.982 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 29-Aug-2024 19:49:06.996 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-34819"] 29-Aug-2024 19:49:07.028 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@683dbc2c] to web application [weaving]. 29-Aug-2024 19:49:07.028 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@68267da0] to web application [weaving]. 29-Aug-2024 19:49:07.039 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-34819"] 29-Aug-2024 19:49:07.042 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Aug-2024 19:49:07.043 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-34819"] 29-Aug-2024 19:49:07.047 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-34819"] 29-Aug-2024 19:49:07.051 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 29-Aug-2024 19:49:07.052 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 29-Aug-2024 19:49:07.057 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Aug-2024 19:49:07.058 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 29-Aug-2024 19:49:07.068 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-32819"] 29-Aug-2024 19:49:07.117 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@fa36558] to web application [weaving]. 29-Aug-2024 19:49:07.117 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@672872e1] to web application [weaving]. 29-Aug-2024 19:49:07.123 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-32819"] 29-Aug-2024 19:49:07.126 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Aug-2024 19:49:07.128 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-32819"] 29-Aug-2024 19:49:07.139 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-32819"] 29-Aug-2024 19:49:07.140 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 29-Aug-2024 19:49:07.141 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 29-Aug-2024 19:49:07.142 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Aug-2024 19:49:07.142 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 29-Aug-2024 19:49:07.153 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-36307"] 29-Aug-2024 19:49:07.164 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@50caa560] to web application [weaving]. 29-Aug-2024 19:49:07.165 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2a266d09] to web application [weaving]. 29-Aug-2024 19:49:07.168 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-36307"] 29-Aug-2024 19:49:07.172 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Aug-2024 19:49:07.173 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-36307"] 29-Aug-2024 19:49:07.178 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-36307"] 29-Aug-2024 19:49:07.180 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 29-Aug-2024 19:49:07.186 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 29-Aug-2024 19:49:07.186 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Aug-2024 19:49:07.187 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 29-Aug-2024 19:49:07.192 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-37021"] 29-Aug-2024 19:49:07.210 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-37021"] 29-Aug-2024 19:49:07.215 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Aug-2024 19:49:07.215 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-37021"] 29-Aug-2024 19:49:07.219 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-37021"] 29-Aug-2024 19:49:07.220 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 29-Aug-2024 19:49:07.221 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 29-Aug-2024 19:49:07.222 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Aug-2024 19:49:07.223 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 29-Aug-2024 19:49:07.228 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-33073"] 29-Aug-2024 19:49:07.231 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@f381794] to web application [weaving]. 29-Aug-2024 19:49:07.231 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@f381794] from web application [weaving]. 29-Aug-2024 19:49:07.234 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-33073"] 29-Aug-2024 19:49:07.236 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Aug-2024 19:49:07.237 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-33073"] 29-Aug-2024 19:49:07.239 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-33073"] 29-Aug-2024 19:49:07.240 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 29-Aug-2024 19:49:07.242 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 29-Aug-2024 19:49:07.242 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Aug-2024 19:49:07.242 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 29-Aug-2024 19:49:07.247 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-35709"] 29-Aug-2024 19:49:07.275 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3541cb24] to web application [weaving]. 29-Aug-2024 19:49:07.275 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2177849e] to web application [weaving]. 29-Aug-2024 19:49:07.276 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2177849e] from web application [weaving]. 29-Aug-2024 19:49:07.279 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-35709"] 29-Aug-2024 19:49:07.289 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Aug-2024 19:49:07.292 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-35709"] 29-Aug-2024 19:49:07.294 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-35709"] 29-Aug-2024 19:49:07.296 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 29-Aug-2024 19:49:07.297 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 29-Aug-2024 19:49:07.298 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Aug-2024 19:49:07.298 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 29-Aug-2024 19:49:07.327 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-32775"] 29-Aug-2024 19:49:07.363 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2abf4075] to web application [weaving]. 29-Aug-2024 19:49:07.364 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@770d3326] to web application [weaving]. 29-Aug-2024 19:49:07.364 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@770d3326] from web application [weaving]. 29-Aug-2024 19:49:07.369 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-32775"] 29-Aug-2024 19:49:07.371 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Aug-2024 19:49:07.371 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-32775"] 29-Aug-2024 19:49:07.376 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-32775"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.978 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.03 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.04 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.072 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.09 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.039 sec Testcase: testAddingNullTransformerThrowsException took 0.04 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.019 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.055 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.086 sec