Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.846 sec ------------- Standard Error ----------------- 10-Sep-2024 15:01:57.373 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 10-Sep-2024 15:01:58.569 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 10-Sep-2024 15:01:58.696 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Sep-2024 15:01:58.697 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 10-Sep-2024 15:01:58.912 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-34233"] 10-Sep-2024 15:01:58.963 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-34233"] 10-Sep-2024 15:01:58.977 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Sep-2024 15:01:58.978 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-34233"] 10-Sep-2024 15:01:58.985 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-34233"] 10-Sep-2024 15:01:59.001 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 10-Sep-2024 15:01:59.003 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 10-Sep-2024 15:01:59.073 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Sep-2024 15:01:59.073 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 10-Sep-2024 15:01:59.086 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-35603"] 10-Sep-2024 15:01:59.093 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@687e99d8] to web application [weaving]. 10-Sep-2024 15:01:59.097 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-35603"] 10-Sep-2024 15:01:59.098 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Sep-2024 15:01:59.098 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-35603"] 10-Sep-2024 15:01:59.100 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-35603"] 10-Sep-2024 15:01:59.104 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 10-Sep-2024 15:01:59.106 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 10-Sep-2024 15:01:59.134 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Sep-2024 15:01:59.134 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 10-Sep-2024 15:01:59.142 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-40937"] 10-Sep-2024 15:01:59.145 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@291b4bf5] to web application [weaving]. 10-Sep-2024 15:01:59.151 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-40937"] 10-Sep-2024 15:01:59.152 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Sep-2024 15:01:59.154 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-40937"] 10-Sep-2024 15:01:59.154 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-40937"] 10-Sep-2024 15:01:59.159 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 10-Sep-2024 15:01:59.161 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 10-Sep-2024 15:01:59.239 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Sep-2024 15:01:59.240 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 10-Sep-2024 15:01:59.250 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42119"] 10-Sep-2024 15:01:59.257 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6a2b953e] to web application [weaving]. 10-Sep-2024 15:01:59.257 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@313b2ea6] to web application [weaving]. 10-Sep-2024 15:01:59.272 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42119"] 10-Sep-2024 15:01:59.274 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Sep-2024 15:01:59.279 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42119"] 10-Sep-2024 15:01:59.281 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42119"] 10-Sep-2024 15:01:59.293 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 10-Sep-2024 15:01:59.296 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 10-Sep-2024 15:01:59.324 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Sep-2024 15:01:59.343 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 10-Sep-2024 15:01:59.355 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-45779"] 10-Sep-2024 15:01:59.364 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3e96bacf] to web application [weaving]. 10-Sep-2024 15:01:59.364 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@484970b0] to web application [weaving]. 10-Sep-2024 15:01:59.368 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-45779"] 10-Sep-2024 15:01:59.369 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Sep-2024 15:01:59.370 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-45779"] 10-Sep-2024 15:01:59.378 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-45779"] 10-Sep-2024 15:01:59.383 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 10-Sep-2024 15:01:59.384 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 10-Sep-2024 15:01:59.455 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Sep-2024 15:01:59.456 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 10-Sep-2024 15:01:59.471 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-35333"] 10-Sep-2024 15:01:59.477 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@36b4fe2a] to web application [weaving]. 10-Sep-2024 15:01:59.477 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@574b560f] to web application [weaving]. 10-Sep-2024 15:01:59.481 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-35333"] 10-Sep-2024 15:01:59.482 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Sep-2024 15:01:59.482 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-35333"] 10-Sep-2024 15:01:59.483 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-35333"] 10-Sep-2024 15:01:59.486 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 10-Sep-2024 15:01:59.487 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 10-Sep-2024 15:01:59.554 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Sep-2024 15:01:59.554 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 10-Sep-2024 15:01:59.560 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-37967"] 10-Sep-2024 15:01:59.566 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-37967"] 10-Sep-2024 15:01:59.576 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Sep-2024 15:01:59.576 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-37967"] 10-Sep-2024 15:01:59.577 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-37967"] 10-Sep-2024 15:01:59.579 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 10-Sep-2024 15:01:59.581 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 10-Sep-2024 15:01:59.647 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Sep-2024 15:01:59.647 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 10-Sep-2024 15:01:59.660 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36357"] 10-Sep-2024 15:01:59.663 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@44a7bfbc] to web application [weaving]. 10-Sep-2024 15:01:59.663 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@44a7bfbc] from web application [weaving]. 10-Sep-2024 15:01:59.667 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36357"] 10-Sep-2024 15:01:59.672 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Sep-2024 15:01:59.673 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36357"] 10-Sep-2024 15:01:59.674 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36357"] 10-Sep-2024 15:01:59.680 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 10-Sep-2024 15:01:59.684 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 10-Sep-2024 15:01:59.792 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Sep-2024 15:01:59.792 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 10-Sep-2024 15:01:59.801 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36313"] 10-Sep-2024 15:01:59.803 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5fa07e12] to web application [weaving]. 10-Sep-2024 15:01:59.803 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@55b53d44] to web application [weaving]. 10-Sep-2024 15:01:59.803 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@55b53d44] from web application [weaving]. 10-Sep-2024 15:01:59.806 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36313"] 10-Sep-2024 15:01:59.808 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Sep-2024 15:01:59.808 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36313"] 10-Sep-2024 15:01:59.809 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36313"] 10-Sep-2024 15:01:59.814 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 10-Sep-2024 15:01:59.815 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 10-Sep-2024 15:01:59.880 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Sep-2024 15:01:59.880 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 10-Sep-2024 15:01:59.885 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36171"] 10-Sep-2024 15:01:59.886 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@77eca502] to web application [weaving]. 10-Sep-2024 15:01:59.887 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3246fb96] to web application [weaving]. 10-Sep-2024 15:01:59.887 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3246fb96] from web application [weaving]. 10-Sep-2024 15:01:59.890 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36171"] 10-Sep-2024 15:01:59.891 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Sep-2024 15:01:59.891 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36171"] 10-Sep-2024 15:01:59.891 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36171"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.8 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.104 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.054 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.134 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.089 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.103 sec Testcase: testAddingNullTransformerThrowsException took 0.094 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.1 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.133 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.082 sec