Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.977 sec ------------- Standard Error ----------------- 06-Nov-2024 15:03:28.633 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 06-Nov-2024 15:03:30.347 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 06-Nov-2024 15:03:30.667 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Nov-2024 15:03:30.673 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 06-Nov-2024 15:03:31.041 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-34647"] 06-Nov-2024 15:03:31.087 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-34647"] 06-Nov-2024 15:03:31.127 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Nov-2024 15:03:31.128 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-34647"] 06-Nov-2024 15:03:31.130 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-34647"] 06-Nov-2024 15:03:31.161 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 06-Nov-2024 15:03:31.166 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 06-Nov-2024 15:03:31.324 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Nov-2024 15:03:31.324 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 06-Nov-2024 15:03:31.351 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-38483"] 06-Nov-2024 15:03:31.368 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4bb33f74] to web application [weaving]. 06-Nov-2024 15:03:31.372 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-38483"] 06-Nov-2024 15:03:31.373 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Nov-2024 15:03:31.374 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-38483"] 06-Nov-2024 15:03:31.374 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-38483"] 06-Nov-2024 15:03:31.377 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 06-Nov-2024 15:03:31.379 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 06-Nov-2024 15:03:31.513 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Nov-2024 15:03:31.514 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 06-Nov-2024 15:03:31.524 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-36455"] 06-Nov-2024 15:03:31.543 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@67c33749] to web application [weaving]. 06-Nov-2024 15:03:31.548 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-36455"] 06-Nov-2024 15:03:31.549 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Nov-2024 15:03:31.549 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-36455"] 06-Nov-2024 15:03:31.550 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-36455"] 06-Nov-2024 15:03:31.553 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 06-Nov-2024 15:03:31.555 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 06-Nov-2024 15:03:31.661 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Nov-2024 15:03:31.662 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 06-Nov-2024 15:03:31.677 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44437"] 06-Nov-2024 15:03:31.689 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3232a28a] to web application [weaving]. 06-Nov-2024 15:03:31.689 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@73e22a3d] to web application [weaving]. 06-Nov-2024 15:03:31.694 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44437"] 06-Nov-2024 15:03:31.703 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Nov-2024 15:03:31.704 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44437"] 06-Nov-2024 15:03:31.710 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44437"] 06-Nov-2024 15:03:31.731 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 06-Nov-2024 15:03:31.734 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 06-Nov-2024 15:03:31.792 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Nov-2024 15:03:31.793 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 06-Nov-2024 15:03:31.799 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43519"] 06-Nov-2024 15:03:31.815 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6cd28fa7] to web application [weaving]. 06-Nov-2024 15:03:31.816 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@614ca7df] to web application [weaving]. 06-Nov-2024 15:03:31.820 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43519"] 06-Nov-2024 15:03:31.821 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Nov-2024 15:03:31.822 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43519"] 06-Nov-2024 15:03:31.822 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43519"] 06-Nov-2024 15:03:31.826 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 06-Nov-2024 15:03:31.828 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 06-Nov-2024 15:03:31.950 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Nov-2024 15:03:31.951 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 06-Nov-2024 15:03:31.956 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36139"] 06-Nov-2024 15:03:31.957 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4f2b503c] to web application [weaving]. 06-Nov-2024 15:03:31.957 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@bae7dc0] to web application [weaving]. 06-Nov-2024 15:03:31.962 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36139"] 06-Nov-2024 15:03:31.966 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Nov-2024 15:03:31.967 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36139"] 06-Nov-2024 15:03:31.968 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36139"] 06-Nov-2024 15:03:31.972 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 06-Nov-2024 15:03:31.976 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 06-Nov-2024 15:03:32.036 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Nov-2024 15:03:32.036 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 06-Nov-2024 15:03:32.042 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-32859"] 06-Nov-2024 15:03:32.049 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-32859"] 06-Nov-2024 15:03:32.050 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Nov-2024 15:03:32.053 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-32859"] 06-Nov-2024 15:03:32.054 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-32859"] 06-Nov-2024 15:03:32.059 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 06-Nov-2024 15:03:32.061 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 06-Nov-2024 15:03:32.105 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Nov-2024 15:03:32.106 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 06-Nov-2024 15:03:32.110 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-37441"] 06-Nov-2024 15:03:32.111 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@23c30a20] to web application [weaving]. 06-Nov-2024 15:03:32.111 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@23c30a20] from web application [weaving]. 06-Nov-2024 15:03:32.115 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-37441"] 06-Nov-2024 15:03:32.115 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Nov-2024 15:03:32.116 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-37441"] 06-Nov-2024 15:03:32.116 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-37441"] 06-Nov-2024 15:03:32.126 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 06-Nov-2024 15:03:32.127 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 06-Nov-2024 15:03:32.201 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Nov-2024 15:03:32.201 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 06-Nov-2024 15:03:32.207 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-45047"] 06-Nov-2024 15:03:32.212 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4659191b] to web application [weaving]. 06-Nov-2024 15:03:32.212 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@55634720] to web application [weaving]. 06-Nov-2024 15:03:32.212 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@55634720] from web application [weaving]. 06-Nov-2024 15:03:32.216 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-45047"] 06-Nov-2024 15:03:32.218 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Nov-2024 15:03:32.219 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-45047"] 06-Nov-2024 15:03:32.219 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-45047"] 06-Nov-2024 15:03:32.223 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 06-Nov-2024 15:03:32.232 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 06-Nov-2024 15:03:32.239 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Nov-2024 15:03:32.240 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 06-Nov-2024 15:03:32.245 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-38707"] 06-Nov-2024 15:03:32.246 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@771a660] to web application [weaving]. 06-Nov-2024 15:03:32.247 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2d52216b] to web application [weaving]. 06-Nov-2024 15:03:32.247 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2d52216b] from web application [weaving]. 06-Nov-2024 15:03:32.251 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-38707"] 06-Nov-2024 15:03:32.254 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Nov-2024 15:03:32.254 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-38707"] 06-Nov-2024 15:03:32.254 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-38707"] ------------- ---------------- --------------- Testcase: testNoWeaving took 2.687 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.216 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.176 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.169 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.103 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.146 sec Testcase: testAddingNullTransformerThrowsException took 0.086 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.067 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.097 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.038 sec