Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.616 sec ------------- Standard Error ----------------- 15-Oct-2024 14:00:01.736 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 15-Oct-2024 14:00:03.633 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 15-Oct-2024 14:00:03.782 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Oct-2024 14:00:03.782 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 15-Oct-2024 14:00:04.164 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39709"] 15-Oct-2024 14:00:04.268 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39709"] 15-Oct-2024 14:00:04.281 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Oct-2024 14:00:04.282 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39709"] 15-Oct-2024 14:00:04.289 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39709"] 15-Oct-2024 14:00:04.301 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 15-Oct-2024 14:00:04.322 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 15-Oct-2024 14:00:04.420 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Oct-2024 14:00:04.421 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 15-Oct-2024 14:00:04.440 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-35873"] 15-Oct-2024 14:00:04.449 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@757277dc] to web application [weaving]. 15-Oct-2024 14:00:04.453 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-35873"] 15-Oct-2024 14:00:04.454 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Oct-2024 14:00:04.454 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-35873"] 15-Oct-2024 14:00:04.458 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-35873"] 15-Oct-2024 14:00:04.460 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 15-Oct-2024 14:00:04.462 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 15-Oct-2024 14:00:04.477 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Oct-2024 14:00:04.477 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 15-Oct-2024 14:00:04.487 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-34425"] 15-Oct-2024 14:00:04.490 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@68e5eea7] to web application [weaving]. 15-Oct-2024 14:00:04.497 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-34425"] 15-Oct-2024 14:00:04.498 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Oct-2024 14:00:04.498 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-34425"] 15-Oct-2024 14:00:04.499 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-34425"] 15-Oct-2024 14:00:04.505 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 15-Oct-2024 14:00:04.508 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 15-Oct-2024 14:00:04.540 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Oct-2024 14:00:04.540 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 15-Oct-2024 14:00:04.553 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44015"] 15-Oct-2024 14:00:04.554 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6ff29830] to web application [weaving]. 15-Oct-2024 14:00:04.555 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6a2b953e] to web application [weaving]. 15-Oct-2024 14:00:04.561 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44015"] 15-Oct-2024 14:00:04.564 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Oct-2024 14:00:04.565 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44015"] 15-Oct-2024 14:00:04.567 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44015"] 15-Oct-2024 14:00:04.575 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 15-Oct-2024 14:00:04.591 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 15-Oct-2024 14:00:04.614 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Oct-2024 14:00:04.616 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 15-Oct-2024 14:00:04.631 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37235"] 15-Oct-2024 14:00:04.632 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@fd07cbb] to web application [weaving]. 15-Oct-2024 14:00:04.632 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3571b748] to web application [weaving]. 15-Oct-2024 14:00:04.638 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37235"] 15-Oct-2024 14:00:04.639 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Oct-2024 14:00:04.639 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37235"] 15-Oct-2024 14:00:04.640 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37235"] 15-Oct-2024 14:00:04.646 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 15-Oct-2024 14:00:04.647 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 15-Oct-2024 14:00:04.652 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Oct-2024 14:00:04.652 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 15-Oct-2024 14:00:04.660 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-38563"] 15-Oct-2024 14:00:04.661 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@11c9af63] to web application [weaving]. 15-Oct-2024 14:00:04.661 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@757acd7b] to web application [weaving]. 15-Oct-2024 14:00:04.667 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-38563"] 15-Oct-2024 14:00:04.669 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Oct-2024 14:00:04.670 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-38563"] 15-Oct-2024 14:00:04.671 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-38563"] 15-Oct-2024 14:00:04.676 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 15-Oct-2024 14:00:04.680 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 15-Oct-2024 14:00:04.709 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Oct-2024 14:00:04.710 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 15-Oct-2024 14:00:04.721 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-36383"] 15-Oct-2024 14:00:04.736 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-36383"] 15-Oct-2024 14:00:04.737 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Oct-2024 14:00:04.737 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-36383"] 15-Oct-2024 14:00:04.738 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-36383"] 15-Oct-2024 14:00:04.743 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 15-Oct-2024 14:00:04.745 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 15-Oct-2024 14:00:04.755 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Oct-2024 14:00:04.755 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 15-Oct-2024 14:00:04.777 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-43987"] 15-Oct-2024 14:00:04.787 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@524d6d96] to web application [weaving]. 15-Oct-2024 14:00:04.787 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@524d6d96] from web application [weaving]. 15-Oct-2024 14:00:04.791 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-43987"] 15-Oct-2024 14:00:04.792 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Oct-2024 14:00:04.792 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-43987"] 15-Oct-2024 14:00:04.793 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-43987"] 15-Oct-2024 14:00:04.796 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 15-Oct-2024 14:00:04.798 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 15-Oct-2024 14:00:04.857 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Oct-2024 14:00:04.857 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 15-Oct-2024 14:00:04.862 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-38729"] 15-Oct-2024 14:00:04.863 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3315d2d7] to web application [weaving]. 15-Oct-2024 14:00:04.863 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@d6e7bab] to web application [weaving]. 15-Oct-2024 14:00:04.863 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@d6e7bab] from web application [weaving]. 15-Oct-2024 14:00:04.866 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-38729"] 15-Oct-2024 14:00:04.867 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Oct-2024 14:00:04.867 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-38729"] 15-Oct-2024 14:00:04.868 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-38729"] 15-Oct-2024 14:00:04.871 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 15-Oct-2024 14:00:04.876 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 15-Oct-2024 14:00:04.907 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Oct-2024 14:00:04.907 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 15-Oct-2024 14:00:04.919 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-45865"] 15-Oct-2024 14:00:04.953 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@26275bef] to web application [weaving]. 15-Oct-2024 14:00:04.954 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7690781] to web application [weaving]. 15-Oct-2024 14:00:04.954 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7690781] from web application [weaving]. 15-Oct-2024 14:00:04.962 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-45865"] 15-Oct-2024 14:00:04.963 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Oct-2024 14:00:04.963 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-45865"] 15-Oct-2024 14:00:04.964 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-45865"] ------------- ---------------- --------------- Testcase: testNoWeaving took 2.763 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.159 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.044 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.07 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.071 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.029 sec Testcase: testAddingNullTransformerThrowsException took 0.066 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.053 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.074 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.096 sec