Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.925 sec ------------- Standard Error ----------------- 06-Oct-2024 23:46:05.007 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 06-Oct-2024 23:46:06.351 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 06-Oct-2024 23:46:06.417 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Oct-2024 23:46:06.423 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 06-Oct-2024 23:46:06.689 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-41261"] 06-Oct-2024 23:46:06.857 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-41261"] 06-Oct-2024 23:46:06.870 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Oct-2024 23:46:06.879 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-41261"] 06-Oct-2024 23:46:06.888 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-41261"] 06-Oct-2024 23:46:06.895 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 06-Oct-2024 23:46:06.897 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 06-Oct-2024 23:46:06.908 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Oct-2024 23:46:06.908 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 06-Oct-2024 23:46:06.931 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-36139"] 06-Oct-2024 23:46:07.065 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@e4487af] to web application [weaving]. 06-Oct-2024 23:46:07.070 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-36139"] 06-Oct-2024 23:46:07.073 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Oct-2024 23:46:07.073 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-36139"] 06-Oct-2024 23:46:07.081 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-36139"] 06-Oct-2024 23:46:07.086 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 06-Oct-2024 23:46:07.088 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 06-Oct-2024 23:46:07.089 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Oct-2024 23:46:07.090 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 06-Oct-2024 23:46:07.113 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-33527"] 06-Oct-2024 23:46:07.159 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@291b4bf5] to web application [weaving]. 06-Oct-2024 23:46:07.168 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-33527"] 06-Oct-2024 23:46:07.168 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Oct-2024 23:46:07.168 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-33527"] 06-Oct-2024 23:46:07.178 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-33527"] 06-Oct-2024 23:46:07.180 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 06-Oct-2024 23:46:07.182 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 06-Oct-2024 23:46:07.183 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Oct-2024 23:46:07.184 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 06-Oct-2024 23:46:07.205 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-39881"] 06-Oct-2024 23:46:07.279 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6ff29830] to web application [weaving]. 06-Oct-2024 23:46:07.279 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6a2b953e] to web application [weaving]. 06-Oct-2024 23:46:07.285 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-39881"] 06-Oct-2024 23:46:07.294 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Oct-2024 23:46:07.294 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-39881"] 06-Oct-2024 23:46:07.300 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-39881"] 06-Oct-2024 23:46:07.301 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 06-Oct-2024 23:46:07.302 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 06-Oct-2024 23:46:07.303 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Oct-2024 23:46:07.303 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 06-Oct-2024 23:46:07.307 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-44785"] 06-Oct-2024 23:46:07.312 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3f56875e] to web application [weaving]. 06-Oct-2024 23:46:07.312 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2b4bac49] to web application [weaving]. 06-Oct-2024 23:46:07.323 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-44785"] 06-Oct-2024 23:46:07.327 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Oct-2024 23:46:07.328 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-44785"] 06-Oct-2024 23:46:07.336 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-44785"] 06-Oct-2024 23:46:07.341 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 06-Oct-2024 23:46:07.344 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 06-Oct-2024 23:46:07.345 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Oct-2024 23:46:07.345 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 06-Oct-2024 23:46:07.353 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-36325"] 06-Oct-2024 23:46:07.369 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@186f8716] to web application [weaving]. 06-Oct-2024 23:46:07.369 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1d8bd0de] to web application [weaving]. 06-Oct-2024 23:46:07.374 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-36325"] 06-Oct-2024 23:46:07.374 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Oct-2024 23:46:07.375 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-36325"] 06-Oct-2024 23:46:07.384 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-36325"] 06-Oct-2024 23:46:07.392 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 06-Oct-2024 23:46:07.394 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 06-Oct-2024 23:46:07.394 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Oct-2024 23:46:07.395 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 06-Oct-2024 23:46:07.404 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-42279"] 06-Oct-2024 23:46:07.430 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-42279"] 06-Oct-2024 23:46:07.433 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Oct-2024 23:46:07.433 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-42279"] 06-Oct-2024 23:46:07.436 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-42279"] 06-Oct-2024 23:46:07.437 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 06-Oct-2024 23:46:07.438 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 06-Oct-2024 23:46:07.440 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Oct-2024 23:46:07.440 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 06-Oct-2024 23:46:07.450 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-44381"] 06-Oct-2024 23:46:07.464 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2e1d27ba] to web application [weaving]. 06-Oct-2024 23:46:07.464 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2e1d27ba] from web application [weaving]. 06-Oct-2024 23:46:07.468 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-44381"] 06-Oct-2024 23:46:07.471 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Oct-2024 23:46:07.471 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-44381"] 06-Oct-2024 23:46:07.479 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-44381"] 06-Oct-2024 23:46:07.482 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 06-Oct-2024 23:46:07.483 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 06-Oct-2024 23:46:07.485 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Oct-2024 23:46:07.485 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 06-Oct-2024 23:46:07.489 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-41879"] 06-Oct-2024 23:46:07.513 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@13b13b5d] to web application [weaving]. 06-Oct-2024 23:46:07.514 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2892dae4] to web application [weaving]. 06-Oct-2024 23:46:07.514 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2892dae4] from web application [weaving]. 06-Oct-2024 23:46:07.517 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-41879"] 06-Oct-2024 23:46:07.517 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Oct-2024 23:46:07.517 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-41879"] 06-Oct-2024 23:46:07.521 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-41879"] 06-Oct-2024 23:46:07.524 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 06-Oct-2024 23:46:07.526 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 06-Oct-2024 23:46:07.527 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Oct-2024 23:46:07.527 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 06-Oct-2024 23:46:07.541 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-37889"] 06-Oct-2024 23:46:07.602 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@51f116b8] to web application [weaving]. 06-Oct-2024 23:46:07.602 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@19d481b] to web application [weaving]. 06-Oct-2024 23:46:07.602 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@19d481b] from web application [weaving]. 06-Oct-2024 23:46:07.606 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-37889"] 06-Oct-2024 23:46:07.606 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Oct-2024 23:46:07.606 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-37889"] 06-Oct-2024 23:46:07.610 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-37889"] ------------- ---------------- --------------- Testcase: testNoWeaving took 2.033 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.188 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.097 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.121 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.039 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.051 sec Testcase: testAddingNullTransformerThrowsException took 0.044 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.044 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.041 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.087 sec