Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.637 sec ------------- Standard Error ----------------- 09-Nov-2024 10:02:40.826 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 09-Nov-2024 10:02:42.042 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 09-Nov-2024 10:02:42.170 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Nov-2024 10:02:42.170 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 09-Nov-2024 10:02:42.346 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-35671"] 09-Nov-2024 10:02:42.398 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-35671"] 09-Nov-2024 10:02:42.418 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Nov-2024 10:02:42.419 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-35671"] 09-Nov-2024 10:02:42.425 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-35671"] 09-Nov-2024 10:02:42.443 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 09-Nov-2024 10:02:42.445 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 09-Nov-2024 10:02:42.524 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Nov-2024 10:02:42.524 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 09-Nov-2024 10:02:42.530 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-36931"] 09-Nov-2024 10:02:42.531 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@37271612] to web application [weaving]. 09-Nov-2024 10:02:42.534 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-36931"] 09-Nov-2024 10:02:42.535 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Nov-2024 10:02:42.536 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-36931"] 09-Nov-2024 10:02:42.537 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-36931"] 09-Nov-2024 10:02:42.540 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 09-Nov-2024 10:02:42.542 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 09-Nov-2024 10:02:42.548 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Nov-2024 10:02:42.548 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 09-Nov-2024 10:02:42.561 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-39929"] 09-Nov-2024 10:02:42.561 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@117e949d] to web application [weaving]. 09-Nov-2024 10:02:42.565 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-39929"] 09-Nov-2024 10:02:42.572 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Nov-2024 10:02:42.574 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-39929"] 09-Nov-2024 10:02:42.576 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-39929"] 09-Nov-2024 10:02:42.580 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 09-Nov-2024 10:02:42.581 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 09-Nov-2024 10:02:42.592 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Nov-2024 10:02:42.592 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 09-Nov-2024 10:02:42.607 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-46127"] 09-Nov-2024 10:02:42.608 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@175b9425] to web application [weaving]. 09-Nov-2024 10:02:42.608 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3098cf3b] to web application [weaving]. 09-Nov-2024 10:02:42.623 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-46127"] 09-Nov-2024 10:02:42.624 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Nov-2024 10:02:42.625 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-46127"] 09-Nov-2024 10:02:42.626 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-46127"] 09-Nov-2024 10:02:42.629 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 09-Nov-2024 10:02:42.630 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 09-Nov-2024 10:02:42.673 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Nov-2024 10:02:42.673 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 09-Nov-2024 10:02:42.678 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-35837"] 09-Nov-2024 10:02:42.679 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@740773a3] to web application [weaving]. 09-Nov-2024 10:02:42.679 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@37f1104d] to web application [weaving]. 09-Nov-2024 10:02:42.682 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-35837"] 09-Nov-2024 10:02:42.683 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Nov-2024 10:02:42.683 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-35837"] 09-Nov-2024 10:02:42.684 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-35837"] 09-Nov-2024 10:02:42.698 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 09-Nov-2024 10:02:42.699 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 09-Nov-2024 10:02:42.787 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Nov-2024 10:02:42.788 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 09-Nov-2024 10:02:42.802 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36893"] 09-Nov-2024 10:02:42.807 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@343570b7] to web application [weaving]. 09-Nov-2024 10:02:42.807 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@157853da] to web application [weaving]. 09-Nov-2024 10:02:42.810 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36893"] 09-Nov-2024 10:02:42.815 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Nov-2024 10:02:42.815 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36893"] 09-Nov-2024 10:02:42.816 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36893"] 09-Nov-2024 10:02:42.820 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 09-Nov-2024 10:02:42.822 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 09-Nov-2024 10:02:42.830 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Nov-2024 10:02:42.830 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 09-Nov-2024 10:02:42.835 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-34979"] 09-Nov-2024 10:02:42.838 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-34979"] 09-Nov-2024 10:02:42.839 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Nov-2024 10:02:42.839 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-34979"] 09-Nov-2024 10:02:42.840 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-34979"] 09-Nov-2024 10:02:42.844 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 09-Nov-2024 10:02:42.852 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 09-Nov-2024 10:02:42.856 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Nov-2024 10:02:42.856 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 09-Nov-2024 10:02:42.863 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-46101"] 09-Nov-2024 10:02:42.865 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1bb266b3] to web application [weaving]. 09-Nov-2024 10:02:42.865 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1bb266b3] from web application [weaving]. 09-Nov-2024 10:02:42.879 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-46101"] 09-Nov-2024 10:02:42.880 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Nov-2024 10:02:42.880 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-46101"] 09-Nov-2024 10:02:42.881 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-46101"] 09-Nov-2024 10:02:42.884 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 09-Nov-2024 10:02:42.885 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 09-Nov-2024 10:02:42.955 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Nov-2024 10:02:42.955 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 09-Nov-2024 10:02:42.961 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-33465"] 09-Nov-2024 10:02:42.962 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1649b0e6] to web application [weaving]. 09-Nov-2024 10:02:42.962 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@865dd6] to web application [weaving]. 09-Nov-2024 10:02:42.962 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@865dd6] from web application [weaving]. 09-Nov-2024 10:02:42.970 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-33465"] 09-Nov-2024 10:02:42.974 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Nov-2024 10:02:42.974 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-33465"] 09-Nov-2024 10:02:42.975 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-33465"] 09-Nov-2024 10:02:42.981 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 09-Nov-2024 10:02:42.992 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 09-Nov-2024 10:02:43.105 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Nov-2024 10:02:43.105 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 09-Nov-2024 10:02:43.119 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-40931"] 09-Nov-2024 10:02:43.131 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7671cb68] to web application [weaving]. 09-Nov-2024 10:02:43.131 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@49dc7102] to web application [weaving]. 09-Nov-2024 10:02:43.131 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@49dc7102] from web application [weaving]. 09-Nov-2024 10:02:43.134 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-40931"] 09-Nov-2024 10:02:43.137 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Nov-2024 10:02:43.137 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-40931"] 09-Nov-2024 10:02:43.138 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-40931"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.801 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.1 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.039 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.049 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.069 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.122 sec Testcase: testAddingNullTransformerThrowsException took 0.025 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.039 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.096 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.162 sec