Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.467 sec ------------- Standard Error ----------------- 25-Nov-2024 12:53:20.222 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 25-Nov-2024 12:53:21.533 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 25-Nov-2024 12:53:21.672 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Nov-2024 12:53:21.674 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 25-Nov-2024 12:53:21.832 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-38077"] 25-Nov-2024 12:53:21.882 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-38077"] 25-Nov-2024 12:53:21.897 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Nov-2024 12:53:21.898 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-38077"] 25-Nov-2024 12:53:21.900 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-38077"] 25-Nov-2024 12:53:21.909 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 25-Nov-2024 12:53:21.914 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 25-Nov-2024 12:53:21.923 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Nov-2024 12:53:21.923 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 25-Nov-2024 12:53:21.928 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43231"] 25-Nov-2024 12:53:21.930 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@10aa41f2] to web application [weaving]. 25-Nov-2024 12:53:21.935 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43231"] 25-Nov-2024 12:53:21.943 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Nov-2024 12:53:21.943 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43231"] 25-Nov-2024 12:53:21.944 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43231"] 25-Nov-2024 12:53:21.947 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 25-Nov-2024 12:53:21.949 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 25-Nov-2024 12:53:21.990 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Nov-2024 12:53:21.991 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 25-Nov-2024 12:53:21.999 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-38769"] 25-Nov-2024 12:53:22.001 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@424e1977] to web application [weaving]. 25-Nov-2024 12:53:22.005 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-38769"] 25-Nov-2024 12:53:22.016 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Nov-2024 12:53:22.016 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-38769"] 25-Nov-2024 12:53:22.017 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-38769"] 25-Nov-2024 12:53:22.021 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 25-Nov-2024 12:53:22.024 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 25-Nov-2024 12:53:22.035 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Nov-2024 12:53:22.036 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 25-Nov-2024 12:53:22.041 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34645"] 25-Nov-2024 12:53:22.050 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@623a8092] to web application [weaving]. 25-Nov-2024 12:53:22.050 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@a1cdc6d] to web application [weaving]. 25-Nov-2024 12:53:22.056 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34645"] 25-Nov-2024 12:53:22.056 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Nov-2024 12:53:22.057 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34645"] 25-Nov-2024 12:53:22.057 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34645"] 25-Nov-2024 12:53:22.061 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 25-Nov-2024 12:53:22.062 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 25-Nov-2024 12:53:22.099 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Nov-2024 12:53:22.100 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 25-Nov-2024 12:53:22.113 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-39511"] 25-Nov-2024 12:53:22.125 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7748410a] to web application [weaving]. 25-Nov-2024 12:53:22.125 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@740773a3] to web application [weaving]. 25-Nov-2024 12:53:22.128 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-39511"] 25-Nov-2024 12:53:22.129 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Nov-2024 12:53:22.129 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-39511"] 25-Nov-2024 12:53:22.130 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-39511"] 25-Nov-2024 12:53:22.132 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 25-Nov-2024 12:53:22.134 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 25-Nov-2024 12:53:22.160 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Nov-2024 12:53:22.160 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 25-Nov-2024 12:53:22.169 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-43361"] 25-Nov-2024 12:53:22.170 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3943a2be] to web application [weaving]. 25-Nov-2024 12:53:22.170 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@343570b7] to web application [weaving]. 25-Nov-2024 12:53:22.174 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-43361"] 25-Nov-2024 12:53:22.187 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Nov-2024 12:53:22.187 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-43361"] 25-Nov-2024 12:53:22.188 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-43361"] 25-Nov-2024 12:53:22.196 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 25-Nov-2024 12:53:22.198 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 25-Nov-2024 12:53:22.235 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Nov-2024 12:53:22.236 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 25-Nov-2024 12:53:22.242 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-45253"] 25-Nov-2024 12:53:22.246 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-45253"] 25-Nov-2024 12:53:22.249 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Nov-2024 12:53:22.249 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-45253"] 25-Nov-2024 12:53:22.250 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-45253"] 25-Nov-2024 12:53:22.252 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 25-Nov-2024 12:53:22.254 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 25-Nov-2024 12:53:22.293 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Nov-2024 12:53:22.293 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 25-Nov-2024 12:53:22.328 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-45943"] 25-Nov-2024 12:53:22.332 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@37858383] to web application [weaving]. 25-Nov-2024 12:53:22.332 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@37858383] from web application [weaving]. 25-Nov-2024 12:53:22.336 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-45943"] 25-Nov-2024 12:53:22.336 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Nov-2024 12:53:22.337 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-45943"] 25-Nov-2024 12:53:22.337 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-45943"] 25-Nov-2024 12:53:22.340 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 25-Nov-2024 12:53:22.342 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 25-Nov-2024 12:53:22.354 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Nov-2024 12:53:22.355 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 25-Nov-2024 12:53:22.360 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-34885"] 25-Nov-2024 12:53:22.361 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@366647c2] to web application [weaving]. 25-Nov-2024 12:53:22.361 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6a6afff2] to web application [weaving]. 25-Nov-2024 12:53:22.361 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6a6afff2] from web application [weaving]. 25-Nov-2024 12:53:22.365 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-34885"] 25-Nov-2024 12:53:22.368 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Nov-2024 12:53:22.368 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-34885"] 25-Nov-2024 12:53:22.383 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-34885"] 25-Nov-2024 12:53:22.388 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 25-Nov-2024 12:53:22.391 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 25-Nov-2024 12:53:22.408 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Nov-2024 12:53:22.408 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 25-Nov-2024 12:53:22.415 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42271"] 25-Nov-2024 12:53:22.416 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@61386958] to web application [weaving]. 25-Nov-2024 12:53:22.416 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@73ee04c8] to web application [weaving]. 25-Nov-2024 12:53:22.416 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@73ee04c8] from web application [weaving]. 25-Nov-2024 12:53:22.419 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42271"] 25-Nov-2024 12:53:22.420 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Nov-2024 12:53:22.420 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42271"] 25-Nov-2024 12:53:22.421 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42271"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.825 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.038 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.073 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.04 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.072 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.064 sec Testcase: testAddingNullTransformerThrowsException took 0.056 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.088 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.047 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.047 sec