Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.845 sec ------------- Standard Error ----------------- 05-Jul-2024 08:07:54.667 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 05-Jul-2024 08:07:55.905 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 05-Jul-2024 08:07:56.080 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Jul-2024 08:07:56.080 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 05-Jul-2024 08:07:56.383 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-35505"] 05-Jul-2024 08:07:56.435 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-35505"] 05-Jul-2024 08:07:56.455 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Jul-2024 08:07:56.458 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-35505"] 05-Jul-2024 08:07:56.470 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-35505"] 05-Jul-2024 08:07:56.484 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 05-Jul-2024 08:07:56.495 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 05-Jul-2024 08:07:56.622 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Jul-2024 08:07:56.622 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 05-Jul-2024 08:07:56.643 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-36853"] 05-Jul-2024 08:07:56.645 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1757cd72] to web application [weaving]. 05-Jul-2024 08:07:56.659 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-36853"] 05-Jul-2024 08:07:56.660 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Jul-2024 08:07:56.663 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-36853"] 05-Jul-2024 08:07:56.664 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-36853"] 05-Jul-2024 08:07:56.668 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 05-Jul-2024 08:07:56.670 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 05-Jul-2024 08:07:56.735 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Jul-2024 08:07:56.735 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 05-Jul-2024 08:07:56.740 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-33787"] 05-Jul-2024 08:07:56.747 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@58ea606c] to web application [weaving]. 05-Jul-2024 08:07:56.755 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-33787"] 05-Jul-2024 08:07:56.756 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Jul-2024 08:07:56.756 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-33787"] 05-Jul-2024 08:07:56.757 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-33787"] 05-Jul-2024 08:07:56.761 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 05-Jul-2024 08:07:56.767 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 05-Jul-2024 08:07:56.774 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Jul-2024 08:07:56.775 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 05-Jul-2024 08:07:56.792 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41167"] 05-Jul-2024 08:07:56.793 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2898ac89] to web application [weaving]. 05-Jul-2024 08:07:56.793 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@683dbc2c] to web application [weaving]. 05-Jul-2024 08:07:56.809 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41167"] 05-Jul-2024 08:07:56.810 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Jul-2024 08:07:56.811 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41167"] 05-Jul-2024 08:07:56.813 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41167"] 05-Jul-2024 08:07:56.817 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 05-Jul-2024 08:07:56.823 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 05-Jul-2024 08:07:56.848 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Jul-2024 08:07:56.848 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 05-Jul-2024 08:07:56.853 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42005"] 05-Jul-2024 08:07:56.866 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@32910148] to web application [weaving]. 05-Jul-2024 08:07:56.866 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3f56875e] to web application [weaving]. 05-Jul-2024 08:07:56.870 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42005"] 05-Jul-2024 08:07:56.872 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Jul-2024 08:07:56.873 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42005"] 05-Jul-2024 08:07:56.873 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42005"] 05-Jul-2024 08:07:56.877 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 05-Jul-2024 08:07:56.879 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 05-Jul-2024 08:07:56.942 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Jul-2024 08:07:56.942 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 05-Jul-2024 08:07:56.953 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-34843"] 05-Jul-2024 08:07:56.954 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@186f8716] to web application [weaving]. 05-Jul-2024 08:07:56.954 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1d8bd0de] to web application [weaving]. 05-Jul-2024 08:07:56.957 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-34843"] 05-Jul-2024 08:07:56.959 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Jul-2024 08:07:56.960 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-34843"] 05-Jul-2024 08:07:56.960 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-34843"] 05-Jul-2024 08:07:56.964 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 05-Jul-2024 08:07:56.966 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 05-Jul-2024 08:07:56.978 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Jul-2024 08:07:56.978 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 05-Jul-2024 08:07:56.983 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-41743"] 05-Jul-2024 08:07:56.988 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-41743"] 05-Jul-2024 08:07:56.989 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Jul-2024 08:07:56.989 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-41743"] 05-Jul-2024 08:07:56.993 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-41743"] 05-Jul-2024 08:07:56.999 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 05-Jul-2024 08:07:57.001 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 05-Jul-2024 08:07:57.004 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Jul-2024 08:07:57.004 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 05-Jul-2024 08:07:57.010 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41965"] 05-Jul-2024 08:07:57.011 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2e1d27ba] to web application [weaving]. 05-Jul-2024 08:07:57.012 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2e1d27ba] from web application [weaving]. 05-Jul-2024 08:07:57.015 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41965"] 05-Jul-2024 08:07:57.020 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Jul-2024 08:07:57.020 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41965"] 05-Jul-2024 08:07:57.022 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41965"] 05-Jul-2024 08:07:57.027 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 05-Jul-2024 08:07:57.029 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 05-Jul-2024 08:07:57.072 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Jul-2024 08:07:57.072 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 05-Jul-2024 08:07:57.077 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36939"] 05-Jul-2024 08:07:57.078 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2892dae4] to web application [weaving]. 05-Jul-2024 08:07:57.078 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@355ce81c] to web application [weaving]. 05-Jul-2024 08:07:57.078 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@355ce81c] from web application [weaving]. 05-Jul-2024 08:07:57.081 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36939"] 05-Jul-2024 08:07:57.087 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Jul-2024 08:07:57.087 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36939"] 05-Jul-2024 08:07:57.088 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36939"] 05-Jul-2024 08:07:57.092 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 05-Jul-2024 08:07:57.093 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 05-Jul-2024 08:07:57.112 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Jul-2024 08:07:57.113 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 05-Jul-2024 08:07:57.124 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-46657"] 05-Jul-2024 08:07:57.128 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1f97cf0d] to web application [weaving]. 05-Jul-2024 08:07:57.128 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@140c9f39] to web application [weaving]. 05-Jul-2024 08:07:57.128 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@140c9f39] from web application [weaving]. 05-Jul-2024 08:07:57.131 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-46657"] 05-Jul-2024 08:07:57.134 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Jul-2024 08:07:57.134 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-46657"] 05-Jul-2024 08:07:57.135 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-46657"] ------------- ---------------- --------------- Testcase: testNoWeaving took 2.029 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.183 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.093 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.056 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.06 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.086 sec Testcase: testAddingNullTransformerThrowsException took 0.032 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.03 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.064 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.048 sec