Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.97 sec ------------- Standard Error ----------------- 15-Nov-2024 14:37:26.048 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 15-Nov-2024 14:37:27.189 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 15-Nov-2024 14:37:27.248 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Nov-2024 14:37:27.248 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 15-Nov-2024 14:37:27.414 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-44123"] 15-Nov-2024 14:37:27.547 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-44123"] 15-Nov-2024 14:37:27.556 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Nov-2024 14:37:27.557 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-44123"] 15-Nov-2024 14:37:27.566 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-44123"] 15-Nov-2024 14:37:27.572 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 15-Nov-2024 14:37:27.574 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 15-Nov-2024 14:37:27.575 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Nov-2024 14:37:27.575 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 15-Nov-2024 14:37:27.612 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-41203"] 15-Nov-2024 14:37:27.712 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3af9c5b7] to web application [weaving]. 15-Nov-2024 14:37:27.720 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-41203"] 15-Nov-2024 14:37:27.721 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Nov-2024 14:37:27.721 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-41203"] 15-Nov-2024 14:37:27.724 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-41203"] 15-Nov-2024 14:37:27.726 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 15-Nov-2024 14:37:27.728 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 15-Nov-2024 14:37:27.729 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Nov-2024 14:37:27.730 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 15-Nov-2024 14:37:27.736 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-42699"] 15-Nov-2024 14:37:27.792 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@424e1977] to web application [weaving]. 15-Nov-2024 14:37:27.800 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-42699"] 15-Nov-2024 14:37:27.803 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Nov-2024 14:37:27.803 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-42699"] 15-Nov-2024 14:37:27.807 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-42699"] 15-Nov-2024 14:37:27.819 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 15-Nov-2024 14:37:27.823 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 15-Nov-2024 14:37:27.826 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Nov-2024 14:37:27.826 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 15-Nov-2024 14:37:27.832 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-40165"] 15-Nov-2024 14:37:27.928 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@548e6d58] to web application [weaving]. 15-Nov-2024 14:37:27.928 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@623a8092] to web application [weaving]. 15-Nov-2024 14:37:27.933 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-40165"] 15-Nov-2024 14:37:27.936 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Nov-2024 14:37:27.936 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-40165"] 15-Nov-2024 14:37:27.938 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-40165"] 15-Nov-2024 14:37:27.940 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 15-Nov-2024 14:37:27.941 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 15-Nov-2024 14:37:27.942 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Nov-2024 14:37:27.942 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 15-Nov-2024 14:37:27.964 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-46133"] 15-Nov-2024 14:37:28.044 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3e96bacf] to web application [weaving]. 15-Nov-2024 14:37:28.044 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@484970b0] to web application [weaving]. 15-Nov-2024 14:37:28.049 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-46133"] 15-Nov-2024 14:37:28.051 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Nov-2024 14:37:28.052 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-46133"] 15-Nov-2024 14:37:28.060 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-46133"] 15-Nov-2024 14:37:28.061 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 15-Nov-2024 14:37:28.063 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 15-Nov-2024 14:37:28.063 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Nov-2024 14:37:28.063 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 15-Nov-2024 14:37:28.087 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-42293"] 15-Nov-2024 14:37:28.195 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@757acd7b] to web application [weaving]. 15-Nov-2024 14:37:28.195 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@36b4fe2a] to web application [weaving]. 15-Nov-2024 14:37:28.201 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-42293"] 15-Nov-2024 14:37:28.201 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Nov-2024 14:37:28.201 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-42293"] 15-Nov-2024 14:37:28.204 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-42293"] 15-Nov-2024 14:37:28.206 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 15-Nov-2024 14:37:28.208 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 15-Nov-2024 14:37:28.214 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Nov-2024 14:37:28.214 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 15-Nov-2024 14:37:28.241 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-40955"] 15-Nov-2024 14:37:28.258 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-40955"] 15-Nov-2024 14:37:28.273 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Nov-2024 14:37:28.279 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-40955"] 15-Nov-2024 14:37:28.282 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-40955"] 15-Nov-2024 14:37:28.284 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 15-Nov-2024 14:37:28.285 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 15-Nov-2024 14:37:28.286 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Nov-2024 14:37:28.286 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 15-Nov-2024 14:37:28.307 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-40015"] 15-Nov-2024 14:37:28.394 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@152aa092] to web application [weaving]. 15-Nov-2024 14:37:28.394 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@152aa092] from web application [weaving]. 15-Nov-2024 14:37:28.401 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-40015"] 15-Nov-2024 14:37:28.401 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Nov-2024 14:37:28.401 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-40015"] 15-Nov-2024 14:37:28.403 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-40015"] 15-Nov-2024 14:37:28.405 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 15-Nov-2024 14:37:28.407 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 15-Nov-2024 14:37:28.407 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Nov-2024 14:37:28.408 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 15-Nov-2024 14:37:28.451 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-36793"] 15-Nov-2024 14:37:28.515 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3315d2d7] to web application [weaving]. 15-Nov-2024 14:37:28.516 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@d6e7bab] to web application [weaving]. 15-Nov-2024 14:37:28.516 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@d6e7bab] from web application [weaving]. 15-Nov-2024 14:37:28.525 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-36793"] 15-Nov-2024 14:37:28.525 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Nov-2024 14:37:28.526 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-36793"] 15-Nov-2024 14:37:28.542 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-36793"] 15-Nov-2024 14:37:28.544 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 15-Nov-2024 14:37:28.545 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 15-Nov-2024 14:37:28.545 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Nov-2024 14:37:28.546 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 15-Nov-2024 14:37:28.561 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-39163"] 15-Nov-2024 14:37:28.656 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4d910fd6] to web application [weaving]. 15-Nov-2024 14:37:28.656 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@26275bef] to web application [weaving]. 15-Nov-2024 14:37:28.656 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@26275bef] from web application [weaving]. 15-Nov-2024 14:37:28.660 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-39163"] 15-Nov-2024 14:37:28.660 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Nov-2024 14:37:28.660 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-39163"] 15-Nov-2024 14:37:28.666 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-39163"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.683 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.153 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.093 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.121 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.122 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.144 sec Testcase: testAddingNullTransformerThrowsException took 0.077 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.121 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.138 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.124 sec