Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.039 sec ------------- Standard Error ----------------- 10-Oct-2024 11:10:18.735 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 10-Oct-2024 11:10:19.894 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 10-Oct-2024 11:10:20.041 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Oct-2024 11:10:20.041 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 10-Oct-2024 11:10:20.363 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-36041"] 10-Oct-2024 11:10:20.542 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-36041"] 10-Oct-2024 11:10:20.558 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Oct-2024 11:10:20.559 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-36041"] 10-Oct-2024 11:10:20.574 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-36041"] 10-Oct-2024 11:10:20.595 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 10-Oct-2024 11:10:20.615 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 10-Oct-2024 11:10:20.624 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Oct-2024 11:10:20.624 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 10-Oct-2024 11:10:20.652 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-39677"] 10-Oct-2024 11:10:20.696 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@e4487af] to web application [weaving]. 10-Oct-2024 11:10:20.711 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-39677"] 10-Oct-2024 11:10:20.712 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Oct-2024 11:10:20.713 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-39677"] 10-Oct-2024 11:10:20.718 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-39677"] 10-Oct-2024 11:10:20.720 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 10-Oct-2024 11:10:20.721 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 10-Oct-2024 11:10:20.722 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Oct-2024 11:10:20.725 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 10-Oct-2024 11:10:20.750 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-39499"] 10-Oct-2024 11:10:20.834 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@291b4bf5] to web application [weaving]. 10-Oct-2024 11:10:20.840 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-39499"] 10-Oct-2024 11:10:20.842 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Oct-2024 11:10:20.843 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-39499"] 10-Oct-2024 11:10:20.852 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-39499"] 10-Oct-2024 11:10:20.854 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 10-Oct-2024 11:10:20.856 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 10-Oct-2024 11:10:20.856 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Oct-2024 11:10:20.856 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 10-Oct-2024 11:10:20.866 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-41009"] 10-Oct-2024 11:10:20.906 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6ff29830] to web application [weaving]. 10-Oct-2024 11:10:20.907 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6a2b953e] to web application [weaving]. 10-Oct-2024 11:10:20.913 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-41009"] 10-Oct-2024 11:10:20.913 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Oct-2024 11:10:20.914 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-41009"] 10-Oct-2024 11:10:20.917 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-41009"] 10-Oct-2024 11:10:20.919 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 10-Oct-2024 11:10:20.920 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 10-Oct-2024 11:10:20.924 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Oct-2024 11:10:20.926 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 10-Oct-2024 11:10:20.934 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-36665"] 10-Oct-2024 11:10:20.937 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3f56875e] to web application [weaving]. 10-Oct-2024 11:10:20.937 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2b4bac49] to web application [weaving]. 10-Oct-2024 11:10:20.941 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-36665"] 10-Oct-2024 11:10:20.945 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Oct-2024 11:10:20.945 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-36665"] 10-Oct-2024 11:10:20.947 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-36665"] 10-Oct-2024 11:10:20.952 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 10-Oct-2024 11:10:20.956 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 10-Oct-2024 11:10:20.957 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Oct-2024 11:10:20.957 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 10-Oct-2024 11:10:20.966 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-38597"] 10-Oct-2024 11:10:20.979 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@186f8716] to web application [weaving]. 10-Oct-2024 11:10:20.980 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1d8bd0de] to web application [weaving]. 10-Oct-2024 11:10:20.984 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-38597"] 10-Oct-2024 11:10:20.987 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Oct-2024 11:10:20.988 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-38597"] 10-Oct-2024 11:10:20.995 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-38597"] 10-Oct-2024 11:10:20.997 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 10-Oct-2024 11:10:20.999 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 10-Oct-2024 11:10:21.000 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Oct-2024 11:10:21.001 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 10-Oct-2024 11:10:21.032 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-37273"] 10-Oct-2024 11:10:21.109 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-37273"] 10-Oct-2024 11:10:21.109 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Oct-2024 11:10:21.110 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-37273"] 10-Oct-2024 11:10:21.112 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-37273"] 10-Oct-2024 11:10:21.115 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 10-Oct-2024 11:10:21.118 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 10-Oct-2024 11:10:21.121 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Oct-2024 11:10:21.122 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 10-Oct-2024 11:10:21.127 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-36189"] 10-Oct-2024 11:10:21.226 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2e1d27ba] to web application [weaving]. 10-Oct-2024 11:10:21.227 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2e1d27ba] from web application [weaving]. 10-Oct-2024 11:10:21.231 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-36189"] 10-Oct-2024 11:10:21.231 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Oct-2024 11:10:21.231 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-36189"] 10-Oct-2024 11:10:21.233 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-36189"] 10-Oct-2024 11:10:21.235 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 10-Oct-2024 11:10:21.237 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 10-Oct-2024 11:10:21.237 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Oct-2024 11:10:21.237 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 10-Oct-2024 11:10:21.259 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-45685"] 10-Oct-2024 11:10:21.355 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@13b13b5d] to web application [weaving]. 10-Oct-2024 11:10:21.356 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2892dae4] to web application [weaving]. 10-Oct-2024 11:10:21.356 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2892dae4] from web application [weaving]. 10-Oct-2024 11:10:21.359 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-45685"] 10-Oct-2024 11:10:21.360 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Oct-2024 11:10:21.360 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-45685"] 10-Oct-2024 11:10:21.382 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-45685"] 10-Oct-2024 11:10:21.384 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 10-Oct-2024 11:10:21.392 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 10-Oct-2024 11:10:21.393 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Oct-2024 11:10:21.393 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 10-Oct-2024 11:10:21.410 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-33351"] 10-Oct-2024 11:10:21.430 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@51f116b8] to web application [weaving]. 10-Oct-2024 11:10:21.430 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@19d481b] to web application [weaving]. 10-Oct-2024 11:10:21.430 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@19d481b] from web application [weaving]. 10-Oct-2024 11:10:21.433 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-33351"] 10-Oct-2024 11:10:21.433 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Oct-2024 11:10:21.433 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-33351"] 10-Oct-2024 11:10:21.445 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-33351"] ------------- ---------------- --------------- Testcase: testNoWeaving took 2.044 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.125 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.134 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.064 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.032 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.045 sec Testcase: testAddingNullTransformerThrowsException took 0.116 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.122 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.148 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.063 sec