Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.663 sec ------------- Standard Error ----------------- 04-Nov-2024 15:06:36.803 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 04-Nov-2024 15:06:38.052 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 04-Nov-2024 15:06:38.229 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Nov-2024 15:06:38.230 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 04-Nov-2024 15:06:38.527 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37043"] 04-Nov-2024 15:06:38.569 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37043"] 04-Nov-2024 15:06:38.577 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Nov-2024 15:06:38.578 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37043"] 04-Nov-2024 15:06:38.581 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37043"] 04-Nov-2024 15:06:38.589 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 04-Nov-2024 15:06:38.591 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 04-Nov-2024 15:06:38.657 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Nov-2024 15:06:38.657 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 04-Nov-2024 15:06:38.662 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-44481"] 04-Nov-2024 15:06:38.664 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@10aa41f2] to web application [weaving]. 04-Nov-2024 15:06:38.667 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-44481"] 04-Nov-2024 15:06:38.668 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Nov-2024 15:06:38.669 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-44481"] 04-Nov-2024 15:06:38.669 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-44481"] 04-Nov-2024 15:06:38.674 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 04-Nov-2024 15:06:38.676 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 04-Nov-2024 15:06:38.728 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Nov-2024 15:06:38.729 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 04-Nov-2024 15:06:38.734 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-35967"] 04-Nov-2024 15:06:38.735 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@424e1977] to web application [weaving]. 04-Nov-2024 15:06:38.739 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-35967"] 04-Nov-2024 15:06:38.740 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Nov-2024 15:06:38.740 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-35967"] 04-Nov-2024 15:06:38.740 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-35967"] 04-Nov-2024 15:06:38.743 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 04-Nov-2024 15:06:38.745 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 04-Nov-2024 15:06:38.770 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Nov-2024 15:06:38.770 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 04-Nov-2024 15:06:38.777 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34395"] 04-Nov-2024 15:06:38.779 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@623a8092] to web application [weaving]. 04-Nov-2024 15:06:38.779 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@a1cdc6d] to web application [weaving]. 04-Nov-2024 15:06:38.788 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34395"] 04-Nov-2024 15:06:38.789 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Nov-2024 15:06:38.790 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34395"] 04-Nov-2024 15:06:38.791 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34395"] 04-Nov-2024 15:06:38.800 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 04-Nov-2024 15:06:38.801 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 04-Nov-2024 15:06:38.806 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Nov-2024 15:06:38.806 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 04-Nov-2024 15:06:38.841 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43375"] 04-Nov-2024 15:06:38.842 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7748410a] to web application [weaving]. 04-Nov-2024 15:06:38.843 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@740773a3] to web application [weaving]. 04-Nov-2024 15:06:38.847 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43375"] 04-Nov-2024 15:06:38.848 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Nov-2024 15:06:38.848 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43375"] 04-Nov-2024 15:06:38.855 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43375"] 04-Nov-2024 15:06:38.862 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 04-Nov-2024 15:06:38.866 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 04-Nov-2024 15:06:38.883 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Nov-2024 15:06:38.883 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 04-Nov-2024 15:06:38.891 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-35597"] 04-Nov-2024 15:06:38.892 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3943a2be] to web application [weaving]. 04-Nov-2024 15:06:38.892 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@343570b7] to web application [weaving]. 04-Nov-2024 15:06:38.897 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-35597"] 04-Nov-2024 15:06:38.898 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Nov-2024 15:06:38.899 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-35597"] 04-Nov-2024 15:06:38.900 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-35597"] 04-Nov-2024 15:06:38.912 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 04-Nov-2024 15:06:38.914 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 04-Nov-2024 15:06:38.939 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Nov-2024 15:06:38.940 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 04-Nov-2024 15:06:38.951 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-34003"] 04-Nov-2024 15:06:38.962 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-34003"] 04-Nov-2024 15:06:38.964 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Nov-2024 15:06:38.964 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-34003"] 04-Nov-2024 15:06:38.968 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-34003"] 04-Nov-2024 15:06:38.985 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 04-Nov-2024 15:06:38.987 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 04-Nov-2024 15:06:39.018 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Nov-2024 15:06:39.018 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 04-Nov-2024 15:06:39.042 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-44189"] 04-Nov-2024 15:06:39.047 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4e268090] to web application [weaving]. 04-Nov-2024 15:06:39.047 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4e268090] from web application [weaving]. 04-Nov-2024 15:06:39.050 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-44189"] 04-Nov-2024 15:06:39.051 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Nov-2024 15:06:39.052 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-44189"] 04-Nov-2024 15:06:39.052 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-44189"] 04-Nov-2024 15:06:39.056 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 04-Nov-2024 15:06:39.058 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 04-Nov-2024 15:06:39.078 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Nov-2024 15:06:39.078 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 04-Nov-2024 15:06:39.090 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36619"] 04-Nov-2024 15:06:39.092 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6a6afff2] to web application [weaving]. 04-Nov-2024 15:06:39.093 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1649b0e6] to web application [weaving]. 04-Nov-2024 15:06:39.093 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1649b0e6] from web application [weaving]. 04-Nov-2024 15:06:39.095 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36619"] 04-Nov-2024 15:06:39.099 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Nov-2024 15:06:39.100 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36619"] 04-Nov-2024 15:06:39.100 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36619"] 04-Nov-2024 15:06:39.105 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 04-Nov-2024 15:06:39.110 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 04-Nov-2024 15:06:39.121 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Nov-2024 15:06:39.121 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 04-Nov-2024 15:06:39.155 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36209"] 04-Nov-2024 15:06:39.159 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@73ee04c8] to web application [weaving]. 04-Nov-2024 15:06:39.159 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7671cb68] to web application [weaving]. 04-Nov-2024 15:06:39.159 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7671cb68] from web application [weaving]. 04-Nov-2024 15:06:39.163 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36209"] 04-Nov-2024 15:06:39.165 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Nov-2024 15:06:39.165 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36209"] 04-Nov-2024 15:06:39.166 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36209"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.927 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.084 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.07 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.05 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.063 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.054 sec Testcase: testAddingNullTransformerThrowsException took 0.06 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.084 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.049 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.069 sec