Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.975 sec ------------- Standard Error ----------------- 18-Nov-2024 14:58:09.804 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 18-Nov-2024 14:58:10.928 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 18-Nov-2024 14:58:10.982 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Nov-2024 14:58:10.983 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 18-Nov-2024 14:58:11.281 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-37689"] 18-Nov-2024 14:58:11.398 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-37689"] 18-Nov-2024 14:58:11.409 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Nov-2024 14:58:11.410 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-37689"] 18-Nov-2024 14:58:11.419 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-37689"] 18-Nov-2024 14:58:11.448 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 18-Nov-2024 14:58:11.450 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 18-Nov-2024 14:58:11.461 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Nov-2024 14:58:11.462 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 18-Nov-2024 14:58:11.489 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-33369"] 18-Nov-2024 14:58:11.574 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3af9c5b7] to web application [weaving]. 18-Nov-2024 14:58:11.578 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-33369"] 18-Nov-2024 14:58:11.579 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Nov-2024 14:58:11.591 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-33369"] 18-Nov-2024 14:58:11.607 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-33369"] 18-Nov-2024 14:58:11.609 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 18-Nov-2024 14:58:11.614 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 18-Nov-2024 14:58:11.616 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Nov-2024 14:58:11.616 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 18-Nov-2024 14:58:11.660 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-33511"] 18-Nov-2024 14:58:11.708 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@424e1977] to web application [weaving]. 18-Nov-2024 14:58:11.717 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-33511"] 18-Nov-2024 14:58:11.717 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Nov-2024 14:58:11.717 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-33511"] 18-Nov-2024 14:58:11.723 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-33511"] 18-Nov-2024 14:58:11.725 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 18-Nov-2024 14:58:11.726 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 18-Nov-2024 14:58:11.727 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Nov-2024 14:58:11.728 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 18-Nov-2024 14:58:11.738 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-36847"] 18-Nov-2024 14:58:11.773 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@548e6d58] to web application [weaving]. 18-Nov-2024 14:58:11.774 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@623a8092] to web application [weaving]. 18-Nov-2024 14:58:11.793 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-36847"] 18-Nov-2024 14:58:11.795 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Nov-2024 14:58:11.795 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-36847"] 18-Nov-2024 14:58:11.799 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-36847"] 18-Nov-2024 14:58:11.801 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 18-Nov-2024 14:58:11.805 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 18-Nov-2024 14:58:11.806 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Nov-2024 14:58:11.807 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 18-Nov-2024 14:58:11.812 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-45289"] 18-Nov-2024 14:58:11.888 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3e96bacf] to web application [weaving]. 18-Nov-2024 14:58:11.888 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@484970b0] to web application [weaving]. 18-Nov-2024 14:58:11.894 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-45289"] 18-Nov-2024 14:58:11.894 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Nov-2024 14:58:11.894 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-45289"] 18-Nov-2024 14:58:11.897 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-45289"] 18-Nov-2024 14:58:11.900 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 18-Nov-2024 14:58:11.904 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 18-Nov-2024 14:58:11.905 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Nov-2024 14:58:11.905 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 18-Nov-2024 14:58:11.915 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-41101"] 18-Nov-2024 14:58:11.968 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@757acd7b] to web application [weaving]. 18-Nov-2024 14:58:11.969 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@36b4fe2a] to web application [weaving]. 18-Nov-2024 14:58:11.973 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-41101"] 18-Nov-2024 14:58:11.973 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Nov-2024 14:58:11.974 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-41101"] 18-Nov-2024 14:58:11.975 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-41101"] 18-Nov-2024 14:58:11.977 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 18-Nov-2024 14:58:11.978 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 18-Nov-2024 14:58:11.979 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Nov-2024 14:58:11.980 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 18-Nov-2024 14:58:12.011 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-37863"] 18-Nov-2024 14:58:12.071 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-37863"] 18-Nov-2024 14:58:12.074 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Nov-2024 14:58:12.075 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-37863"] 18-Nov-2024 14:58:12.077 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-37863"] 18-Nov-2024 14:58:12.079 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 18-Nov-2024 14:58:12.080 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 18-Nov-2024 14:58:12.081 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Nov-2024 14:58:12.081 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 18-Nov-2024 14:58:12.107 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-37739"] 18-Nov-2024 14:58:12.260 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@152aa092] to web application [weaving]. 18-Nov-2024 14:58:12.260 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@152aa092] from web application [weaving]. 18-Nov-2024 14:58:12.267 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-37739"] 18-Nov-2024 14:58:12.267 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Nov-2024 14:58:12.267 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-37739"] 18-Nov-2024 14:58:12.278 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-37739"] 18-Nov-2024 14:58:12.280 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 18-Nov-2024 14:58:12.281 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 18-Nov-2024 14:58:12.282 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Nov-2024 14:58:12.282 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 18-Nov-2024 14:58:12.294 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-42737"] 18-Nov-2024 14:58:12.380 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3315d2d7] to web application [weaving]. 18-Nov-2024 14:58:12.380 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@d6e7bab] to web application [weaving]. 18-Nov-2024 14:58:12.380 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@d6e7bab] from web application [weaving]. 18-Nov-2024 14:58:12.384 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-42737"] 18-Nov-2024 14:58:12.384 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Nov-2024 14:58:12.385 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-42737"] 18-Nov-2024 14:58:12.388 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-42737"] 18-Nov-2024 14:58:12.391 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 18-Nov-2024 14:58:12.392 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 18-Nov-2024 14:58:12.393 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Nov-2024 14:58:12.393 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 18-Nov-2024 14:58:12.400 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-36449"] 18-Nov-2024 14:58:12.438 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4d910fd6] to web application [weaving]. 18-Nov-2024 14:58:12.439 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@26275bef] to web application [weaving]. 18-Nov-2024 14:58:12.439 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@26275bef] from web application [weaving]. 18-Nov-2024 14:58:12.442 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-36449"] 18-Nov-2024 14:58:12.442 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Nov-2024 14:58:12.443 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-36449"] 18-Nov-2024 14:58:12.445 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-36449"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.819 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.16 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.115 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.076 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.099 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.076 sec Testcase: testAddingNullTransformerThrowsException took 0.101 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.2 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.11 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.056 sec