Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.999 sec ------------- Standard Error ----------------- 21-Nov-2024 18:09:56.201 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 21-Nov-2024 18:09:57.557 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 21-Nov-2024 18:09:57.760 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Nov-2024 18:09:57.761 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 21-Nov-2024 18:09:57.984 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-35073"] 21-Nov-2024 18:09:58.030 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-35073"] 21-Nov-2024 18:09:58.046 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Nov-2024 18:09:58.056 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-35073"] 21-Nov-2024 18:09:58.066 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-35073"] 21-Nov-2024 18:09:58.088 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 21-Nov-2024 18:09:58.091 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 21-Nov-2024 18:09:58.167 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Nov-2024 18:09:58.168 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 21-Nov-2024 18:09:58.180 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41059"] 21-Nov-2024 18:09:58.206 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@10aa41f2] to web application [weaving]. 21-Nov-2024 18:09:58.226 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41059"] 21-Nov-2024 18:09:58.229 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Nov-2024 18:09:58.230 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41059"] 21-Nov-2024 18:09:58.231 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41059"] 21-Nov-2024 18:09:58.236 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 21-Nov-2024 18:09:58.242 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 21-Nov-2024 18:09:58.284 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Nov-2024 18:09:58.291 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 21-Nov-2024 18:09:58.305 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-42817"] 21-Nov-2024 18:09:58.307 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@424e1977] to web application [weaving]. 21-Nov-2024 18:09:58.310 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-42817"] 21-Nov-2024 18:09:58.319 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Nov-2024 18:09:58.319 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-42817"] 21-Nov-2024 18:09:58.324 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-42817"] 21-Nov-2024 18:09:58.327 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 21-Nov-2024 18:09:58.329 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 21-Nov-2024 18:09:58.359 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Nov-2024 18:09:58.359 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 21-Nov-2024 18:09:58.389 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42361"] 21-Nov-2024 18:09:58.395 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@623a8092] to web application [weaving]. 21-Nov-2024 18:09:58.395 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@a1cdc6d] to web application [weaving]. 21-Nov-2024 18:09:58.406 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42361"] 21-Nov-2024 18:09:58.408 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Nov-2024 18:09:58.409 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42361"] 21-Nov-2024 18:09:58.410 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42361"] 21-Nov-2024 18:09:58.416 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 21-Nov-2024 18:09:58.418 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 21-Nov-2024 18:09:58.420 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Nov-2024 18:09:58.421 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 21-Nov-2024 18:09:58.425 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43185"] 21-Nov-2024 18:09:58.426 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7748410a] to web application [weaving]. 21-Nov-2024 18:09:58.426 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@740773a3] to web application [weaving]. 21-Nov-2024 18:09:58.430 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43185"] 21-Nov-2024 18:09:58.431 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Nov-2024 18:09:58.432 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43185"] 21-Nov-2024 18:09:58.432 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43185"] 21-Nov-2024 18:09:58.436 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 21-Nov-2024 18:09:58.438 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 21-Nov-2024 18:09:58.482 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Nov-2024 18:09:58.482 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 21-Nov-2024 18:09:58.489 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-38055"] 21-Nov-2024 18:09:58.495 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3943a2be] to web application [weaving]. 21-Nov-2024 18:09:58.495 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@343570b7] to web application [weaving]. 21-Nov-2024 18:09:58.504 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-38055"] 21-Nov-2024 18:09:58.504 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Nov-2024 18:09:58.505 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-38055"] 21-Nov-2024 18:09:58.506 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-38055"] 21-Nov-2024 18:09:58.513 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 21-Nov-2024 18:09:58.515 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 21-Nov-2024 18:09:58.563 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Nov-2024 18:09:58.564 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 21-Nov-2024 18:09:58.575 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-37893"] 21-Nov-2024 18:09:58.580 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-37893"] 21-Nov-2024 18:09:58.587 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Nov-2024 18:09:58.588 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-37893"] 21-Nov-2024 18:09:58.588 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-37893"] 21-Nov-2024 18:09:58.590 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 21-Nov-2024 18:09:58.600 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 21-Nov-2024 18:09:58.651 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Nov-2024 18:09:58.651 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 21-Nov-2024 18:09:58.679 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-35571"] 21-Nov-2024 18:09:58.687 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@37858383] to web application [weaving]. 21-Nov-2024 18:09:58.687 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@37858383] from web application [weaving]. 21-Nov-2024 18:09:58.691 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-35571"] 21-Nov-2024 18:09:58.692 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Nov-2024 18:09:58.693 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-35571"] 21-Nov-2024 18:09:58.694 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-35571"] 21-Nov-2024 18:09:58.700 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 21-Nov-2024 18:09:58.702 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 21-Nov-2024 18:09:58.779 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Nov-2024 18:09:58.780 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 21-Nov-2024 18:09:58.785 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36493"] 21-Nov-2024 18:09:58.798 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@366647c2] to web application [weaving]. 21-Nov-2024 18:09:58.799 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6a6afff2] to web application [weaving]. 21-Nov-2024 18:09:58.799 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6a6afff2] from web application [weaving]. 21-Nov-2024 18:09:58.802 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36493"] 21-Nov-2024 18:09:58.810 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Nov-2024 18:09:58.810 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36493"] 21-Nov-2024 18:09:58.811 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36493"] 21-Nov-2024 18:09:58.821 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 21-Nov-2024 18:09:58.824 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 21-Nov-2024 18:09:58.860 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Nov-2024 18:09:58.860 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 21-Nov-2024 18:09:58.873 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-46167"] 21-Nov-2024 18:09:58.901 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@61386958] to web application [weaving]. 21-Nov-2024 18:09:58.901 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@73ee04c8] to web application [weaving]. 21-Nov-2024 18:09:58.901 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@73ee04c8] from web application [weaving]. 21-Nov-2024 18:09:58.905 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-46167"] 21-Nov-2024 18:09:58.906 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Nov-2024 18:09:58.906 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-46167"] 21-Nov-2024 18:09:58.907 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-46167"] ------------- ---------------- --------------- Testcase: testNoWeaving took 2.06 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.149 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.091 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.088 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.019 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.075 sec Testcase: testAddingNullTransformerThrowsException took 0.077 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.109 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.122 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.088 sec