Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.713 sec ------------- Standard Error ----------------- 07-Nov-2023 15:34:43.024 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 07-Nov-2023 15:34:43.743 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 07-Nov-2023 15:34:43.835 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Nov-2023 15:34:43.837 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 07-Nov-2023 15:34:43.962 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37137"] 07-Nov-2023 15:34:43.989 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37137"] 07-Nov-2023 15:34:43.996 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Nov-2023 15:34:43.997 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37137"] 07-Nov-2023 15:34:43.999 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37137"] 07-Nov-2023 15:34:44.009 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 07-Nov-2023 15:34:44.011 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 07-Nov-2023 15:34:44.028 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Nov-2023 15:34:44.028 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 07-Nov-2023 15:34:44.033 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-34893"] 07-Nov-2023 15:34:44.034 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@29e495ff] to web application [weaving]. 07-Nov-2023 15:34:44.038 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-34893"] 07-Nov-2023 15:34:44.039 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Nov-2023 15:34:44.040 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-34893"] 07-Nov-2023 15:34:44.040 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-34893"] 07-Nov-2023 15:34:44.047 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 07-Nov-2023 15:34:44.049 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 07-Nov-2023 15:34:44.057 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Nov-2023 15:34:44.057 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 07-Nov-2023 15:34:44.061 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-39733"] 07-Nov-2023 15:34:44.062 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@27ff5d15] to web application [weaving]. 07-Nov-2023 15:34:44.065 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-39733"] 07-Nov-2023 15:34:44.066 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Nov-2023 15:34:44.066 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-39733"] 07-Nov-2023 15:34:44.067 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-39733"] 07-Nov-2023 15:34:44.070 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 07-Nov-2023 15:34:44.071 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 07-Nov-2023 15:34:44.079 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Nov-2023 15:34:44.080 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 07-Nov-2023 15:34:44.096 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34861"] 07-Nov-2023 15:34:44.108 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6a84a97d] to web application [weaving]. 07-Nov-2023 15:34:44.108 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6c130c45] to web application [weaving]. 07-Nov-2023 15:34:44.113 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34861"] 07-Nov-2023 15:34:44.116 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Nov-2023 15:34:44.116 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34861"] 07-Nov-2023 15:34:44.118 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34861"] 07-Nov-2023 15:34:44.124 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 07-Nov-2023 15:34:44.126 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 07-Nov-2023 15:34:44.135 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Nov-2023 15:34:44.136 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 07-Nov-2023 15:34:44.145 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-39643"] 07-Nov-2023 15:34:44.159 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@24fcf36f] to web application [weaving]. 07-Nov-2023 15:34:44.159 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@10feca44] to web application [weaving]. 07-Nov-2023 15:34:44.162 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-39643"] 07-Nov-2023 15:34:44.163 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Nov-2023 15:34:44.164 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-39643"] 07-Nov-2023 15:34:44.164 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-39643"] 07-Nov-2023 15:34:44.167 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 07-Nov-2023 15:34:44.169 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 07-Nov-2023 15:34:44.175 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Nov-2023 15:34:44.175 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 07-Nov-2023 15:34:44.179 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45529"] 07-Nov-2023 15:34:44.179 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5403f35f] to web application [weaving]. 07-Nov-2023 15:34:44.180 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@483f6d77] to web application [weaving]. 07-Nov-2023 15:34:44.183 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45529"] 07-Nov-2023 15:34:44.186 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Nov-2023 15:34:44.187 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45529"] 07-Nov-2023 15:34:44.188 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45529"] 07-Nov-2023 15:34:44.194 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 07-Nov-2023 15:34:44.198 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 07-Nov-2023 15:34:44.202 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Nov-2023 15:34:44.202 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 07-Nov-2023 15:34:44.208 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-45605"] 07-Nov-2023 15:34:44.214 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-45605"] 07-Nov-2023 15:34:44.215 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Nov-2023 15:34:44.215 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-45605"] 07-Nov-2023 15:34:44.216 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-45605"] 07-Nov-2023 15:34:44.218 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 07-Nov-2023 15:34:44.219 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 07-Nov-2023 15:34:44.242 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Nov-2023 15:34:44.242 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 07-Nov-2023 15:34:44.253 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-45017"] 07-Nov-2023 15:34:44.258 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@20ccf40b] to web application [weaving]. 07-Nov-2023 15:34:44.258 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@20ccf40b] from web application [weaving]. 07-Nov-2023 15:34:44.262 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-45017"] 07-Nov-2023 15:34:44.263 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Nov-2023 15:34:44.263 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-45017"] 07-Nov-2023 15:34:44.265 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-45017"] 07-Nov-2023 15:34:44.270 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 07-Nov-2023 15:34:44.272 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 07-Nov-2023 15:34:44.338 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Nov-2023 15:34:44.338 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 07-Nov-2023 15:34:44.346 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41881"] 07-Nov-2023 15:34:44.353 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@66d3eec0] to web application [weaving]. 07-Nov-2023 15:34:44.354 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1e04fa0a] to web application [weaving]. 07-Nov-2023 15:34:44.354 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1e04fa0a] from web application [weaving]. 07-Nov-2023 15:34:44.357 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41881"] 07-Nov-2023 15:34:44.358 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Nov-2023 15:34:44.358 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41881"] 07-Nov-2023 15:34:44.359 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41881"] 07-Nov-2023 15:34:44.364 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 07-Nov-2023 15:34:44.365 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 07-Nov-2023 15:34:44.398 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Nov-2023 15:34:44.398 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 07-Nov-2023 15:34:44.402 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36647"] 07-Nov-2023 15:34:44.403 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4f2b503c] to web application [weaving]. 07-Nov-2023 15:34:44.403 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@bae7dc0] to web application [weaving]. 07-Nov-2023 15:34:44.404 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@bae7dc0] from web application [weaving]. 07-Nov-2023 15:34:44.406 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36647"] 07-Nov-2023 15:34:44.411 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Nov-2023 15:34:44.411 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36647"] 07-Nov-2023 15:34:44.412 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36647"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.09 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.036 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.024 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.054 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.043 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.027 sec Testcase: testAddingNullTransformerThrowsException took 0.023 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.052 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.093 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.05 sec