Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.81 sec ------------- Standard Error ----------------- 28-Oct-2024 22:48:39.907 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 28-Oct-2024 22:48:41.074 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 28-Oct-2024 22:48:41.279 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Oct-2024 22:48:41.280 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 28-Oct-2024 22:48:41.480 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-46881"] 28-Oct-2024 22:48:41.524 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-46881"] 28-Oct-2024 22:48:41.538 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Oct-2024 22:48:41.544 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-46881"] 28-Oct-2024 22:48:41.547 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-46881"] 28-Oct-2024 22:48:41.573 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 28-Oct-2024 22:48:41.580 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 28-Oct-2024 22:48:41.589 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Oct-2024 22:48:41.589 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 28-Oct-2024 22:48:41.600 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40323"] 28-Oct-2024 22:48:41.608 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1e683a3e] to web application [weaving]. 28-Oct-2024 22:48:41.620 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40323"] 28-Oct-2024 22:48:41.624 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Oct-2024 22:48:41.624 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40323"] 28-Oct-2024 22:48:41.636 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40323"] 28-Oct-2024 22:48:41.641 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 28-Oct-2024 22:48:41.655 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 28-Oct-2024 22:48:41.666 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Oct-2024 22:48:41.666 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 28-Oct-2024 22:48:41.675 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-33535"] 28-Oct-2024 22:48:41.678 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6d4e5011] to web application [weaving]. 28-Oct-2024 22:48:41.682 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-33535"] 28-Oct-2024 22:48:41.683 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Oct-2024 22:48:41.683 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-33535"] 28-Oct-2024 22:48:41.689 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-33535"] 28-Oct-2024 22:48:41.697 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 28-Oct-2024 22:48:41.699 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 28-Oct-2024 22:48:41.757 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Oct-2024 22:48:41.757 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 28-Oct-2024 22:48:41.761 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-37753"] 28-Oct-2024 22:48:41.762 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5562c41e] to web application [weaving]. 28-Oct-2024 22:48:41.763 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@32ee6fee] to web application [weaving]. 28-Oct-2024 22:48:41.767 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-37753"] 28-Oct-2024 22:48:41.778 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Oct-2024 22:48:41.779 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-37753"] 28-Oct-2024 22:48:41.780 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-37753"] 28-Oct-2024 22:48:41.791 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 28-Oct-2024 22:48:41.792 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 28-Oct-2024 22:48:41.863 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Oct-2024 22:48:41.864 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 28-Oct-2024 22:48:41.871 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-46423"] 28-Oct-2024 22:48:41.874 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1a18644] to web application [weaving]. 28-Oct-2024 22:48:41.874 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5acf93bb] to web application [weaving]. 28-Oct-2024 22:48:41.878 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-46423"] 28-Oct-2024 22:48:41.882 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Oct-2024 22:48:41.882 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-46423"] 28-Oct-2024 22:48:41.884 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-46423"] 28-Oct-2024 22:48:41.887 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 28-Oct-2024 22:48:41.889 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 28-Oct-2024 22:48:41.962 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Oct-2024 22:48:41.962 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 28-Oct-2024 22:48:41.976 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-43701"] 28-Oct-2024 22:48:41.985 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@306e95ec] to web application [weaving]. 28-Oct-2024 22:48:41.985 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@52af26ee] to web application [weaving]. 28-Oct-2024 22:48:41.989 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-43701"] 28-Oct-2024 22:48:41.990 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Oct-2024 22:48:41.991 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-43701"] 28-Oct-2024 22:48:41.992 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-43701"] 28-Oct-2024 22:48:41.997 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 28-Oct-2024 22:48:41.998 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 28-Oct-2024 22:48:42.091 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Oct-2024 22:48:42.091 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 28-Oct-2024 22:48:42.100 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-34333"] 28-Oct-2024 22:48:42.115 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-34333"] 28-Oct-2024 22:48:42.116 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Oct-2024 22:48:42.117 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-34333"] 28-Oct-2024 22:48:42.117 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-34333"] 28-Oct-2024 22:48:42.120 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 28-Oct-2024 22:48:42.121 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 28-Oct-2024 22:48:42.175 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Oct-2024 22:48:42.175 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 28-Oct-2024 22:48:42.190 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36559"] 28-Oct-2024 22:48:42.198 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@36916eb0] to web application [weaving]. 28-Oct-2024 22:48:42.199 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@36916eb0] from web application [weaving]. 28-Oct-2024 22:48:42.202 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36559"] 28-Oct-2024 22:48:42.213 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Oct-2024 22:48:42.213 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36559"] 28-Oct-2024 22:48:42.218 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36559"] 28-Oct-2024 22:48:42.222 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 28-Oct-2024 22:48:42.225 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 28-Oct-2024 22:48:42.248 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Oct-2024 22:48:42.248 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 28-Oct-2024 22:48:42.261 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41867"] 28-Oct-2024 22:48:42.267 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1b11171f] to web application [weaving]. 28-Oct-2024 22:48:42.267 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1151e434] to web application [weaving]. 28-Oct-2024 22:48:42.268 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1151e434] from web application [weaving]. 28-Oct-2024 22:48:42.271 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41867"] 28-Oct-2024 22:48:42.272 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Oct-2024 22:48:42.272 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41867"] 28-Oct-2024 22:48:42.272 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41867"] 28-Oct-2024 22:48:42.276 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 28-Oct-2024 22:48:42.277 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 28-Oct-2024 22:48:42.394 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Oct-2024 22:48:42.394 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 28-Oct-2024 22:48:42.406 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42315"] 28-Oct-2024 22:48:42.415 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@783a467b] to web application [weaving]. 28-Oct-2024 22:48:42.416 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@272113c4] to web application [weaving]. 28-Oct-2024 22:48:42.416 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@272113c4] from web application [weaving]. 28-Oct-2024 22:48:42.419 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42315"] 28-Oct-2024 22:48:42.420 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Oct-2024 22:48:42.420 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42315"] 28-Oct-2024 22:48:42.421 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42315"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.801 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.068 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.056 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.093 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.096 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.109 sec Testcase: testAddingNullTransformerThrowsException took 0.124 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.102 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.053 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.151 sec