Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.515 sec ------------- Standard Error ----------------- 06-Dec-2024 16:34:19.390 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 06-Dec-2024 16:34:20.064 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 06-Dec-2024 16:34:20.100 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Dec-2024 16:34:20.100 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 06-Dec-2024 16:34:20.249 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-39399"] 06-Dec-2024 16:34:20.328 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-39399"] 06-Dec-2024 16:34:20.335 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Dec-2024 16:34:20.341 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-39399"] 06-Dec-2024 16:34:20.346 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-39399"] 06-Dec-2024 16:34:20.352 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 06-Dec-2024 16:34:20.354 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 06-Dec-2024 16:34:20.354 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Dec-2024 16:34:20.354 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 06-Dec-2024 16:34:20.358 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-44933"] 06-Dec-2024 16:34:20.366 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3af9c5b7] to web application [weaving]. 06-Dec-2024 16:34:20.369 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-44933"] 06-Dec-2024 16:34:20.370 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Dec-2024 16:34:20.370 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-44933"] 06-Dec-2024 16:34:20.373 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-44933"] 06-Dec-2024 16:34:20.375 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 06-Dec-2024 16:34:20.378 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 06-Dec-2024 16:34:20.379 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Dec-2024 16:34:20.379 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 06-Dec-2024 16:34:20.388 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-36871"] 06-Dec-2024 16:34:20.402 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@424e1977] to web application [weaving]. 06-Dec-2024 16:34:20.405 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-36871"] 06-Dec-2024 16:34:20.408 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Dec-2024 16:34:20.409 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-36871"] 06-Dec-2024 16:34:20.413 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-36871"] 06-Dec-2024 16:34:20.414 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 06-Dec-2024 16:34:20.416 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 06-Dec-2024 16:34:20.417 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Dec-2024 16:34:20.417 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 06-Dec-2024 16:34:20.426 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-42489"] 06-Dec-2024 16:34:20.437 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@548e6d58] to web application [weaving]. 06-Dec-2024 16:34:20.437 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@623a8092] to web application [weaving]. 06-Dec-2024 16:34:20.442 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-42489"] 06-Dec-2024 16:34:20.443 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Dec-2024 16:34:20.444 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-42489"] 06-Dec-2024 16:34:20.446 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-42489"] 06-Dec-2024 16:34:20.447 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 06-Dec-2024 16:34:20.449 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 06-Dec-2024 16:34:20.450 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Dec-2024 16:34:20.450 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 06-Dec-2024 16:34:20.455 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-38595"] 06-Dec-2024 16:34:20.468 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3e96bacf] to web application [weaving]. 06-Dec-2024 16:34:20.468 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@484970b0] to web application [weaving]. 06-Dec-2024 16:34:20.473 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-38595"] 06-Dec-2024 16:34:20.481 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Dec-2024 16:34:20.482 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-38595"] 06-Dec-2024 16:34:20.496 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-38595"] 06-Dec-2024 16:34:20.498 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 06-Dec-2024 16:34:20.499 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 06-Dec-2024 16:34:20.500 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Dec-2024 16:34:20.500 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 06-Dec-2024 16:34:20.508 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-44279"] 06-Dec-2024 16:34:20.513 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@757acd7b] to web application [weaving]. 06-Dec-2024 16:34:20.513 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@36b4fe2a] to web application [weaving]. 06-Dec-2024 16:34:20.517 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-44279"] 06-Dec-2024 16:34:20.519 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Dec-2024 16:34:20.519 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-44279"] 06-Dec-2024 16:34:20.522 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-44279"] 06-Dec-2024 16:34:20.523 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 06-Dec-2024 16:34:20.525 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 06-Dec-2024 16:34:20.525 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Dec-2024 16:34:20.526 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 06-Dec-2024 16:34:20.535 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-43739"] 06-Dec-2024 16:34:20.543 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-43739"] 06-Dec-2024 16:34:20.548 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Dec-2024 16:34:20.549 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-43739"] 06-Dec-2024 16:34:20.553 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-43739"] 06-Dec-2024 16:34:20.557 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 06-Dec-2024 16:34:20.560 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 06-Dec-2024 16:34:20.561 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Dec-2024 16:34:20.561 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 06-Dec-2024 16:34:20.578 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-45389"] 06-Dec-2024 16:34:20.647 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@152aa092] to web application [weaving]. 06-Dec-2024 16:34:20.647 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@152aa092] from web application [weaving]. 06-Dec-2024 16:34:20.650 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-45389"] 06-Dec-2024 16:34:20.651 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Dec-2024 16:34:20.651 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-45389"] 06-Dec-2024 16:34:20.655 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-45389"] 06-Dec-2024 16:34:20.656 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 06-Dec-2024 16:34:20.658 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 06-Dec-2024 16:34:20.658 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Dec-2024 16:34:20.659 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 06-Dec-2024 16:34:20.664 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-43499"] 06-Dec-2024 16:34:20.678 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3315d2d7] to web application [weaving]. 06-Dec-2024 16:34:20.678 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@d6e7bab] to web application [weaving]. 06-Dec-2024 16:34:20.678 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@d6e7bab] from web application [weaving]. 06-Dec-2024 16:34:20.681 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-43499"] 06-Dec-2024 16:34:20.693 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Dec-2024 16:34:20.693 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-43499"] 06-Dec-2024 16:34:20.697 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-43499"] 06-Dec-2024 16:34:20.701 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 06-Dec-2024 16:34:20.703 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 06-Dec-2024 16:34:20.716 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Dec-2024 16:34:20.717 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 06-Dec-2024 16:34:20.726 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-39137"] 06-Dec-2024 16:34:20.742 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4d910fd6] to web application [weaving]. 06-Dec-2024 16:34:20.743 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@26275bef] to web application [weaving]. 06-Dec-2024 16:34:20.743 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@26275bef] from web application [weaving]. 06-Dec-2024 16:34:20.745 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-39137"] 06-Dec-2024 16:34:20.748 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Dec-2024 16:34:20.748 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-39137"] 06-Dec-2024 16:34:20.751 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-39137"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.029 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.023 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.04 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.033 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.05 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.025 sec Testcase: testAddingNullTransformerThrowsException took 0.031 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.102 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.044 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.053 sec