Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.877 sec ------------- Standard Error ----------------- 13-Dec-2024 10:33:05.600 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 13-Dec-2024 10:33:06.284 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 13-Dec-2024 10:33:06.402 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 10:33:06.403 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 13-Dec-2024 10:33:06.600 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-36099"] 13-Dec-2024 10:33:06.645 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-36099"] 13-Dec-2024 10:33:06.655 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 10:33:06.656 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-36099"] 13-Dec-2024 10:33:06.659 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-36099"] 13-Dec-2024 10:33:06.688 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 13-Dec-2024 10:33:06.711 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 13-Dec-2024 10:33:06.727 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 10:33:06.727 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 13-Dec-2024 10:33:06.734 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37373"] 13-Dec-2024 10:33:06.735 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@37271612] to web application [weaving]. 13-Dec-2024 10:33:06.739 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37373"] 13-Dec-2024 10:33:06.744 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 10:33:06.745 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37373"] 13-Dec-2024 10:33:06.746 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37373"] 13-Dec-2024 10:33:06.755 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 13-Dec-2024 10:33:06.757 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 13-Dec-2024 10:33:06.783 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 10:33:06.784 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 13-Dec-2024 10:33:06.790 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-40345"] 13-Dec-2024 10:33:06.790 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@10d68fcd] to web application [weaving]. 13-Dec-2024 10:33:06.793 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-40345"] 13-Dec-2024 10:33:06.794 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 10:33:06.795 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-40345"] 13-Dec-2024 10:33:06.796 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-40345"] 13-Dec-2024 10:33:06.806 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 13-Dec-2024 10:33:06.810 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 13-Dec-2024 10:33:06.813 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 10:33:06.813 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 13-Dec-2024 10:33:06.831 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44155"] 13-Dec-2024 10:33:06.832 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@623a8092] to web application [weaving]. 13-Dec-2024 10:33:06.833 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@a1cdc6d] to web application [weaving]. 13-Dec-2024 10:33:06.844 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44155"] 13-Dec-2024 10:33:06.845 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 10:33:06.845 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44155"] 13-Dec-2024 10:33:06.849 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44155"] 13-Dec-2024 10:33:06.854 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 13-Dec-2024 10:33:06.856 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 13-Dec-2024 10:33:06.873 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 10:33:06.873 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 13-Dec-2024 10:33:06.878 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-41507"] 13-Dec-2024 10:33:06.879 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7748410a] to web application [weaving]. 13-Dec-2024 10:33:06.880 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@740773a3] to web application [weaving]. 13-Dec-2024 10:33:06.883 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-41507"] 13-Dec-2024 10:33:06.891 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 10:33:06.891 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-41507"] 13-Dec-2024 10:33:06.892 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-41507"] 13-Dec-2024 10:33:06.898 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 13-Dec-2024 10:33:06.900 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 13-Dec-2024 10:33:06.943 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 10:33:06.943 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 13-Dec-2024 10:33:06.948 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37487"] 13-Dec-2024 10:33:06.949 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3943a2be] to web application [weaving]. 13-Dec-2024 10:33:06.949 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@343570b7] to web application [weaving]. 13-Dec-2024 10:33:06.954 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37487"] 13-Dec-2024 10:33:06.957 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 10:33:06.958 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37487"] 13-Dec-2024 10:33:06.959 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37487"] 13-Dec-2024 10:33:06.964 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 13-Dec-2024 10:33:06.967 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 13-Dec-2024 10:33:06.976 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 10:33:06.976 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 13-Dec-2024 10:33:06.981 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-45805"] 13-Dec-2024 10:33:06.985 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-45805"] 13-Dec-2024 10:33:06.990 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 10:33:06.991 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-45805"] 13-Dec-2024 10:33:06.991 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-45805"] 13-Dec-2024 10:33:06.994 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 13-Dec-2024 10:33:06.995 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 13-Dec-2024 10:33:07.031 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 10:33:07.032 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 13-Dec-2024 10:33:07.040 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-34423"] 13-Dec-2024 10:33:07.042 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4e268090] to web application [weaving]. 13-Dec-2024 10:33:07.042 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4e268090] from web application [weaving]. 13-Dec-2024 10:33:07.045 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-34423"] 13-Dec-2024 10:33:07.052 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 10:33:07.052 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-34423"] 13-Dec-2024 10:33:07.054 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-34423"] 13-Dec-2024 10:33:07.069 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 13-Dec-2024 10:33:07.073 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 13-Dec-2024 10:33:07.114 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 10:33:07.114 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 13-Dec-2024 10:33:07.121 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-45135"] 13-Dec-2024 10:33:07.121 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6a6afff2] to web application [weaving]. 13-Dec-2024 10:33:07.122 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1649b0e6] to web application [weaving]. 13-Dec-2024 10:33:07.122 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1649b0e6] from web application [weaving]. 13-Dec-2024 10:33:07.125 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-45135"] 13-Dec-2024 10:33:07.128 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 10:33:07.128 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-45135"] 13-Dec-2024 10:33:07.129 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-45135"] 13-Dec-2024 10:33:07.132 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 13-Dec-2024 10:33:07.133 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 13-Dec-2024 10:33:07.169 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 10:33:07.169 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 13-Dec-2024 10:33:07.176 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-41987"] 13-Dec-2024 10:33:07.177 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@73ee04c8] to web application [weaving]. 13-Dec-2024 10:33:07.177 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7671cb68] to web application [weaving]. 13-Dec-2024 10:33:07.178 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7671cb68] from web application [weaving]. 13-Dec-2024 10:33:07.180 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-41987"] 13-Dec-2024 10:33:07.182 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 10:33:07.183 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-41987"] 13-Dec-2024 10:33:07.183 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-41987"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.258 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.073 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.052 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.049 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.044 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.065 sec Testcase: testAddingNullTransformerThrowsException took 0.031 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.074 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.062 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.056 sec