Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.821 sec ------------- Standard Error ----------------- 02-Dec-2024 19:33:06.273 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 02-Dec-2024 19:33:07.264 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 02-Dec-2024 19:33:07.329 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 19:33:07.329 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 19:33:07.458 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39695"] 02-Dec-2024 19:33:07.497 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39695"] 02-Dec-2024 19:33:07.514 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 19:33:07.515 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39695"] 02-Dec-2024 19:33:07.522 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39695"] 02-Dec-2024 19:33:07.529 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 02-Dec-2024 19:33:07.530 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 02-Dec-2024 19:33:07.553 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 19:33:07.553 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 19:33:07.568 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-38891"] 02-Dec-2024 19:33:07.574 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@14555e0a] to web application [weaving]. 02-Dec-2024 19:33:07.577 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-38891"] 02-Dec-2024 19:33:07.578 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 19:33:07.578 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-38891"] 02-Dec-2024 19:33:07.578 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-38891"] 02-Dec-2024 19:33:07.581 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 02-Dec-2024 19:33:07.583 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 02-Dec-2024 19:33:07.586 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 19:33:07.586 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 19:33:07.594 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44173"] 02-Dec-2024 19:33:07.595 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@78123e82] to web application [weaving]. 02-Dec-2024 19:33:07.599 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44173"] 02-Dec-2024 19:33:07.606 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 19:33:07.607 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44173"] 02-Dec-2024 19:33:07.608 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44173"] 02-Dec-2024 19:33:07.611 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 02-Dec-2024 19:33:07.613 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 02-Dec-2024 19:33:07.663 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 19:33:07.664 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 19:33:07.675 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34145"] 02-Dec-2024 19:33:07.676 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7133da86] to web application [weaving]. 02-Dec-2024 19:33:07.676 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3232a28a] to web application [weaving]. 02-Dec-2024 19:33:07.684 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34145"] 02-Dec-2024 19:33:07.685 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 19:33:07.686 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34145"] 02-Dec-2024 19:33:07.687 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34145"] 02-Dec-2024 19:33:07.692 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 02-Dec-2024 19:33:07.696 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 02-Dec-2024 19:33:07.701 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 19:33:07.701 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 19:33:07.719 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-36731"] 02-Dec-2024 19:33:07.726 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7e7be63f] to web application [weaving]. 02-Dec-2024 19:33:07.726 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6cd28fa7] to web application [weaving]. 02-Dec-2024 19:33:07.730 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-36731"] 02-Dec-2024 19:33:07.731 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 19:33:07.731 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-36731"] 02-Dec-2024 19:33:07.732 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-36731"] 02-Dec-2024 19:33:07.736 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 02-Dec-2024 19:33:07.737 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 02-Dec-2024 19:33:07.740 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 19:33:07.740 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 19:33:07.744 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-43451"] 02-Dec-2024 19:33:07.745 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6fd83fc1] to web application [weaving]. 02-Dec-2024 19:33:07.745 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4f2b503c] to web application [weaving]. 02-Dec-2024 19:33:07.749 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-43451"] 02-Dec-2024 19:33:07.752 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 19:33:07.752 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-43451"] 02-Dec-2024 19:33:07.753 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-43451"] 02-Dec-2024 19:33:07.756 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 02-Dec-2024 19:33:07.758 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 02-Dec-2024 19:33:07.774 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 19:33:07.775 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 19:33:07.781 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-42141"] 02-Dec-2024 19:33:07.786 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-42141"] 02-Dec-2024 19:33:07.786 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 19:33:07.787 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-42141"] 02-Dec-2024 19:33:07.787 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-42141"] 02-Dec-2024 19:33:07.791 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 02-Dec-2024 19:33:07.792 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 02-Dec-2024 19:33:07.800 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 19:33:07.801 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 19:33:07.806 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41571"] 02-Dec-2024 19:33:07.807 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@437da279] to web application [weaving]. 02-Dec-2024 19:33:07.808 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@437da279] from web application [weaving]. 02-Dec-2024 19:33:07.815 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41571"] 02-Dec-2024 19:33:07.818 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 19:33:07.819 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41571"] 02-Dec-2024 19:33:07.821 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41571"] 02-Dec-2024 19:33:07.826 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 02-Dec-2024 19:33:07.828 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 02-Dec-2024 19:33:07.839 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 19:33:07.839 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 19:33:07.845 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44461"] 02-Dec-2024 19:33:07.849 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2dc54ad4] to web application [weaving]. 02-Dec-2024 19:33:07.849 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4659191b] to web application [weaving]. 02-Dec-2024 19:33:07.849 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4659191b] from web application [weaving]. 02-Dec-2024 19:33:07.860 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44461"] 02-Dec-2024 19:33:07.863 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 19:33:07.863 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44461"] 02-Dec-2024 19:33:07.864 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44461"] 02-Dec-2024 19:33:07.866 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 02-Dec-2024 19:33:07.868 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 02-Dec-2024 19:33:07.888 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 19:33:07.888 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 19:33:07.897 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-43095"] 02-Dec-2024 19:33:07.898 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@73e9cf30] to web application [weaving]. 02-Dec-2024 19:33:07.899 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@771a660] to web application [weaving]. 02-Dec-2024 19:33:07.899 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@771a660] from web application [weaving]. 02-Dec-2024 19:33:07.903 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-43095"] 02-Dec-2024 19:33:07.904 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 19:33:07.904 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-43095"] 02-Dec-2024 19:33:07.905 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-43095"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.348 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.053 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.029 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.08 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.043 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.021 sec Testcase: testAddingNullTransformerThrowsException took 0.034 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.034 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.041 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.041 sec