Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.749 sec ------------- Standard Error ----------------- 23-Nov-2024 00:48:47.616 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 23-Nov-2024 00:48:48.864 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 23-Nov-2024 00:48:49.035 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Nov-2024 00:48:49.035 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 23-Nov-2024 00:48:49.274 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-42563"] 23-Nov-2024 00:48:49.311 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-42563"] 23-Nov-2024 00:48:49.317 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Nov-2024 00:48:49.318 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-42563"] 23-Nov-2024 00:48:49.321 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-42563"] 23-Nov-2024 00:48:49.330 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 23-Nov-2024 00:48:49.332 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 23-Nov-2024 00:48:49.354 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Nov-2024 00:48:49.354 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 23-Nov-2024 00:48:49.365 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42163"] 23-Nov-2024 00:48:49.380 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@14555e0a] to web application [weaving]. 23-Nov-2024 00:48:49.384 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42163"] 23-Nov-2024 00:48:49.385 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Nov-2024 00:48:49.385 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42163"] 23-Nov-2024 00:48:49.386 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42163"] 23-Nov-2024 00:48:49.390 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 23-Nov-2024 00:48:49.406 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 23-Nov-2024 00:48:49.411 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Nov-2024 00:48:49.411 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 23-Nov-2024 00:48:49.416 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-42289"] 23-Nov-2024 00:48:49.417 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@78123e82] to web application [weaving]. 23-Nov-2024 00:48:49.420 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-42289"] 23-Nov-2024 00:48:49.421 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Nov-2024 00:48:49.422 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-42289"] 23-Nov-2024 00:48:49.423 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-42289"] 23-Nov-2024 00:48:49.426 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 23-Nov-2024 00:48:49.428 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 23-Nov-2024 00:48:49.431 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Nov-2024 00:48:49.431 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 23-Nov-2024 00:48:49.436 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41401"] 23-Nov-2024 00:48:49.437 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7133da86] to web application [weaving]. 23-Nov-2024 00:48:49.437 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3232a28a] to web application [weaving]. 23-Nov-2024 00:48:49.441 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41401"] 23-Nov-2024 00:48:49.442 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Nov-2024 00:48:49.443 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41401"] 23-Nov-2024 00:48:49.443 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41401"] 23-Nov-2024 00:48:49.447 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 23-Nov-2024 00:48:49.448 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 23-Nov-2024 00:48:49.471 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Nov-2024 00:48:49.472 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 23-Nov-2024 00:48:49.479 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-34577"] 23-Nov-2024 00:48:49.487 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7e7be63f] to web application [weaving]. 23-Nov-2024 00:48:49.487 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6cd28fa7] to web application [weaving]. 23-Nov-2024 00:48:49.491 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-34577"] 23-Nov-2024 00:48:49.492 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Nov-2024 00:48:49.493 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-34577"] 23-Nov-2024 00:48:49.493 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-34577"] 23-Nov-2024 00:48:49.497 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 23-Nov-2024 00:48:49.498 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 23-Nov-2024 00:48:49.571 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Nov-2024 00:48:49.572 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 23-Nov-2024 00:48:49.591 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40521"] 23-Nov-2024 00:48:49.591 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@52af26ee] to web application [weaving]. 23-Nov-2024 00:48:49.592 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6fd83fc1] to web application [weaving]. 23-Nov-2024 00:48:49.596 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40521"] 23-Nov-2024 00:48:49.597 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Nov-2024 00:48:49.597 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40521"] 23-Nov-2024 00:48:49.598 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40521"] 23-Nov-2024 00:48:49.604 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 23-Nov-2024 00:48:49.606 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 23-Nov-2024 00:48:49.697 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Nov-2024 00:48:49.697 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 23-Nov-2024 00:48:49.702 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-34519"] 23-Nov-2024 00:48:49.707 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-34519"] 23-Nov-2024 00:48:49.710 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Nov-2024 00:48:49.710 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-34519"] 23-Nov-2024 00:48:49.711 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-34519"] 23-Nov-2024 00:48:49.715 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 23-Nov-2024 00:48:49.718 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 23-Nov-2024 00:48:49.759 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Nov-2024 00:48:49.759 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 23-Nov-2024 00:48:49.767 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-34083"] 23-Nov-2024 00:48:49.768 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7bab3f1a] to web application [weaving]. 23-Nov-2024 00:48:49.769 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7bab3f1a] from web application [weaving]. 23-Nov-2024 00:48:49.773 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-34083"] 23-Nov-2024 00:48:49.774 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Nov-2024 00:48:49.774 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-34083"] 23-Nov-2024 00:48:49.776 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-34083"] 23-Nov-2024 00:48:49.784 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 23-Nov-2024 00:48:49.788 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 23-Nov-2024 00:48:49.819 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Nov-2024 00:48:49.819 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 23-Nov-2024 00:48:49.839 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46579"] 23-Nov-2024 00:48:49.846 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1151e434] to web application [weaving]. 23-Nov-2024 00:48:49.846 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2dc54ad4] to web application [weaving]. 23-Nov-2024 00:48:49.846 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2dc54ad4] from web application [weaving]. 23-Nov-2024 00:48:49.850 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46579"] 23-Nov-2024 00:48:49.854 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Nov-2024 00:48:49.854 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46579"] 23-Nov-2024 00:48:49.854 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46579"] 23-Nov-2024 00:48:49.857 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 23-Nov-2024 00:48:49.859 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 23-Nov-2024 00:48:49.907 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Nov-2024 00:48:49.907 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 23-Nov-2024 00:48:49.912 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-43985"] 23-Nov-2024 00:48:49.913 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@272113c4] to web application [weaving]. 23-Nov-2024 00:48:49.913 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@73e9cf30] to web application [weaving]. 23-Nov-2024 00:48:49.913 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@73e9cf30] from web application [weaving]. 23-Nov-2024 00:48:49.916 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-43985"] 23-Nov-2024 00:48:49.918 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Nov-2024 00:48:49.918 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-43985"] 23-Nov-2024 00:48:49.918 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-43985"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.928 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.06 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.036 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.02 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.05 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.108 sec Testcase: testAddingNullTransformerThrowsException took 0.109 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.07 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.073 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.064 sec