Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.065 sec ------------- Standard Error ----------------- 14-Oct-2024 13:42:02.585 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 14-Oct-2024 13:42:03.781 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 14-Oct-2024 13:42:03.991 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Oct-2024 13:42:03.997 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 14-Oct-2024 13:42:04.236 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-45753"] 14-Oct-2024 13:42:04.318 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-45753"] 14-Oct-2024 13:42:04.326 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Oct-2024 13:42:04.327 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-45753"] 14-Oct-2024 13:42:04.336 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-45753"] 14-Oct-2024 13:42:04.345 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 14-Oct-2024 13:42:04.350 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 14-Oct-2024 13:42:04.387 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Oct-2024 13:42:04.388 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 14-Oct-2024 13:42:04.410 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-34951"] 14-Oct-2024 13:42:04.413 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@687e99d8] to web application [weaving]. 14-Oct-2024 13:42:04.418 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-34951"] 14-Oct-2024 13:42:04.421 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Oct-2024 13:42:04.421 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-34951"] 14-Oct-2024 13:42:04.422 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-34951"] 14-Oct-2024 13:42:04.427 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 14-Oct-2024 13:42:04.431 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 14-Oct-2024 13:42:04.538 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Oct-2024 13:42:04.539 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 14-Oct-2024 13:42:04.572 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-39245"] 14-Oct-2024 13:42:04.583 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@291b4bf5] to web application [weaving]. 14-Oct-2024 13:42:04.587 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-39245"] 14-Oct-2024 13:42:04.588 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Oct-2024 13:42:04.590 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-39245"] 14-Oct-2024 13:42:04.590 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-39245"] 14-Oct-2024 13:42:04.596 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 14-Oct-2024 13:42:04.597 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 14-Oct-2024 13:42:04.680 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Oct-2024 13:42:04.680 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 14-Oct-2024 13:42:04.695 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-43749"] 14-Oct-2024 13:42:04.717 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6a2b953e] to web application [weaving]. 14-Oct-2024 13:42:04.717 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@313b2ea6] to web application [weaving]. 14-Oct-2024 13:42:04.723 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-43749"] 14-Oct-2024 13:42:04.724 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Oct-2024 13:42:04.724 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-43749"] 14-Oct-2024 13:42:04.725 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-43749"] 14-Oct-2024 13:42:04.728 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 14-Oct-2024 13:42:04.741 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 14-Oct-2024 13:42:04.865 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Oct-2024 13:42:04.865 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 14-Oct-2024 13:42:04.878 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-46433"] 14-Oct-2024 13:42:04.889 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3e96bacf] to web application [weaving]. 14-Oct-2024 13:42:04.890 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@484970b0] to web application [weaving]. 14-Oct-2024 13:42:04.897 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-46433"] 14-Oct-2024 13:42:04.901 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Oct-2024 13:42:04.901 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-46433"] 14-Oct-2024 13:42:04.903 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-46433"] 14-Oct-2024 13:42:04.912 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 14-Oct-2024 13:42:04.916 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 14-Oct-2024 13:42:04.984 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Oct-2024 13:42:04.984 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 14-Oct-2024 13:42:05.007 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45877"] 14-Oct-2024 13:42:05.015 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@36b4fe2a] to web application [weaving]. 14-Oct-2024 13:42:05.015 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@574b560f] to web application [weaving]. 14-Oct-2024 13:42:05.019 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45877"] 14-Oct-2024 13:42:05.021 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Oct-2024 13:42:05.022 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45877"] 14-Oct-2024 13:42:05.022 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45877"] 14-Oct-2024 13:42:05.026 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 14-Oct-2024 13:42:05.027 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 14-Oct-2024 13:42:05.060 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Oct-2024 13:42:05.061 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 14-Oct-2024 13:42:05.068 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-35801"] 14-Oct-2024 13:42:05.077 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-35801"] 14-Oct-2024 13:42:05.081 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Oct-2024 13:42:05.082 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-35801"] 14-Oct-2024 13:42:05.086 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-35801"] 14-Oct-2024 13:42:05.096 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 14-Oct-2024 13:42:05.098 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 14-Oct-2024 13:42:05.118 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Oct-2024 13:42:05.118 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 14-Oct-2024 13:42:05.126 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-35155"] 14-Oct-2024 13:42:05.126 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@44a7bfbc] to web application [weaving]. 14-Oct-2024 13:42:05.127 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@44a7bfbc] from web application [weaving]. 14-Oct-2024 13:42:05.130 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-35155"] 14-Oct-2024 13:42:05.130 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Oct-2024 13:42:05.131 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-35155"] 14-Oct-2024 13:42:05.131 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-35155"] 14-Oct-2024 13:42:05.134 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 14-Oct-2024 13:42:05.135 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 14-Oct-2024 13:42:05.139 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Oct-2024 13:42:05.139 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 14-Oct-2024 13:42:05.149 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-34487"] 14-Oct-2024 13:42:05.155 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5fa07e12] to web application [weaving]. 14-Oct-2024 13:42:05.155 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@55b53d44] to web application [weaving]. 14-Oct-2024 13:42:05.155 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@55b53d44] from web application [weaving]. 14-Oct-2024 13:42:05.159 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-34487"] 14-Oct-2024 13:42:05.160 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Oct-2024 13:42:05.160 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-34487"] 14-Oct-2024 13:42:05.160 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-34487"] 14-Oct-2024 13:42:05.164 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 14-Oct-2024 13:42:05.168 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 14-Oct-2024 13:42:05.225 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Oct-2024 13:42:05.226 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 14-Oct-2024 13:42:05.232 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36293"] 14-Oct-2024 13:42:05.237 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@77eca502] to web application [weaving]. 14-Oct-2024 13:42:05.238 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3246fb96] to web application [weaving]. 14-Oct-2024 13:42:05.238 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3246fb96] from web application [weaving]. 14-Oct-2024 13:42:05.241 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36293"] 14-Oct-2024 13:42:05.242 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Oct-2024 13:42:05.242 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36293"] 14-Oct-2024 13:42:05.243 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36293"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.987 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.082 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.169 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.133 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.18 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.117 sec Testcase: testAddingNullTransformerThrowsException took 0.07 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.037 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.03 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.082 sec