Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.903 sec ------------- Standard Error ----------------- 23-Dec-2024 11:44:10.578 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 23-Dec-2024 11:44:11.361 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 23-Dec-2024 11:44:11.465 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Dec-2024 11:44:11.465 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.35-dev] 23-Dec-2024 11:44:11.613 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-38083"] 23-Dec-2024 11:44:11.662 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-38083"] 23-Dec-2024 11:44:11.674 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Dec-2024 11:44:11.677 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-38083"] 23-Dec-2024 11:44:11.682 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-38083"] 23-Dec-2024 11:44:11.688 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 23-Dec-2024 11:44:11.692 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 23-Dec-2024 11:44:11.692 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Dec-2024 11:44:11.693 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.35-dev] 23-Dec-2024 11:44:11.701 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-42771"] 23-Dec-2024 11:44:11.806 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3af9c5b7] to web application [weaving]. 23-Dec-2024 11:44:11.810 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-42771"] 23-Dec-2024 11:44:11.811 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Dec-2024 11:44:11.812 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-42771"] 23-Dec-2024 11:44:11.815 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-42771"] 23-Dec-2024 11:44:11.817 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 23-Dec-2024 11:44:11.829 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 23-Dec-2024 11:44:11.830 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Dec-2024 11:44:11.830 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.35-dev] 23-Dec-2024 11:44:11.852 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-45985"] 23-Dec-2024 11:44:11.865 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@424e1977] to web application [weaving]. 23-Dec-2024 11:44:11.869 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-45985"] 23-Dec-2024 11:44:11.872 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Dec-2024 11:44:11.872 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-45985"] 23-Dec-2024 11:44:11.877 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-45985"] 23-Dec-2024 11:44:11.879 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 23-Dec-2024 11:44:11.881 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 23-Dec-2024 11:44:11.881 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Dec-2024 11:44:11.882 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.35-dev] 23-Dec-2024 11:44:11.887 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-32809"] 23-Dec-2024 11:44:11.901 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@548e6d58] to web application [weaving]. 23-Dec-2024 11:44:11.901 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@623a8092] to web application [weaving]. 23-Dec-2024 11:44:11.906 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-32809"] 23-Dec-2024 11:44:11.909 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Dec-2024 11:44:11.909 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-32809"] 23-Dec-2024 11:44:11.912 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-32809"] 23-Dec-2024 11:44:11.917 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 23-Dec-2024 11:44:11.918 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 23-Dec-2024 11:44:11.919 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Dec-2024 11:44:11.919 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.35-dev] 23-Dec-2024 11:44:11.923 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-41457"] 23-Dec-2024 11:44:11.925 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3e96bacf] to web application [weaving]. 23-Dec-2024 11:44:11.925 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@484970b0] to web application [weaving]. 23-Dec-2024 11:44:11.928 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-41457"] 23-Dec-2024 11:44:11.929 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Dec-2024 11:44:11.930 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-41457"] 23-Dec-2024 11:44:11.934 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-41457"] 23-Dec-2024 11:44:11.937 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 23-Dec-2024 11:44:11.943 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 23-Dec-2024 11:44:11.944 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Dec-2024 11:44:11.944 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.35-dev] 23-Dec-2024 11:44:11.950 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-45737"] 23-Dec-2024 11:44:11.971 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@757acd7b] to web application [weaving]. 23-Dec-2024 11:44:11.971 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@36b4fe2a] to web application [weaving]. 23-Dec-2024 11:44:11.974 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-45737"] 23-Dec-2024 11:44:11.977 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Dec-2024 11:44:11.977 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-45737"] 23-Dec-2024 11:44:11.978 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-45737"] 23-Dec-2024 11:44:11.979 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 23-Dec-2024 11:44:11.981 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 23-Dec-2024 11:44:11.981 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Dec-2024 11:44:11.981 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.35-dev] 23-Dec-2024 11:44:11.991 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-41903"] 23-Dec-2024 11:44:12.000 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-41903"] 23-Dec-2024 11:44:12.002 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Dec-2024 11:44:12.002 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-41903"] 23-Dec-2024 11:44:12.004 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-41903"] 23-Dec-2024 11:44:12.008 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 23-Dec-2024 11:44:12.010 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 23-Dec-2024 11:44:12.010 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Dec-2024 11:44:12.011 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.35-dev] 23-Dec-2024 11:44:12.030 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-42405"] 23-Dec-2024 11:44:12.060 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@152aa092] to web application [weaving]. 23-Dec-2024 11:44:12.060 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@152aa092] from web application [weaving]. 23-Dec-2024 11:44:12.064 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-42405"] 23-Dec-2024 11:44:12.067 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Dec-2024 11:44:12.067 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-42405"] 23-Dec-2024 11:44:12.074 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-42405"] 23-Dec-2024 11:44:12.075 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 23-Dec-2024 11:44:12.077 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 23-Dec-2024 11:44:12.078 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Dec-2024 11:44:12.078 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.35-dev] 23-Dec-2024 11:44:12.085 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-44973"] 23-Dec-2024 11:44:12.133 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3315d2d7] to web application [weaving]. 23-Dec-2024 11:44:12.133 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@d6e7bab] to web application [weaving]. 23-Dec-2024 11:44:12.133 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@d6e7bab] from web application [weaving]. 23-Dec-2024 11:44:12.136 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-44973"] 23-Dec-2024 11:44:12.137 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Dec-2024 11:44:12.137 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-44973"] 23-Dec-2024 11:44:12.140 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-44973"] 23-Dec-2024 11:44:12.144 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 23-Dec-2024 11:44:12.147 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 23-Dec-2024 11:44:12.150 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Dec-2024 11:44:12.150 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.35-dev] 23-Dec-2024 11:44:12.170 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-43401"] 23-Dec-2024 11:44:12.194 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4d910fd6] to web application [weaving]. 23-Dec-2024 11:44:12.194 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@26275bef] to web application [weaving]. 23-Dec-2024 11:44:12.194 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@26275bef] from web application [weaving]. 23-Dec-2024 11:44:12.198 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-43401"] 23-Dec-2024 11:44:12.198 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Dec-2024 11:44:12.201 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-43401"] 23-Dec-2024 11:44:12.203 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-43401"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.238 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.129 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.062 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.038 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.019 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.043 sec Testcase: testAddingNullTransformerThrowsException took 0.027 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.069 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.068 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.061 sec