Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.846 sec ------------- Standard Error ----------------- 02-Dec-2024 12:59:50.476 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 02-Dec-2024 12:59:51.318 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 02-Dec-2024 12:59:51.347 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 12:59:51.347 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 12:59:51.442 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-33989"] 02-Dec-2024 12:59:51.590 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-33989"] 02-Dec-2024 12:59:51.598 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 12:59:51.599 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-33989"] 02-Dec-2024 12:59:51.602 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-33989"] 02-Dec-2024 12:59:51.607 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 02-Dec-2024 12:59:51.608 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 02-Dec-2024 12:59:51.609 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 12:59:51.609 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 12:59:51.616 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-35415"] 02-Dec-2024 12:59:51.633 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7a419da4] to web application [weaving]. 02-Dec-2024 12:59:51.643 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-35415"] 02-Dec-2024 12:59:51.648 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 12:59:51.648 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-35415"] 02-Dec-2024 12:59:51.650 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-35415"] 02-Dec-2024 12:59:51.652 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 02-Dec-2024 12:59:51.654 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 02-Dec-2024 12:59:51.654 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 12:59:51.655 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 12:59:51.670 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-43077"] 02-Dec-2024 12:59:51.682 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@581ac8a8] to web application [weaving]. 02-Dec-2024 12:59:51.686 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-43077"] 02-Dec-2024 12:59:51.690 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 12:59:51.691 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-43077"] 02-Dec-2024 12:59:51.694 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-43077"] 02-Dec-2024 12:59:51.695 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 02-Dec-2024 12:59:51.699 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 02-Dec-2024 12:59:51.699 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 12:59:51.701 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 12:59:51.708 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-39235"] 02-Dec-2024 12:59:51.711 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@71def8f8] to web application [weaving]. 02-Dec-2024 12:59:51.711 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@383bfa16] to web application [weaving]. 02-Dec-2024 12:59:51.715 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-39235"] 02-Dec-2024 12:59:51.717 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 12:59:51.718 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-39235"] 02-Dec-2024 12:59:51.729 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-39235"] 02-Dec-2024 12:59:51.731 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 02-Dec-2024 12:59:51.732 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 02-Dec-2024 12:59:51.733 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 12:59:51.733 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 12:59:51.738 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-38627"] 02-Dec-2024 12:59:51.743 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6283d8b8] to web application [weaving]. 02-Dec-2024 12:59:51.743 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3b6ddd1d] to web application [weaving]. 02-Dec-2024 12:59:51.747 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-38627"] 02-Dec-2024 12:59:51.747 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 12:59:51.747 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-38627"] 02-Dec-2024 12:59:51.751 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-38627"] 02-Dec-2024 12:59:51.753 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 02-Dec-2024 12:59:51.754 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 02-Dec-2024 12:59:51.755 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 12:59:51.755 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 12:59:51.760 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-35377"] 02-Dec-2024 12:59:51.770 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4fb3ee4e] to web application [weaving]. 02-Dec-2024 12:59:51.770 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5d7148e2] to web application [weaving]. 02-Dec-2024 12:59:51.775 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-35377"] 02-Dec-2024 12:59:51.775 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 12:59:51.775 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-35377"] 02-Dec-2024 12:59:51.777 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-35377"] 02-Dec-2024 12:59:51.779 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 02-Dec-2024 12:59:51.780 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 02-Dec-2024 12:59:51.781 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 12:59:51.781 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 12:59:51.788 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-37983"] 02-Dec-2024 12:59:51.823 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-37983"] 02-Dec-2024 12:59:51.836 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 12:59:51.837 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-37983"] 02-Dec-2024 12:59:51.848 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-37983"] 02-Dec-2024 12:59:51.850 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 02-Dec-2024 12:59:51.851 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 02-Dec-2024 12:59:51.852 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 12:59:51.852 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 12:59:51.857 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-41973"] 02-Dec-2024 12:59:51.884 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@f0da945] to web application [weaving]. 02-Dec-2024 12:59:51.885 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@f0da945] from web application [weaving]. 02-Dec-2024 12:59:51.894 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-41973"] 02-Dec-2024 12:59:51.895 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 12:59:51.895 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-41973"] 02-Dec-2024 12:59:51.898 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-41973"] 02-Dec-2024 12:59:51.899 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 02-Dec-2024 12:59:51.902 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 02-Dec-2024 12:59:51.902 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 12:59:51.903 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 12:59:51.907 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-33211"] 02-Dec-2024 12:59:51.919 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1e1a0406] to web application [weaving]. 02-Dec-2024 12:59:51.919 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3cebbb30] to web application [weaving]. 02-Dec-2024 12:59:51.919 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3cebbb30] from web application [weaving]. 02-Dec-2024 12:59:51.928 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-33211"] 02-Dec-2024 12:59:51.933 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 12:59:51.933 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-33211"] 02-Dec-2024 12:59:51.935 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-33211"] 02-Dec-2024 12:59:51.936 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 02-Dec-2024 12:59:51.938 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 02-Dec-2024 12:59:51.938 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Dec-2024 12:59:51.939 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 02-Dec-2024 12:59:51.945 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-41709"] 02-Dec-2024 12:59:51.953 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2dc54ad4] to web application [weaving]. 02-Dec-2024 12:59:51.953 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4659191b] to web application [weaving]. 02-Dec-2024 12:59:51.953 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4659191b] from web application [weaving]. 02-Dec-2024 12:59:51.957 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-41709"] 02-Dec-2024 12:59:51.960 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Dec-2024 12:59:51.960 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-41709"] 02-Dec-2024 12:59:51.964 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-41709"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.365 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.045 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.043 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.035 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.022 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.026 sec Testcase: testAddingNullTransformerThrowsException took 0.07 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.05 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.037 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.029 sec