Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.922 sec ------------- Standard Error ----------------- 03-Nov-2024 10:57:32.407 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 03-Nov-2024 10:57:33.404 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 03-Nov-2024 10:57:33.471 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Nov-2024 10:57:33.487 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 03-Nov-2024 10:57:33.707 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-41785"] 03-Nov-2024 10:57:33.843 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-41785"] 03-Nov-2024 10:57:33.849 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Nov-2024 10:57:33.851 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-41785"] 03-Nov-2024 10:57:33.857 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-41785"] 03-Nov-2024 10:57:33.881 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 03-Nov-2024 10:57:33.893 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 03-Nov-2024 10:57:33.894 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Nov-2024 10:57:33.894 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 03-Nov-2024 10:57:33.917 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-34577"] 03-Nov-2024 10:57:34.040 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3af9c5b7] to web application [weaving]. 03-Nov-2024 10:57:34.044 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-34577"] 03-Nov-2024 10:57:34.052 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Nov-2024 10:57:34.053 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-34577"] 03-Nov-2024 10:57:34.057 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-34577"] 03-Nov-2024 10:57:34.061 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 03-Nov-2024 10:57:34.063 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 03-Nov-2024 10:57:34.064 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Nov-2024 10:57:34.067 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 03-Nov-2024 10:57:34.085 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-34599"] 03-Nov-2024 10:57:34.246 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@424e1977] to web application [weaving]. 03-Nov-2024 10:57:34.250 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-34599"] 03-Nov-2024 10:57:34.251 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Nov-2024 10:57:34.255 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-34599"] 03-Nov-2024 10:57:34.258 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-34599"] 03-Nov-2024 10:57:34.259 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 03-Nov-2024 10:57:34.261 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 03-Nov-2024 10:57:34.261 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Nov-2024 10:57:34.262 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 03-Nov-2024 10:57:34.271 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-33295"] 03-Nov-2024 10:57:34.326 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@548e6d58] to web application [weaving]. 03-Nov-2024 10:57:34.327 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@623a8092] to web application [weaving]. 03-Nov-2024 10:57:34.332 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-33295"] 03-Nov-2024 10:57:34.332 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Nov-2024 10:57:34.333 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-33295"] 03-Nov-2024 10:57:34.335 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-33295"] 03-Nov-2024 10:57:34.337 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 03-Nov-2024 10:57:34.339 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 03-Nov-2024 10:57:34.343 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Nov-2024 10:57:34.344 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 03-Nov-2024 10:57:34.348 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-44801"] 03-Nov-2024 10:57:34.400 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3e96bacf] to web application [weaving]. 03-Nov-2024 10:57:34.401 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@484970b0] to web application [weaving]. 03-Nov-2024 10:57:34.404 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-44801"] 03-Nov-2024 10:57:34.407 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Nov-2024 10:57:34.408 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-44801"] 03-Nov-2024 10:57:34.410 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-44801"] 03-Nov-2024 10:57:34.412 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 03-Nov-2024 10:57:34.416 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 03-Nov-2024 10:57:34.416 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Nov-2024 10:57:34.417 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 03-Nov-2024 10:57:34.438 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-39877"] 03-Nov-2024 10:57:34.488 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@757acd7b] to web application [weaving]. 03-Nov-2024 10:57:34.488 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@36b4fe2a] to web application [weaving]. 03-Nov-2024 10:57:34.492 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-39877"] 03-Nov-2024 10:57:34.508 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Nov-2024 10:57:34.509 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-39877"] 03-Nov-2024 10:57:34.512 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-39877"] 03-Nov-2024 10:57:34.514 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 03-Nov-2024 10:57:34.525 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 03-Nov-2024 10:57:34.526 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Nov-2024 10:57:34.526 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 03-Nov-2024 10:57:34.536 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-33551"] 03-Nov-2024 10:57:34.612 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-33551"] 03-Nov-2024 10:57:34.613 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Nov-2024 10:57:34.615 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-33551"] 03-Nov-2024 10:57:34.645 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-33551"] 03-Nov-2024 10:57:34.647 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 03-Nov-2024 10:57:34.648 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 03-Nov-2024 10:57:34.649 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Nov-2024 10:57:34.649 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 03-Nov-2024 10:57:34.671 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-40617"] 03-Nov-2024 10:57:34.808 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@152aa092] to web application [weaving]. 03-Nov-2024 10:57:34.809 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@152aa092] from web application [weaving]. 03-Nov-2024 10:57:34.817 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-40617"] 03-Nov-2024 10:57:34.819 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Nov-2024 10:57:34.819 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-40617"] 03-Nov-2024 10:57:34.828 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-40617"] 03-Nov-2024 10:57:34.830 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 03-Nov-2024 10:57:34.832 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 03-Nov-2024 10:57:34.833 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Nov-2024 10:57:34.834 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 03-Nov-2024 10:57:34.856 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-40497"] 03-Nov-2024 10:57:34.908 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3315d2d7] to web application [weaving]. 03-Nov-2024 10:57:34.909 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@d6e7bab] to web application [weaving]. 03-Nov-2024 10:57:34.909 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@d6e7bab] from web application [weaving]. 03-Nov-2024 10:57:34.912 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-40497"] 03-Nov-2024 10:57:34.915 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Nov-2024 10:57:34.916 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-40497"] 03-Nov-2024 10:57:34.925 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-40497"] 03-Nov-2024 10:57:34.926 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 03-Nov-2024 10:57:34.928 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 03-Nov-2024 10:57:34.930 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Nov-2024 10:57:34.930 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 03-Nov-2024 10:57:34.939 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-44677"] 03-Nov-2024 10:57:35.013 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4d910fd6] to web application [weaving]. 03-Nov-2024 10:57:35.014 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@26275bef] to web application [weaving]. 03-Nov-2024 10:57:35.014 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@26275bef] from web application [weaving]. 03-Nov-2024 10:57:35.018 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-44677"] 03-Nov-2024 10:57:35.021 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Nov-2024 10:57:35.022 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-44677"] 03-Nov-2024 10:57:35.023 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-44677"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.642 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.178 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.199 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.077 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.074 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.103 sec Testcase: testAddingNullTransformerThrowsException took 0.132 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.183 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.096 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.098 sec