Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.651 sec ------------- Standard Error ----------------- 16-Dec-2024 11:28:36.646 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 16-Dec-2024 11:28:37.514 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 16-Dec-2024 11:28:37.555 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Dec-2024 11:28:37.555 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.35-dev] 16-Dec-2024 11:28:37.701 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-40395"] 16-Dec-2024 11:28:37.830 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-40395"] 16-Dec-2024 11:28:37.836 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Dec-2024 11:28:37.837 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-40395"] 16-Dec-2024 11:28:37.841 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-40395"] 16-Dec-2024 11:28:37.848 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 16-Dec-2024 11:28:37.849 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 16-Dec-2024 11:28:37.850 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Dec-2024 11:28:37.850 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.35-dev] 16-Dec-2024 11:28:37.855 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-34275"] 16-Dec-2024 11:28:37.874 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3af9c5b7] to web application [weaving]. 16-Dec-2024 11:28:37.879 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-34275"] 16-Dec-2024 11:28:37.882 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Dec-2024 11:28:37.883 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-34275"] 16-Dec-2024 11:28:37.884 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-34275"] 16-Dec-2024 11:28:37.886 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 16-Dec-2024 11:28:37.888 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 16-Dec-2024 11:28:37.889 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Dec-2024 11:28:37.889 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.35-dev] 16-Dec-2024 11:28:37.895 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-33713"] 16-Dec-2024 11:28:37.911 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@424e1977] to web application [weaving]. 16-Dec-2024 11:28:37.915 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-33713"] 16-Dec-2024 11:28:37.916 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Dec-2024 11:28:37.916 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-33713"] 16-Dec-2024 11:28:37.919 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-33713"] 16-Dec-2024 11:28:37.921 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 16-Dec-2024 11:28:37.922 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 16-Dec-2024 11:28:37.923 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Dec-2024 11:28:37.923 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.35-dev] 16-Dec-2024 11:28:37.928 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-33429"] 16-Dec-2024 11:28:37.952 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@548e6d58] to web application [weaving]. 16-Dec-2024 11:28:37.952 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@623a8092] to web application [weaving]. 16-Dec-2024 11:28:37.957 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-33429"] 16-Dec-2024 11:28:37.959 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Dec-2024 11:28:37.960 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-33429"] 16-Dec-2024 11:28:37.962 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-33429"] 16-Dec-2024 11:28:37.964 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 16-Dec-2024 11:28:37.965 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 16-Dec-2024 11:28:37.966 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Dec-2024 11:28:37.967 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.35-dev] 16-Dec-2024 11:28:37.977 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-38547"] 16-Dec-2024 11:28:37.980 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3e96bacf] to web application [weaving]. 16-Dec-2024 11:28:37.980 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@484970b0] to web application [weaving]. 16-Dec-2024 11:28:37.987 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-38547"] 16-Dec-2024 11:28:37.989 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Dec-2024 11:28:37.990 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-38547"] 16-Dec-2024 11:28:37.993 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-38547"] 16-Dec-2024 11:28:37.998 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 16-Dec-2024 11:28:38.000 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 16-Dec-2024 11:28:38.000 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Dec-2024 11:28:38.000 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.35-dev] 16-Dec-2024 11:28:38.005 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-33807"] 16-Dec-2024 11:28:38.012 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@757acd7b] to web application [weaving]. 16-Dec-2024 11:28:38.013 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@36b4fe2a] to web application [weaving]. 16-Dec-2024 11:28:38.016 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-33807"] 16-Dec-2024 11:28:38.017 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Dec-2024 11:28:38.017 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-33807"] 16-Dec-2024 11:28:38.020 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-33807"] 16-Dec-2024 11:28:38.022 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 16-Dec-2024 11:28:38.024 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 16-Dec-2024 11:28:38.025 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Dec-2024 11:28:38.025 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.35-dev] 16-Dec-2024 11:28:38.032 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-33811"] 16-Dec-2024 11:28:38.041 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-33811"] 16-Dec-2024 11:28:38.041 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Dec-2024 11:28:38.041 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-33811"] 16-Dec-2024 11:28:38.044 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-33811"] 16-Dec-2024 11:28:38.046 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 16-Dec-2024 11:28:38.047 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 16-Dec-2024 11:28:38.048 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Dec-2024 11:28:38.048 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.35-dev] 16-Dec-2024 11:28:38.054 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-42371"] 16-Dec-2024 11:28:38.060 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@152aa092] to web application [weaving]. 16-Dec-2024 11:28:38.060 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@152aa092] from web application [weaving]. 16-Dec-2024 11:28:38.064 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-42371"] 16-Dec-2024 11:28:38.065 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Dec-2024 11:28:38.065 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-42371"] 16-Dec-2024 11:28:38.067 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-42371"] 16-Dec-2024 11:28:38.069 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 16-Dec-2024 11:28:38.070 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 16-Dec-2024 11:28:38.071 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Dec-2024 11:28:38.071 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.35-dev] 16-Dec-2024 11:28:38.074 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-44327"] 16-Dec-2024 11:28:38.082 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3315d2d7] to web application [weaving]. 16-Dec-2024 11:28:38.082 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@d6e7bab] to web application [weaving]. 16-Dec-2024 11:28:38.082 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@d6e7bab] from web application [weaving]. 16-Dec-2024 11:28:38.085 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-44327"] 16-Dec-2024 11:28:38.086 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Dec-2024 11:28:38.086 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-44327"] 16-Dec-2024 11:28:38.087 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-44327"] 16-Dec-2024 11:28:38.089 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 16-Dec-2024 11:28:38.090 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 16-Dec-2024 11:28:38.091 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Dec-2024 11:28:38.091 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.35-dev] 16-Dec-2024 11:28:38.095 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-42689"] 16-Dec-2024 11:28:38.107 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4d910fd6] to web application [weaving]. 16-Dec-2024 11:28:38.107 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@26275bef] to web application [weaving]. 16-Dec-2024 11:28:38.107 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@26275bef] from web application [weaving]. 16-Dec-2024 11:28:38.110 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-42689"] 16-Dec-2024 11:28:38.111 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Dec-2024 11:28:38.112 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-42689"] 16-Dec-2024 11:28:38.113 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-42689"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.299 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.039 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.034 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.043 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.034 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.025 sec Testcase: testAddingNullTransformerThrowsException took 0.023 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.022 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.02 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.027 sec