Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.384 sec ------------- Standard Error ----------------- 10-Oct-2024 15:42:21.786 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 10-Oct-2024 15:42:22.943 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 10-Oct-2024 15:42:23.131 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Oct-2024 15:42:23.131 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 10-Oct-2024 15:42:23.498 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-41207"] 10-Oct-2024 15:42:23.522 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-41207"] 10-Oct-2024 15:42:23.528 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Oct-2024 15:42:23.530 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-41207"] 10-Oct-2024 15:42:23.534 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-41207"] 10-Oct-2024 15:42:23.566 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 10-Oct-2024 15:42:23.602 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 10-Oct-2024 15:42:23.671 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Oct-2024 15:42:23.671 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 10-Oct-2024 15:42:23.698 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41459"] 10-Oct-2024 15:42:23.712 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@687e99d8] to web application [weaving]. 10-Oct-2024 15:42:23.716 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41459"] 10-Oct-2024 15:42:23.717 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Oct-2024 15:42:23.717 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41459"] 10-Oct-2024 15:42:23.718 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41459"] 10-Oct-2024 15:42:23.721 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 10-Oct-2024 15:42:23.723 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 10-Oct-2024 15:42:23.834 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Oct-2024 15:42:23.834 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 10-Oct-2024 15:42:23.851 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-42863"] 10-Oct-2024 15:42:23.858 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@291b4bf5] to web application [weaving]. 10-Oct-2024 15:42:23.862 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-42863"] 10-Oct-2024 15:42:23.865 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Oct-2024 15:42:23.868 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-42863"] 10-Oct-2024 15:42:23.869 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-42863"] 10-Oct-2024 15:42:23.884 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 10-Oct-2024 15:42:23.885 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 10-Oct-2024 15:42:23.983 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Oct-2024 15:42:23.984 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 10-Oct-2024 15:42:23.997 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34609"] 10-Oct-2024 15:42:24.014 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6a2b953e] to web application [weaving]. 10-Oct-2024 15:42:24.014 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@313b2ea6] to web application [weaving]. 10-Oct-2024 15:42:24.023 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34609"] 10-Oct-2024 15:42:24.026 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Oct-2024 15:42:24.027 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34609"] 10-Oct-2024 15:42:24.029 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34609"] 10-Oct-2024 15:42:24.034 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 10-Oct-2024 15:42:24.037 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 10-Oct-2024 15:42:24.148 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Oct-2024 15:42:24.148 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 10-Oct-2024 15:42:24.187 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38553"] 10-Oct-2024 15:42:24.188 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3571b748] to web application [weaving]. 10-Oct-2024 15:42:24.188 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3e96bacf] to web application [weaving]. 10-Oct-2024 15:42:24.193 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38553"] 10-Oct-2024 15:42:24.194 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Oct-2024 15:42:24.194 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38553"] 10-Oct-2024 15:42:24.195 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38553"] 10-Oct-2024 15:42:24.199 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 10-Oct-2024 15:42:24.205 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 10-Oct-2024 15:42:24.315 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Oct-2024 15:42:24.315 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 10-Oct-2024 15:42:24.334 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45975"] 10-Oct-2024 15:42:24.347 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@757acd7b] to web application [weaving]. 10-Oct-2024 15:42:24.347 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@36b4fe2a] to web application [weaving]. 10-Oct-2024 15:42:24.351 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45975"] 10-Oct-2024 15:42:24.355 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Oct-2024 15:42:24.355 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45975"] 10-Oct-2024 15:42:24.356 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45975"] 10-Oct-2024 15:42:24.358 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 10-Oct-2024 15:42:24.360 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 10-Oct-2024 15:42:24.421 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Oct-2024 15:42:24.421 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 10-Oct-2024 15:42:24.429 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-41927"] 10-Oct-2024 15:42:24.446 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-41927"] 10-Oct-2024 15:42:24.453 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Oct-2024 15:42:24.453 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-41927"] 10-Oct-2024 15:42:24.457 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-41927"] 10-Oct-2024 15:42:24.461 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 10-Oct-2024 15:42:24.464 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 10-Oct-2024 15:42:24.468 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Oct-2024 15:42:24.468 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 10-Oct-2024 15:42:24.507 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-35085"] 10-Oct-2024 15:42:24.515 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@152aa092] to web application [weaving]. 10-Oct-2024 15:42:24.515 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@152aa092] from web application [weaving]. 10-Oct-2024 15:42:24.519 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-35085"] 10-Oct-2024 15:42:24.520 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Oct-2024 15:42:24.520 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-35085"] 10-Oct-2024 15:42:24.527 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-35085"] 10-Oct-2024 15:42:24.530 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 10-Oct-2024 15:42:24.532 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 10-Oct-2024 15:42:24.651 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Oct-2024 15:42:24.652 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 10-Oct-2024 15:42:24.659 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-42621"] 10-Oct-2024 15:42:24.681 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@d6e7bab] to web application [weaving]. 10-Oct-2024 15:42:24.681 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5fa07e12] to web application [weaving]. 10-Oct-2024 15:42:24.681 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5fa07e12] from web application [weaving]. 10-Oct-2024 15:42:24.684 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-42621"] 10-Oct-2024 15:42:24.686 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Oct-2024 15:42:24.687 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-42621"] 10-Oct-2024 15:42:24.688 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-42621"] 10-Oct-2024 15:42:24.693 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 10-Oct-2024 15:42:24.696 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 10-Oct-2024 15:42:24.808 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Oct-2024 15:42:24.808 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 10-Oct-2024 15:42:24.812 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-37053"] 10-Oct-2024 15:42:24.818 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7690781] to web application [weaving]. 10-Oct-2024 15:42:24.818 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@77eca502] to web application [weaving]. 10-Oct-2024 15:42:24.818 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@77eca502] from web application [weaving]. 10-Oct-2024 15:42:24.822 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-37053"] 10-Oct-2024 15:42:24.822 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Oct-2024 15:42:24.823 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-37053"] 10-Oct-2024 15:42:24.823 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-37053"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.935 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.155 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.157 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.155 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.165 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.158 sec Testcase: testAddingNullTransformerThrowsException took 0.102 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.069 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.162 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.134 sec