Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.737 sec ------------- Standard Error ----------------- 19-Dec-2024 18:51:50.901 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 19-Dec-2024 18:51:51.771 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 19-Dec-2024 18:51:51.862 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Dec-2024 18:51:51.863 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.35-dev] 19-Dec-2024 18:51:51.983 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-41613"] 19-Dec-2024 18:51:52.020 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-41613"] 19-Dec-2024 18:51:52.026 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Dec-2024 18:51:52.027 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-41613"] 19-Dec-2024 18:51:52.028 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-41613"] 19-Dec-2024 18:51:52.036 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 19-Dec-2024 18:51:52.039 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 19-Dec-2024 18:51:52.042 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Dec-2024 18:51:52.042 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.35-dev] 19-Dec-2024 18:51:52.051 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43925"] 19-Dec-2024 18:51:52.057 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@37271612] to web application [weaving]. 19-Dec-2024 18:51:52.061 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43925"] 19-Dec-2024 18:51:52.062 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Dec-2024 18:51:52.063 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43925"] 19-Dec-2024 18:51:52.064 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43925"] 19-Dec-2024 18:51:52.068 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 19-Dec-2024 18:51:52.069 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 19-Dec-2024 18:51:52.093 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Dec-2024 18:51:52.093 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.35-dev] 19-Dec-2024 18:51:52.103 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-39849"] 19-Dec-2024 18:51:52.107 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@117e949d] to web application [weaving]. 19-Dec-2024 18:51:52.111 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-39849"] 19-Dec-2024 18:51:52.114 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Dec-2024 18:51:52.114 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-39849"] 19-Dec-2024 18:51:52.115 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-39849"] 19-Dec-2024 18:51:52.118 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 19-Dec-2024 18:51:52.119 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 19-Dec-2024 18:51:52.131 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Dec-2024 18:51:52.131 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.35-dev] 19-Dec-2024 18:51:52.135 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44163"] 19-Dec-2024 18:51:52.147 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@175b9425] to web application [weaving]. 19-Dec-2024 18:51:52.147 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3098cf3b] to web application [weaving]. 19-Dec-2024 18:51:52.155 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44163"] 19-Dec-2024 18:51:52.158 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Dec-2024 18:51:52.159 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44163"] 19-Dec-2024 18:51:52.162 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44163"] 19-Dec-2024 18:51:52.168 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 19-Dec-2024 18:51:52.171 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 19-Dec-2024 18:51:52.198 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Dec-2024 18:51:52.199 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.35-dev] 19-Dec-2024 18:51:52.203 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-40067"] 19-Dec-2024 18:51:52.206 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@37f1104d] to web application [weaving]. 19-Dec-2024 18:51:52.206 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@55740540] to web application [weaving]. 19-Dec-2024 18:51:52.210 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-40067"] 19-Dec-2024 18:51:52.211 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Dec-2024 18:51:52.212 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-40067"] 19-Dec-2024 18:51:52.212 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-40067"] 19-Dec-2024 18:51:52.218 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 19-Dec-2024 18:51:52.226 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 19-Dec-2024 18:51:52.238 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Dec-2024 18:51:52.238 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.35-dev] 19-Dec-2024 18:51:52.245 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-34679"] 19-Dec-2024 18:51:52.245 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@343570b7] to web application [weaving]. 19-Dec-2024 18:51:52.245 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@157853da] to web application [weaving]. 19-Dec-2024 18:51:52.249 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-34679"] 19-Dec-2024 18:51:52.250 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Dec-2024 18:51:52.250 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-34679"] 19-Dec-2024 18:51:52.251 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-34679"] 19-Dec-2024 18:51:52.255 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 19-Dec-2024 18:51:52.256 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 19-Dec-2024 18:51:52.265 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Dec-2024 18:51:52.265 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.35-dev] 19-Dec-2024 18:51:52.269 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-45675"] 19-Dec-2024 18:51:52.273 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-45675"] 19-Dec-2024 18:51:52.276 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Dec-2024 18:51:52.276 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-45675"] 19-Dec-2024 18:51:52.277 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-45675"] 19-Dec-2024 18:51:52.285 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 19-Dec-2024 18:51:52.287 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 19-Dec-2024 18:51:52.293 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Dec-2024 18:51:52.294 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.35-dev] 19-Dec-2024 18:51:52.303 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-40251"] 19-Dec-2024 18:51:52.303 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4e268090] to web application [weaving]. 19-Dec-2024 18:51:52.304 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4e268090] from web application [weaving]. 19-Dec-2024 18:51:52.306 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-40251"] 19-Dec-2024 18:51:52.309 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Dec-2024 18:51:52.310 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-40251"] 19-Dec-2024 18:51:52.310 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-40251"] 19-Dec-2024 18:51:52.319 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 19-Dec-2024 18:51:52.320 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 19-Dec-2024 18:51:52.334 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Dec-2024 18:51:52.335 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.35-dev] 19-Dec-2024 18:51:52.346 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-34461"] 19-Dec-2024 18:51:52.347 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6a6afff2] to web application [weaving]. 19-Dec-2024 18:51:52.347 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1649b0e6] to web application [weaving]. 19-Dec-2024 18:51:52.347 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1649b0e6] from web application [weaving]. 19-Dec-2024 18:51:52.350 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-34461"] 19-Dec-2024 18:51:52.350 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Dec-2024 18:51:52.351 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-34461"] 19-Dec-2024 18:51:52.351 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-34461"] 19-Dec-2024 18:51:52.359 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 19-Dec-2024 18:51:52.361 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 19-Dec-2024 18:51:52.408 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Dec-2024 18:51:52.408 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.35-dev] 19-Dec-2024 18:51:52.411 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-33047"] 19-Dec-2024 18:51:52.412 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@73ee04c8] to web application [weaving]. 19-Dec-2024 18:51:52.412 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7671cb68] to web application [weaving]. 19-Dec-2024 18:51:52.412 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7671cb68] from web application [weaving]. 19-Dec-2024 18:51:52.415 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-33047"] 19-Dec-2024 18:51:52.415 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Dec-2024 18:51:52.416 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-33047"] 19-Dec-2024 18:51:52.417 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-33047"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.248 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.032 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.05 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.05 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.048 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.039 sec Testcase: testAddingNullTransformerThrowsException took 0.03 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.033 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.036 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.063 sec