Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.569 sec ------------- Standard Error ----------------- 19-Dec-2024 18:37:10.404 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 19-Dec-2024 18:37:11.052 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 19-Dec-2024 18:37:11.089 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Dec-2024 18:37:11.090 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.35-dev] 19-Dec-2024 18:37:11.279 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-35471"] 19-Dec-2024 18:37:11.339 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-35471"] 19-Dec-2024 18:37:11.344 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Dec-2024 18:37:11.345 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-35471"] 19-Dec-2024 18:37:11.351 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-35471"] 19-Dec-2024 18:37:11.357 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 19-Dec-2024 18:37:11.358 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 19-Dec-2024 18:37:11.359 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Dec-2024 18:37:11.359 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.35-dev] 19-Dec-2024 18:37:11.363 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-33001"] 19-Dec-2024 18:37:11.378 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3af9c5b7] to web application [weaving]. 19-Dec-2024 18:37:11.382 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-33001"] 19-Dec-2024 18:37:11.382 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Dec-2024 18:37:11.383 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-33001"] 19-Dec-2024 18:37:11.396 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-33001"] 19-Dec-2024 18:37:11.399 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 19-Dec-2024 18:37:11.414 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 19-Dec-2024 18:37:11.414 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Dec-2024 18:37:11.415 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.35-dev] 19-Dec-2024 18:37:11.423 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-38269"] 19-Dec-2024 18:37:11.461 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@424e1977] to web application [weaving]. 19-Dec-2024 18:37:11.465 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-38269"] 19-Dec-2024 18:37:11.465 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Dec-2024 18:37:11.466 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-38269"] 19-Dec-2024 18:37:11.469 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-38269"] 19-Dec-2024 18:37:11.474 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 19-Dec-2024 18:37:11.476 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 19-Dec-2024 18:37:11.477 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Dec-2024 18:37:11.477 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.35-dev] 19-Dec-2024 18:37:11.491 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-45671"] 19-Dec-2024 18:37:11.504 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@548e6d58] to web application [weaving]. 19-Dec-2024 18:37:11.504 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@623a8092] to web application [weaving]. 19-Dec-2024 18:37:11.513 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-45671"] 19-Dec-2024 18:37:11.515 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Dec-2024 18:37:11.515 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-45671"] 19-Dec-2024 18:37:11.517 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-45671"] 19-Dec-2024 18:37:11.518 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 19-Dec-2024 18:37:11.520 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 19-Dec-2024 18:37:11.520 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Dec-2024 18:37:11.521 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.35-dev] 19-Dec-2024 18:37:11.530 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-35251"] 19-Dec-2024 18:37:11.534 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3e96bacf] to web application [weaving]. 19-Dec-2024 18:37:11.535 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@484970b0] to web application [weaving]. 19-Dec-2024 18:37:11.537 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-35251"] 19-Dec-2024 18:37:11.539 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Dec-2024 18:37:11.539 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-35251"] 19-Dec-2024 18:37:11.548 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-35251"] 19-Dec-2024 18:37:11.550 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 19-Dec-2024 18:37:11.553 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 19-Dec-2024 18:37:11.554 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Dec-2024 18:37:11.554 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.35-dev] 19-Dec-2024 18:37:11.572 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-43893"] 19-Dec-2024 18:37:11.576 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@757acd7b] to web application [weaving]. 19-Dec-2024 18:37:11.576 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@36b4fe2a] to web application [weaving]. 19-Dec-2024 18:37:11.583 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-43893"] 19-Dec-2024 18:37:11.584 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Dec-2024 18:37:11.585 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-43893"] 19-Dec-2024 18:37:11.587 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-43893"] 19-Dec-2024 18:37:11.592 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 19-Dec-2024 18:37:11.595 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 19-Dec-2024 18:37:11.596 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Dec-2024 18:37:11.597 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.35-dev] 19-Dec-2024 18:37:11.614 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-33721"] 19-Dec-2024 18:37:11.650 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-33721"] 19-Dec-2024 18:37:11.650 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Dec-2024 18:37:11.651 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-33721"] 19-Dec-2024 18:37:11.652 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-33721"] 19-Dec-2024 18:37:11.655 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 19-Dec-2024 18:37:11.656 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 19-Dec-2024 18:37:11.657 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Dec-2024 18:37:11.657 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.35-dev] 19-Dec-2024 18:37:11.666 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-41393"] 19-Dec-2024 18:37:11.672 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@152aa092] to web application [weaving]. 19-Dec-2024 18:37:11.672 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@152aa092] from web application [weaving]. 19-Dec-2024 18:37:11.677 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-41393"] 19-Dec-2024 18:37:11.682 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Dec-2024 18:37:11.685 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-41393"] 19-Dec-2024 18:37:11.688 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-41393"] 19-Dec-2024 18:37:11.690 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 19-Dec-2024 18:37:11.691 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 19-Dec-2024 18:37:11.692 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Dec-2024 18:37:11.693 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.35-dev] 19-Dec-2024 18:37:11.710 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-39547"] 19-Dec-2024 18:37:11.727 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3315d2d7] to web application [weaving]. 19-Dec-2024 18:37:11.727 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@d6e7bab] to web application [weaving]. 19-Dec-2024 18:37:11.727 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@d6e7bab] from web application [weaving]. 19-Dec-2024 18:37:11.731 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-39547"] 19-Dec-2024 18:37:11.734 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Dec-2024 18:37:11.734 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-39547"] 19-Dec-2024 18:37:11.738 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-39547"] 19-Dec-2024 18:37:11.739 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 19-Dec-2024 18:37:11.741 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 19-Dec-2024 18:37:11.742 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Dec-2024 18:37:11.744 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.35-dev] 19-Dec-2024 18:37:11.752 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-33143"] 19-Dec-2024 18:37:11.756 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4d910fd6] to web application [weaving]. 19-Dec-2024 18:37:11.756 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@26275bef] to web application [weaving]. 19-Dec-2024 18:37:11.756 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@26275bef] from web application [weaving]. 19-Dec-2024 18:37:11.759 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-33143"] 19-Dec-2024 18:37:11.759 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Dec-2024 18:37:11.759 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-33143"] 19-Dec-2024 18:37:11.762 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-33143"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.06 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.041 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.071 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.048 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.031 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.041 sec Testcase: testAddingNullTransformerThrowsException took 0.063 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.035 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.049 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.023 sec