Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.165 sec ------------- Standard Error ----------------- 14-Nov-2024 15:25:33.830 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 14-Nov-2024 15:25:35.149 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 14-Nov-2024 15:25:35.270 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Nov-2024 15:25:35.270 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 14-Nov-2024 15:25:35.516 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-44093"] 14-Nov-2024 15:25:35.562 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-44093"] 14-Nov-2024 15:25:35.571 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Nov-2024 15:25:35.575 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-44093"] 14-Nov-2024 15:25:35.578 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-44093"] 14-Nov-2024 15:25:35.590 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 14-Nov-2024 15:25:35.597 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 14-Nov-2024 15:25:35.740 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Nov-2024 15:25:35.740 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 14-Nov-2024 15:25:35.752 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-44137"] 14-Nov-2024 15:25:35.772 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@37271612] to web application [weaving]. 14-Nov-2024 15:25:35.775 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-44137"] 14-Nov-2024 15:25:35.777 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Nov-2024 15:25:35.778 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-44137"] 14-Nov-2024 15:25:35.782 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-44137"] 14-Nov-2024 15:25:35.790 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 14-Nov-2024 15:25:35.792 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 14-Nov-2024 15:25:35.826 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Nov-2024 15:25:35.826 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 14-Nov-2024 15:25:35.867 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-33293"] 14-Nov-2024 15:25:35.878 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@117e949d] to web application [weaving]. 14-Nov-2024 15:25:35.882 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-33293"] 14-Nov-2024 15:25:35.883 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Nov-2024 15:25:35.883 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-33293"] 14-Nov-2024 15:25:35.884 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-33293"] 14-Nov-2024 15:25:35.888 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 14-Nov-2024 15:25:35.889 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 14-Nov-2024 15:25:35.944 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Nov-2024 15:25:35.944 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 14-Nov-2024 15:25:35.960 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-43457"] 14-Nov-2024 15:25:35.965 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@175b9425] to web application [weaving]. 14-Nov-2024 15:25:35.976 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3098cf3b] to web application [weaving]. 14-Nov-2024 15:25:35.988 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-43457"] 14-Nov-2024 15:25:35.989 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Nov-2024 15:25:35.991 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-43457"] 14-Nov-2024 15:25:35.992 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-43457"] 14-Nov-2024 15:25:35.998 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 14-Nov-2024 15:25:36.000 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 14-Nov-2024 15:25:36.081 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Nov-2024 15:25:36.081 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 14-Nov-2024 15:25:36.086 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-34045"] 14-Nov-2024 15:25:36.087 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@37f1104d] to web application [weaving]. 14-Nov-2024 15:25:36.087 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@55740540] to web application [weaving]. 14-Nov-2024 15:25:36.090 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-34045"] 14-Nov-2024 15:25:36.091 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Nov-2024 15:25:36.092 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-34045"] 14-Nov-2024 15:25:36.093 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-34045"] 14-Nov-2024 15:25:36.097 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 14-Nov-2024 15:25:36.099 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 14-Nov-2024 15:25:36.147 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Nov-2024 15:25:36.147 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 14-Nov-2024 15:25:36.156 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40929"] 14-Nov-2024 15:25:36.157 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@157853da] to web application [weaving]. 14-Nov-2024 15:25:36.157 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@71c3b41] to web application [weaving]. 14-Nov-2024 15:25:36.165 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40929"] 14-Nov-2024 15:25:36.168 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Nov-2024 15:25:36.168 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40929"] 14-Nov-2024 15:25:36.169 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40929"] 14-Nov-2024 15:25:36.172 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 14-Nov-2024 15:25:36.174 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 14-Nov-2024 15:25:36.203 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Nov-2024 15:25:36.204 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 14-Nov-2024 15:25:36.218 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-36103"] 14-Nov-2024 15:25:36.261 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-36103"] 14-Nov-2024 15:25:36.266 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Nov-2024 15:25:36.266 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-36103"] 14-Nov-2024 15:25:36.269 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-36103"] 14-Nov-2024 15:25:36.274 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 14-Nov-2024 15:25:36.276 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 14-Nov-2024 15:25:36.295 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Nov-2024 15:25:36.295 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 14-Nov-2024 15:25:36.337 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36041"] 14-Nov-2024 15:25:36.352 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@306cf3ea] to web application [weaving]. 14-Nov-2024 15:25:36.352 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@306cf3ea] from web application [weaving]. 14-Nov-2024 15:25:36.356 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36041"] 14-Nov-2024 15:25:36.357 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Nov-2024 15:25:36.357 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36041"] 14-Nov-2024 15:25:36.358 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36041"] 14-Nov-2024 15:25:36.368 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 14-Nov-2024 15:25:36.369 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 14-Nov-2024 15:25:36.456 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Nov-2024 15:25:36.456 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 14-Nov-2024 15:25:36.472 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44445"] 14-Nov-2024 15:25:36.483 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@865dd6] to web application [weaving]. 14-Nov-2024 15:25:36.483 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4da4253] to web application [weaving]. 14-Nov-2024 15:25:36.484 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4da4253] from web application [weaving]. 14-Nov-2024 15:25:36.487 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44445"] 14-Nov-2024 15:25:36.488 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Nov-2024 15:25:36.488 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44445"] 14-Nov-2024 15:25:36.489 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44445"] 14-Nov-2024 15:25:36.492 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 14-Nov-2024 15:25:36.493 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 14-Nov-2024 15:25:36.612 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Nov-2024 15:25:36.612 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 14-Nov-2024 15:25:36.632 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-37691"] 14-Nov-2024 15:25:36.642 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@49dc7102] to web application [weaving]. 14-Nov-2024 15:25:36.642 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6b8ca3c8] to web application [weaving]. 14-Nov-2024 15:25:36.642 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6b8ca3c8] from web application [weaving]. 14-Nov-2024 15:25:36.645 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-37691"] 14-Nov-2024 15:25:36.652 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Nov-2024 15:25:36.652 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-37691"] 14-Nov-2024 15:25:36.653 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-37691"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.933 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.2 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.097 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.109 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.1 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.074 sec Testcase: testAddingNullTransformerThrowsException took 0.1 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.094 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.123 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.171 sec