Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.872 sec ------------- Standard Error ----------------- 12-Jul-2024 16:11:44.372 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 12-Jul-2024 16:11:45.737 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 12-Jul-2024 16:11:45.797 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 16:11:45.806 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 16:11:46.149 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-35347"] 12-Jul-2024 16:11:46.300 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-35347"] 12-Jul-2024 16:11:46.304 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 16:11:46.305 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-35347"] 12-Jul-2024 16:11:46.309 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-35347"] 12-Jul-2024 16:11:46.316 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 12-Jul-2024 16:11:46.324 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 12-Jul-2024 16:11:46.325 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 16:11:46.325 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 16:11:46.335 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-40637"] 12-Jul-2024 16:11:46.368 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1757cd72] to web application [weaving]. 12-Jul-2024 16:11:46.373 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-40637"] 12-Jul-2024 16:11:46.373 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 16:11:46.373 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-40637"] 12-Jul-2024 16:11:46.377 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-40637"] 12-Jul-2024 16:11:46.379 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 12-Jul-2024 16:11:46.381 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 12-Jul-2024 16:11:46.382 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 16:11:46.382 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 16:11:46.399 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-44563"] 12-Jul-2024 16:11:46.428 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5c90e579] to web application [weaving]. 12-Jul-2024 16:11:46.432 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-44563"] 12-Jul-2024 16:11:46.435 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 16:11:46.435 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-44563"] 12-Jul-2024 16:11:46.441 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-44563"] 12-Jul-2024 16:11:46.443 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 12-Jul-2024 16:11:46.445 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 12-Jul-2024 16:11:46.447 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 16:11:46.450 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 16:11:46.455 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-44933"] 12-Jul-2024 16:11:46.473 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@d21a74c] to web application [weaving]. 12-Jul-2024 16:11:46.473 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6e509ffa] to web application [weaving]. 12-Jul-2024 16:11:46.479 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-44933"] 12-Jul-2024 16:11:46.481 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 16:11:46.482 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-44933"] 12-Jul-2024 16:11:46.488 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-44933"] 12-Jul-2024 16:11:46.493 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 12-Jul-2024 16:11:46.497 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 12-Jul-2024 16:11:46.502 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 16:11:46.503 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 16:11:46.519 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-33327"] 12-Jul-2024 16:11:46.532 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@394a2528] to web application [weaving]. 12-Jul-2024 16:11:46.532 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6236eb5f] to web application [weaving]. 12-Jul-2024 16:11:46.543 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-33327"] 12-Jul-2024 16:11:46.543 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 16:11:46.543 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-33327"] 12-Jul-2024 16:11:46.545 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-33327"] 12-Jul-2024 16:11:46.559 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 12-Jul-2024 16:11:46.561 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 12-Jul-2024 16:11:46.562 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 16:11:46.562 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 16:11:46.574 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-34653"] 12-Jul-2024 16:11:46.600 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@65b3f4a4] to web application [weaving]. 12-Jul-2024 16:11:46.600 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@f2ff811] to web application [weaving]. 12-Jul-2024 16:11:46.604 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-34653"] 12-Jul-2024 16:11:46.607 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 16:11:46.607 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-34653"] 12-Jul-2024 16:11:46.626 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-34653"] 12-Jul-2024 16:11:46.627 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 12-Jul-2024 16:11:46.639 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 12-Jul-2024 16:11:46.641 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 16:11:46.641 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 16:11:46.671 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-41559"] 12-Jul-2024 16:11:46.686 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-41559"] 12-Jul-2024 16:11:46.692 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 16:11:46.693 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-41559"] 12-Jul-2024 16:11:46.699 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-41559"] 12-Jul-2024 16:11:46.701 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 12-Jul-2024 16:11:46.705 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 12-Jul-2024 16:11:46.707 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 16:11:46.707 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 16:11:46.717 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-36707"] 12-Jul-2024 16:11:46.724 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@68e965f5] to web application [weaving]. 12-Jul-2024 16:11:46.724 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@68e965f5] from web application [weaving]. 12-Jul-2024 16:11:46.728 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-36707"] 12-Jul-2024 16:11:46.731 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 16:11:46.731 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-36707"] 12-Jul-2024 16:11:46.733 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-36707"] 12-Jul-2024 16:11:46.736 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 12-Jul-2024 16:11:46.737 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 12-Jul-2024 16:11:46.738 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 16:11:46.738 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 16:11:46.755 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-37993"] 12-Jul-2024 16:11:46.784 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5939a379] to web application [weaving]. 12-Jul-2024 16:11:46.784 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@e1de817] to web application [weaving]. 12-Jul-2024 16:11:46.784 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@e1de817] from web application [weaving]. 12-Jul-2024 16:11:46.787 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-37993"] 12-Jul-2024 16:11:46.788 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 16:11:46.789 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-37993"] 12-Jul-2024 16:11:46.792 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-37993"] 12-Jul-2024 16:11:46.798 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 12-Jul-2024 16:11:46.799 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 12-Jul-2024 16:11:46.800 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 16:11:46.800 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 16:11:46.814 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-38805"] 12-Jul-2024 16:11:46.865 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@62e7f11d] to web application [weaving]. 12-Jul-2024 16:11:46.866 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@503d687a] to web application [weaving]. 12-Jul-2024 16:11:46.866 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@503d687a] from web application [weaving]. 12-Jul-2024 16:11:46.869 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-38805"] 12-Jul-2024 16:11:46.872 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 16:11:46.872 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-38805"] 12-Jul-2024 16:11:46.875 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-38805"] ------------- ---------------- --------------- Testcase: testNoWeaving took 2.119 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.064 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.064 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.048 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.061 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.073 sec Testcase: testAddingNullTransformerThrowsException took 0.073 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.035 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.062 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.078 sec