Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.263 sec ------------- Standard Error ----------------- 25-Oct-2024 21:51:28.081 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 25-Oct-2024 21:51:29.302 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 25-Oct-2024 21:51:29.344 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 21:51:29.347 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 21:51:29.536 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-39437"] 25-Oct-2024 21:51:29.681 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-39437"] 25-Oct-2024 21:51:29.690 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 21:51:29.692 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-39437"] 25-Oct-2024 21:51:29.696 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-39437"] 25-Oct-2024 21:51:29.718 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 25-Oct-2024 21:51:29.720 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 25-Oct-2024 21:51:29.721 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 21:51:29.721 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 21:51:29.735 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-41369"] 25-Oct-2024 21:51:29.796 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2b48a640] to web application [weaving]. 25-Oct-2024 21:51:29.800 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-41369"] 25-Oct-2024 21:51:29.800 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 21:51:29.801 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-41369"] 25-Oct-2024 21:51:29.807 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-41369"] 25-Oct-2024 21:51:29.815 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 25-Oct-2024 21:51:29.819 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 25-Oct-2024 21:51:29.821 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 21:51:29.822 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 21:51:29.848 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-42859"] 25-Oct-2024 21:51:29.956 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@28f3b248] to web application [weaving]. 25-Oct-2024 21:51:29.961 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-42859"] 25-Oct-2024 21:51:29.965 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 21:51:29.966 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-42859"] 25-Oct-2024 21:51:29.970 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-42859"] 25-Oct-2024 21:51:29.975 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 25-Oct-2024 21:51:29.977 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 25-Oct-2024 21:51:29.986 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 21:51:29.987 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 21:51:30.004 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-40607"] 25-Oct-2024 21:51:30.068 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@156b88f5] to web application [weaving]. 25-Oct-2024 21:51:30.068 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3bf9ce3e] to web application [weaving]. 25-Oct-2024 21:51:30.079 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-40607"] 25-Oct-2024 21:51:30.080 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 21:51:30.080 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-40607"] 25-Oct-2024 21:51:30.101 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-40607"] 25-Oct-2024 21:51:30.103 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 25-Oct-2024 21:51:30.105 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 25-Oct-2024 21:51:30.106 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 21:51:30.107 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 21:51:30.116 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-42861"] 25-Oct-2024 21:51:30.231 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7205765b] to web application [weaving]. 25-Oct-2024 21:51:30.231 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@47987356] to web application [weaving]. 25-Oct-2024 21:51:30.235 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-42861"] 25-Oct-2024 21:51:30.243 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 21:51:30.244 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-42861"] 25-Oct-2024 21:51:30.252 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-42861"] 25-Oct-2024 21:51:30.259 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 25-Oct-2024 21:51:30.262 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 25-Oct-2024 21:51:30.262 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 21:51:30.265 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 21:51:30.285 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-33431"] 25-Oct-2024 21:51:30.391 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@58695725] to web application [weaving]. 25-Oct-2024 21:51:30.392 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@543588e6] to web application [weaving]. 25-Oct-2024 21:51:30.397 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-33431"] 25-Oct-2024 21:51:30.397 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 21:51:30.398 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-33431"] 25-Oct-2024 21:51:30.405 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-33431"] 25-Oct-2024 21:51:30.408 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 25-Oct-2024 21:51:30.432 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 25-Oct-2024 21:51:30.433 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 21:51:30.433 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 21:51:30.467 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-43219"] 25-Oct-2024 21:51:30.651 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-43219"] 25-Oct-2024 21:51:30.655 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 21:51:30.656 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-43219"] 25-Oct-2024 21:51:30.662 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-43219"] 25-Oct-2024 21:51:30.666 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 25-Oct-2024 21:51:30.667 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 25-Oct-2024 21:51:30.668 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 21:51:30.674 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 21:51:30.705 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-40591"] 25-Oct-2024 21:51:30.801 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3c7f66c4] to web application [weaving]. 25-Oct-2024 21:51:30.801 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3c7f66c4] from web application [weaving]. 25-Oct-2024 21:51:30.804 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-40591"] 25-Oct-2024 21:51:30.823 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 21:51:30.824 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-40591"] 25-Oct-2024 21:51:30.826 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-40591"] 25-Oct-2024 21:51:30.828 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 25-Oct-2024 21:51:30.829 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 25-Oct-2024 21:51:30.830 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 21:51:30.830 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 21:51:30.836 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-45453"] 25-Oct-2024 21:51:30.894 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7bab3f1a] to web application [weaving]. 25-Oct-2024 21:51:30.894 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@437da279] to web application [weaving]. 25-Oct-2024 21:51:30.894 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@437da279] from web application [weaving]. 25-Oct-2024 21:51:30.914 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-45453"] 25-Oct-2024 21:51:30.914 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 21:51:30.915 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-45453"] 25-Oct-2024 21:51:30.932 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-45453"] 25-Oct-2024 21:51:30.934 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 25-Oct-2024 21:51:30.936 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 25-Oct-2024 21:51:30.936 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Oct-2024 21:51:30.936 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 25-Oct-2024 21:51:30.963 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-44493"] 25-Oct-2024 21:51:30.993 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@27f981c6] to web application [weaving]. 25-Oct-2024 21:51:30.993 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1b11171f] to web application [weaving]. 25-Oct-2024 21:51:30.993 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1b11171f] from web application [weaving]. 25-Oct-2024 21:51:30.997 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-44493"] 25-Oct-2024 21:51:30.997 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Oct-2024 21:51:30.997 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-44493"] 25-Oct-2024 21:51:31.006 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-44493"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.785 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.092 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.16 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.131 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.155 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.15 sec Testcase: testAddingNullTransformerThrowsException took 0.258 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.161 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.105 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.075 sec