Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.734 sec ------------- Standard Error ----------------- 25-Nov-2024 12:39:04.289 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 25-Nov-2024 12:39:05.186 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 25-Nov-2024 12:39:05.283 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Nov-2024 12:39:05.284 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 25-Nov-2024 12:39:05.606 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-43763"] 25-Nov-2024 12:39:05.717 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-43763"] 25-Nov-2024 12:39:05.722 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Nov-2024 12:39:05.723 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-43763"] 25-Nov-2024 12:39:05.732 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-43763"] 25-Nov-2024 12:39:05.759 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 25-Nov-2024 12:39:05.764 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 25-Nov-2024 12:39:05.765 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Nov-2024 12:39:05.766 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 25-Nov-2024 12:39:05.786 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-35815"] 25-Nov-2024 12:39:05.886 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3af9c5b7] to web application [weaving]. 25-Nov-2024 12:39:05.890 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-35815"] 25-Nov-2024 12:39:05.890 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Nov-2024 12:39:05.890 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-35815"] 25-Nov-2024 12:39:05.898 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-35815"] 25-Nov-2024 12:39:05.900 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 25-Nov-2024 12:39:05.902 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 25-Nov-2024 12:39:05.902 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Nov-2024 12:39:05.907 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 25-Nov-2024 12:39:05.933 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-45975"] 25-Nov-2024 12:39:06.048 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@424e1977] to web application [weaving]. 25-Nov-2024 12:39:06.052 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-45975"] 25-Nov-2024 12:39:06.052 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Nov-2024 12:39:06.052 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-45975"] 25-Nov-2024 12:39:06.065 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-45975"] 25-Nov-2024 12:39:06.068 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 25-Nov-2024 12:39:06.074 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 25-Nov-2024 12:39:06.087 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Nov-2024 12:39:06.088 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 25-Nov-2024 12:39:06.094 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-35281"] 25-Nov-2024 12:39:06.174 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@548e6d58] to web application [weaving]. 25-Nov-2024 12:39:06.175 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@623a8092] to web application [weaving]. 25-Nov-2024 12:39:06.181 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-35281"] 25-Nov-2024 12:39:06.182 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Nov-2024 12:39:06.182 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-35281"] 25-Nov-2024 12:39:06.199 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-35281"] 25-Nov-2024 12:39:06.201 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 25-Nov-2024 12:39:06.202 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 25-Nov-2024 12:39:06.203 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Nov-2024 12:39:06.203 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 25-Nov-2024 12:39:06.223 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-45973"] 25-Nov-2024 12:39:06.234 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3e96bacf] to web application [weaving]. 25-Nov-2024 12:39:06.234 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@484970b0] to web application [weaving]. 25-Nov-2024 12:39:06.237 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-45973"] 25-Nov-2024 12:39:06.238 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Nov-2024 12:39:06.238 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-45973"] 25-Nov-2024 12:39:06.240 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-45973"] 25-Nov-2024 12:39:06.249 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 25-Nov-2024 12:39:06.250 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 25-Nov-2024 12:39:06.251 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Nov-2024 12:39:06.251 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 25-Nov-2024 12:39:06.258 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-35559"] 25-Nov-2024 12:39:06.325 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@757acd7b] to web application [weaving]. 25-Nov-2024 12:39:06.325 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@36b4fe2a] to web application [weaving]. 25-Nov-2024 12:39:06.329 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-35559"] 25-Nov-2024 12:39:06.329 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Nov-2024 12:39:06.329 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-35559"] 25-Nov-2024 12:39:06.333 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-35559"] 25-Nov-2024 12:39:06.334 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 25-Nov-2024 12:39:06.336 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 25-Nov-2024 12:39:06.336 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Nov-2024 12:39:06.337 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 25-Nov-2024 12:39:06.351 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-46385"] 25-Nov-2024 12:39:06.489 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-46385"] 25-Nov-2024 12:39:06.492 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Nov-2024 12:39:06.492 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-46385"] 25-Nov-2024 12:39:06.498 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-46385"] 25-Nov-2024 12:39:06.500 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 25-Nov-2024 12:39:06.501 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 25-Nov-2024 12:39:06.504 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Nov-2024 12:39:06.504 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 25-Nov-2024 12:39:06.536 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-32871"] 25-Nov-2024 12:39:06.637 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@152aa092] to web application [weaving]. 25-Nov-2024 12:39:06.637 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@152aa092] from web application [weaving]. 25-Nov-2024 12:39:06.641 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-32871"] 25-Nov-2024 12:39:06.641 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Nov-2024 12:39:06.642 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-32871"] 25-Nov-2024 12:39:06.645 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-32871"] 25-Nov-2024 12:39:06.647 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 25-Nov-2024 12:39:06.648 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 25-Nov-2024 12:39:06.649 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Nov-2024 12:39:06.649 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 25-Nov-2024 12:39:06.663 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-40213"] 25-Nov-2024 12:39:06.755 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3315d2d7] to web application [weaving]. 25-Nov-2024 12:39:06.755 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@d6e7bab] to web application [weaving]. 25-Nov-2024 12:39:06.755 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@d6e7bab] from web application [weaving]. 25-Nov-2024 12:39:06.768 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-40213"] 25-Nov-2024 12:39:06.771 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Nov-2024 12:39:06.771 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-40213"] 25-Nov-2024 12:39:06.775 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-40213"] 25-Nov-2024 12:39:06.776 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 25-Nov-2024 12:39:06.778 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 25-Nov-2024 12:39:06.782 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Nov-2024 12:39:06.782 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 25-Nov-2024 12:39:06.794 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-33337"] 25-Nov-2024 12:39:06.843 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4d910fd6] to web application [weaving]. 25-Nov-2024 12:39:06.843 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@26275bef] to web application [weaving]. 25-Nov-2024 12:39:06.843 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@26275bef] from web application [weaving]. 25-Nov-2024 12:39:06.847 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-33337"] 25-Nov-2024 12:39:06.848 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Nov-2024 12:39:06.848 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-33337"] 25-Nov-2024 12:39:06.851 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-33337"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.544 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.14 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.168 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.133 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.048 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.085 sec Testcase: testAddingNullTransformerThrowsException took 0.165 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.147 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.13 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.076 sec