Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.615 sec ------------- Standard Error ----------------- 15-Dec-2024 15:53:09.281 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 15-Dec-2024 15:53:10.114 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 15-Dec-2024 15:53:10.146 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Dec-2024 15:53:10.147 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 15-Dec-2024 15:53:10.261 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-34071"] 15-Dec-2024 15:53:10.353 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-34071"] 15-Dec-2024 15:53:10.361 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Dec-2024 15:53:10.362 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-34071"] 15-Dec-2024 15:53:10.368 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-34071"] 15-Dec-2024 15:53:10.380 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 15-Dec-2024 15:53:10.382 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 15-Dec-2024 15:53:10.393 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Dec-2024 15:53:10.393 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 15-Dec-2024 15:53:10.398 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-46045"] 15-Dec-2024 15:53:10.438 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3af9c5b7] to web application [weaving]. 15-Dec-2024 15:53:10.447 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-46045"] 15-Dec-2024 15:53:10.456 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Dec-2024 15:53:10.457 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-46045"] 15-Dec-2024 15:53:10.465 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-46045"] 15-Dec-2024 15:53:10.468 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 15-Dec-2024 15:53:10.471 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 15-Dec-2024 15:53:10.472 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Dec-2024 15:53:10.472 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 15-Dec-2024 15:53:10.482 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-42575"] 15-Dec-2024 15:53:10.511 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@424e1977] to web application [weaving]. 15-Dec-2024 15:53:10.515 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-42575"] 15-Dec-2024 15:53:10.516 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Dec-2024 15:53:10.517 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-42575"] 15-Dec-2024 15:53:10.521 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-42575"] 15-Dec-2024 15:53:10.524 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 15-Dec-2024 15:53:10.526 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 15-Dec-2024 15:53:10.526 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Dec-2024 15:53:10.526 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 15-Dec-2024 15:53:10.529 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-34407"] 15-Dec-2024 15:53:10.539 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@548e6d58] to web application [weaving]. 15-Dec-2024 15:53:10.539 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@623a8092] to web application [weaving]. 15-Dec-2024 15:53:10.547 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-34407"] 15-Dec-2024 15:53:10.548 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Dec-2024 15:53:10.548 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-34407"] 15-Dec-2024 15:53:10.551 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-34407"] 15-Dec-2024 15:53:10.554 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 15-Dec-2024 15:53:10.555 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 15-Dec-2024 15:53:10.556 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Dec-2024 15:53:10.556 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 15-Dec-2024 15:53:10.560 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-41293"] 15-Dec-2024 15:53:10.567 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3e96bacf] to web application [weaving]. 15-Dec-2024 15:53:10.567 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@484970b0] to web application [weaving]. 15-Dec-2024 15:53:10.570 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-41293"] 15-Dec-2024 15:53:10.573 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Dec-2024 15:53:10.573 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-41293"] 15-Dec-2024 15:53:10.575 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-41293"] 15-Dec-2024 15:53:10.577 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 15-Dec-2024 15:53:10.579 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 15-Dec-2024 15:53:10.581 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Dec-2024 15:53:10.581 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 15-Dec-2024 15:53:10.586 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-35561"] 15-Dec-2024 15:53:10.590 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@757acd7b] to web application [weaving]. 15-Dec-2024 15:53:10.590 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@36b4fe2a] to web application [weaving]. 15-Dec-2024 15:53:10.594 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-35561"] 15-Dec-2024 15:53:10.595 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Dec-2024 15:53:10.596 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-35561"] 15-Dec-2024 15:53:10.598 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-35561"] 15-Dec-2024 15:53:10.601 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 15-Dec-2024 15:53:10.602 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 15-Dec-2024 15:53:10.603 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Dec-2024 15:53:10.603 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 15-Dec-2024 15:53:10.617 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-39707"] 15-Dec-2024 15:53:10.630 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-39707"] 15-Dec-2024 15:53:10.630 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Dec-2024 15:53:10.631 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-39707"] 15-Dec-2024 15:53:10.634 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-39707"] 15-Dec-2024 15:53:10.635 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 15-Dec-2024 15:53:10.636 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 15-Dec-2024 15:53:10.637 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Dec-2024 15:53:10.637 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 15-Dec-2024 15:53:10.645 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-39255"] 15-Dec-2024 15:53:10.651 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@152aa092] to web application [weaving]. 15-Dec-2024 15:53:10.651 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@152aa092] from web application [weaving]. 15-Dec-2024 15:53:10.654 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-39255"] 15-Dec-2024 15:53:10.656 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Dec-2024 15:53:10.657 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-39255"] 15-Dec-2024 15:53:10.659 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-39255"] 15-Dec-2024 15:53:10.661 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 15-Dec-2024 15:53:10.663 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 15-Dec-2024 15:53:10.664 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Dec-2024 15:53:10.664 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 15-Dec-2024 15:53:10.668 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-41361"] 15-Dec-2024 15:53:10.671 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3315d2d7] to web application [weaving]. 15-Dec-2024 15:53:10.671 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@d6e7bab] to web application [weaving]. 15-Dec-2024 15:53:10.672 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@d6e7bab] from web application [weaving]. 15-Dec-2024 15:53:10.677 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-41361"] 15-Dec-2024 15:53:10.679 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Dec-2024 15:53:10.679 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-41361"] 15-Dec-2024 15:53:10.682 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-41361"] 15-Dec-2024 15:53:10.683 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 15-Dec-2024 15:53:10.685 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 15-Dec-2024 15:53:10.685 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Dec-2024 15:53:10.685 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 15-Dec-2024 15:53:10.689 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-44703"] 15-Dec-2024 15:53:10.700 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4d910fd6] to web application [weaving]. 15-Dec-2024 15:53:10.700 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@26275bef] to web application [weaving]. 15-Dec-2024 15:53:10.700 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@26275bef] from web application [weaving]. 15-Dec-2024 15:53:10.705 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-44703"] 15-Dec-2024 15:53:10.708 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Dec-2024 15:53:10.708 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-44703"] 15-Dec-2024 15:53:10.711 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-44703"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.21 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.086 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.057 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.029 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.023 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.023 sec Testcase: testAddingNullTransformerThrowsException took 0.034 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.026 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.022 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.029 sec