Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.527 sec ------------- Standard Error ----------------- 29-Aug-2024 20:03:41.116 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 29-Aug-2024 20:03:42.771 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 29-Aug-2024 20:03:43.020 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Aug-2024 20:03:43.020 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 29-Aug-2024 20:03:43.362 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-42155"] 29-Aug-2024 20:03:43.405 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-42155"] 29-Aug-2024 20:03:43.426 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Aug-2024 20:03:43.429 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-42155"] 29-Aug-2024 20:03:43.433 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-42155"] 29-Aug-2024 20:03:43.459 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 29-Aug-2024 20:03:43.461 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 29-Aug-2024 20:03:43.481 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Aug-2024 20:03:43.482 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 29-Aug-2024 20:03:43.487 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-32845"] 29-Aug-2024 20:03:43.488 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@687e99d8] to web application [weaving]. 29-Aug-2024 20:03:43.492 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-32845"] 29-Aug-2024 20:03:43.493 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Aug-2024 20:03:43.493 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-32845"] 29-Aug-2024 20:03:43.494 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-32845"] 29-Aug-2024 20:03:43.497 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 29-Aug-2024 20:03:43.500 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 29-Aug-2024 20:03:43.546 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Aug-2024 20:03:43.546 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 29-Aug-2024 20:03:43.568 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-41209"] 29-Aug-2024 20:03:43.573 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@291b4bf5] to web application [weaving]. 29-Aug-2024 20:03:43.577 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-41209"] 29-Aug-2024 20:03:43.578 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Aug-2024 20:03:43.578 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-41209"] 29-Aug-2024 20:03:43.578 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-41209"] 29-Aug-2024 20:03:43.596 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 29-Aug-2024 20:03:43.598 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 29-Aug-2024 20:03:43.648 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Aug-2024 20:03:43.648 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 29-Aug-2024 20:03:43.664 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-45225"] 29-Aug-2024 20:03:43.665 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6a2b953e] to web application [weaving]. 29-Aug-2024 20:03:43.665 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@313b2ea6] to web application [weaving]. 29-Aug-2024 20:03:43.692 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-45225"] 29-Aug-2024 20:03:43.695 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Aug-2024 20:03:43.695 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-45225"] 29-Aug-2024 20:03:43.697 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-45225"] 29-Aug-2024 20:03:43.701 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 29-Aug-2024 20:03:43.708 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 29-Aug-2024 20:03:43.725 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Aug-2024 20:03:43.725 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 29-Aug-2024 20:03:43.741 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42529"] 29-Aug-2024 20:03:43.742 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3e96bacf] to web application [weaving]. 29-Aug-2024 20:03:43.742 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@484970b0] to web application [weaving]. 29-Aug-2024 20:03:43.746 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42529"] 29-Aug-2024 20:03:43.747 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Aug-2024 20:03:43.749 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42529"] 29-Aug-2024 20:03:43.750 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42529"] 29-Aug-2024 20:03:43.754 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 29-Aug-2024 20:03:43.757 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 29-Aug-2024 20:03:43.835 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Aug-2024 20:03:43.836 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 29-Aug-2024 20:03:43.853 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40701"] 29-Aug-2024 20:03:43.861 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@36b4fe2a] to web application [weaving]. 29-Aug-2024 20:03:43.861 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@574b560f] to web application [weaving]. 29-Aug-2024 20:03:43.864 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40701"] 29-Aug-2024 20:03:43.869 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Aug-2024 20:03:43.870 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40701"] 29-Aug-2024 20:03:43.872 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40701"] 29-Aug-2024 20:03:43.878 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 29-Aug-2024 20:03:43.882 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 29-Aug-2024 20:03:43.905 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Aug-2024 20:03:43.906 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 29-Aug-2024 20:03:43.912 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-37705"] 29-Aug-2024 20:03:43.916 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-37705"] 29-Aug-2024 20:03:43.921 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Aug-2024 20:03:43.921 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-37705"] 29-Aug-2024 20:03:43.922 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-37705"] 29-Aug-2024 20:03:43.930 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 29-Aug-2024 20:03:43.932 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 29-Aug-2024 20:03:43.940 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Aug-2024 20:03:43.940 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 29-Aug-2024 20:03:43.964 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-43887"] 29-Aug-2024 20:03:43.965 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@44a7bfbc] to web application [weaving]. 29-Aug-2024 20:03:43.965 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@44a7bfbc] from web application [weaving]. 29-Aug-2024 20:03:43.968 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-43887"] 29-Aug-2024 20:03:43.969 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Aug-2024 20:03:43.969 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-43887"] 29-Aug-2024 20:03:43.970 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-43887"] 29-Aug-2024 20:03:43.973 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 29-Aug-2024 20:03:43.975 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 29-Aug-2024 20:03:43.980 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Aug-2024 20:03:43.980 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 29-Aug-2024 20:03:43.995 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41369"] 29-Aug-2024 20:03:43.996 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5fa07e12] to web application [weaving]. 29-Aug-2024 20:03:43.996 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@55b53d44] to web application [weaving]. 29-Aug-2024 20:03:43.996 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@55b53d44] from web application [weaving]. 29-Aug-2024 20:03:44.002 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41369"] 29-Aug-2024 20:03:44.003 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Aug-2024 20:03:44.004 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41369"] 29-Aug-2024 20:03:44.004 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41369"] 29-Aug-2024 20:03:44.007 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 29-Aug-2024 20:03:44.010 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 29-Aug-2024 20:03:44.124 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Aug-2024 20:03:44.124 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 29-Aug-2024 20:03:44.133 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-33545"] 29-Aug-2024 20:03:44.141 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@77eca502] to web application [weaving]. 29-Aug-2024 20:03:44.141 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3246fb96] to web application [weaving]. 29-Aug-2024 20:03:44.141 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3246fb96] from web application [weaving]. 29-Aug-2024 20:03:44.144 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-33545"] 29-Aug-2024 20:03:44.147 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Aug-2024 20:03:44.147 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-33545"] 29-Aug-2024 20:03:44.148 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-33545"] ------------- ---------------- --------------- Testcase: testNoWeaving took 2.615 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.039 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.099 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.105 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.051 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.125 sec Testcase: testAddingNullTransformerThrowsException took 0.053 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.043 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.034 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.143 sec