Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.282 sec ------------- Standard Error ----------------- 06-Sep-2024 13:10:27.667 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 06-Sep-2024 13:10:28.945 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 06-Sep-2024 13:10:29.135 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 13:10:29.144 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 13:10:29.465 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-34441"] 06-Sep-2024 13:10:29.518 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-34441"] 06-Sep-2024 13:10:29.524 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 13:10:29.526 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-34441"] 06-Sep-2024 13:10:29.534 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-34441"] 06-Sep-2024 13:10:29.548 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 06-Sep-2024 13:10:29.567 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 06-Sep-2024 13:10:29.717 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 13:10:29.718 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 13:10:29.731 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46703"] 06-Sep-2024 13:10:29.734 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@687e99d8] to web application [weaving]. 06-Sep-2024 13:10:29.737 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46703"] 06-Sep-2024 13:10:29.738 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 13:10:29.739 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46703"] 06-Sep-2024 13:10:29.740 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46703"] 06-Sep-2024 13:10:29.743 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 06-Sep-2024 13:10:29.745 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 06-Sep-2024 13:10:29.902 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 13:10:29.902 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 13:10:29.927 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-37237"] 06-Sep-2024 13:10:29.934 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@291b4bf5] to web application [weaving]. 06-Sep-2024 13:10:29.938 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-37237"] 06-Sep-2024 13:10:29.939 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 13:10:29.940 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-37237"] 06-Sep-2024 13:10:29.940 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-37237"] 06-Sep-2024 13:10:29.944 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 06-Sep-2024 13:10:29.945 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 06-Sep-2024 13:10:30.041 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 13:10:30.042 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 13:10:30.071 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42273"] 06-Sep-2024 13:10:30.077 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6a2b953e] to web application [weaving]. 06-Sep-2024 13:10:30.077 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@313b2ea6] to web application [weaving]. 06-Sep-2024 13:10:30.091 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42273"] 06-Sep-2024 13:10:30.093 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 13:10:30.094 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42273"] 06-Sep-2024 13:10:30.095 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42273"] 06-Sep-2024 13:10:30.103 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 06-Sep-2024 13:10:30.104 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 06-Sep-2024 13:10:30.143 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 13:10:30.143 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 13:10:30.159 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-39525"] 06-Sep-2024 13:10:30.170 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3e96bacf] to web application [weaving]. 06-Sep-2024 13:10:30.170 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@484970b0] to web application [weaving]. 06-Sep-2024 13:10:30.175 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-39525"] 06-Sep-2024 13:10:30.177 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 13:10:30.178 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-39525"] 06-Sep-2024 13:10:30.187 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-39525"] 06-Sep-2024 13:10:30.190 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 06-Sep-2024 13:10:30.192 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 06-Sep-2024 13:10:30.319 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 13:10:30.320 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 13:10:30.334 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36553"] 06-Sep-2024 13:10:30.346 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@36b4fe2a] to web application [weaving]. 06-Sep-2024 13:10:30.346 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@574b560f] to web application [weaving]. 06-Sep-2024 13:10:30.352 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36553"] 06-Sep-2024 13:10:30.354 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 13:10:30.355 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36553"] 06-Sep-2024 13:10:30.356 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36553"] 06-Sep-2024 13:10:30.359 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 06-Sep-2024 13:10:30.361 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 06-Sep-2024 13:10:30.485 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 13:10:30.485 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 13:10:30.496 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-39133"] 06-Sep-2024 13:10:30.507 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-39133"] 06-Sep-2024 13:10:30.508 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 13:10:30.509 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-39133"] 06-Sep-2024 13:10:30.510 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-39133"] 06-Sep-2024 13:10:30.514 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 06-Sep-2024 13:10:30.515 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 06-Sep-2024 13:10:30.518 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 13:10:30.519 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 13:10:30.527 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33971"] 06-Sep-2024 13:10:30.528 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@44a7bfbc] to web application [weaving]. 06-Sep-2024 13:10:30.528 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@44a7bfbc] from web application [weaving]. 06-Sep-2024 13:10:30.530 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33971"] 06-Sep-2024 13:10:30.531 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 13:10:30.532 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33971"] 06-Sep-2024 13:10:30.532 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33971"] 06-Sep-2024 13:10:30.534 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 06-Sep-2024 13:10:30.535 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 06-Sep-2024 13:10:30.540 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 13:10:30.540 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 13:10:30.549 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43995"] 06-Sep-2024 13:10:30.550 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5fa07e12] to web application [weaving]. 06-Sep-2024 13:10:30.550 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@55b53d44] to web application [weaving]. 06-Sep-2024 13:10:30.550 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@55b53d44] from web application [weaving]. 06-Sep-2024 13:10:30.553 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43995"] 06-Sep-2024 13:10:30.554 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 13:10:30.554 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43995"] 06-Sep-2024 13:10:30.554 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43995"] 06-Sep-2024 13:10:30.568 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 06-Sep-2024 13:10:30.569 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 06-Sep-2024 13:10:30.587 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 13:10:30.588 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 13:10:30.596 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34619"] 06-Sep-2024 13:10:30.603 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@77eca502] to web application [weaving]. 06-Sep-2024 13:10:30.603 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3246fb96] to web application [weaving]. 06-Sep-2024 13:10:30.603 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3246fb96] from web application [weaving]. 06-Sep-2024 13:10:30.607 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34619"] 06-Sep-2024 13:10:30.609 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 13:10:30.610 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34619"] 06-Sep-2024 13:10:30.610 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34619"] ------------- ---------------- --------------- Testcase: testNoWeaving took 2.064 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.196 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.2 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.155 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.091 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.169 sec Testcase: testAddingNullTransformerThrowsException took 0.154 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.021 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.033 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.051 sec