Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.129 sec ------------- Standard Error ----------------- 06-Aug-2024 09:19:07.339 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 06-Aug-2024 09:19:08.813 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 06-Aug-2024 09:19:09.025 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Aug-2024 09:19:09.026 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Aug-2024 09:19:09.261 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-43917"] 06-Aug-2024 09:19:09.340 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-43917"] 06-Aug-2024 09:19:09.347 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Aug-2024 09:19:09.348 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-43917"] 06-Aug-2024 09:19:09.361 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-43917"] 06-Aug-2024 09:19:09.370 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 06-Aug-2024 09:19:09.371 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 06-Aug-2024 09:19:09.483 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Aug-2024 09:19:09.484 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Aug-2024 09:19:09.495 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-34779"] 06-Aug-2024 09:19:09.516 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@49e5f737] to web application [weaving]. 06-Aug-2024 09:19:09.521 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-34779"] 06-Aug-2024 09:19:09.522 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Aug-2024 09:19:09.522 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-34779"] 06-Aug-2024 09:19:09.524 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-34779"] 06-Aug-2024 09:19:09.529 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 06-Aug-2024 09:19:09.534 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 06-Aug-2024 09:19:09.626 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Aug-2024 09:19:09.626 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Aug-2024 09:19:09.641 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-40781"] 06-Aug-2024 09:19:09.641 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@38e79ae3] to web application [weaving]. 06-Aug-2024 09:19:09.645 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-40781"] 06-Aug-2024 09:19:09.647 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Aug-2024 09:19:09.647 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-40781"] 06-Aug-2024 09:19:09.648 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-40781"] 06-Aug-2024 09:19:09.658 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 06-Aug-2024 09:19:09.660 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 06-Aug-2024 09:19:09.761 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Aug-2024 09:19:09.762 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Aug-2024 09:19:09.777 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-35671"] 06-Aug-2024 09:19:09.781 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@68267da0] to web application [weaving]. 06-Aug-2024 09:19:09.782 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2638011] to web application [weaving]. 06-Aug-2024 09:19:09.794 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-35671"] 06-Aug-2024 09:19:09.796 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Aug-2024 09:19:09.797 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-35671"] 06-Aug-2024 09:19:09.801 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-35671"] 06-Aug-2024 09:19:09.805 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 06-Aug-2024 09:19:09.808 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 06-Aug-2024 09:19:09.842 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Aug-2024 09:19:09.842 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Aug-2024 09:19:09.851 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37369"] 06-Aug-2024 09:19:09.852 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2b4bac49] to web application [weaving]. 06-Aug-2024 09:19:09.852 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@fd07cbb] to web application [weaving]. 06-Aug-2024 09:19:09.856 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37369"] 06-Aug-2024 09:19:09.860 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Aug-2024 09:19:09.860 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37369"] 06-Aug-2024 09:19:09.861 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37369"] 06-Aug-2024 09:19:09.865 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 06-Aug-2024 09:19:09.866 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 06-Aug-2024 09:19:09.885 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Aug-2024 09:19:09.885 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Aug-2024 09:19:09.890 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-38395"] 06-Aug-2024 09:19:09.890 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@45ca843] to web application [weaving]. 06-Aug-2024 09:19:09.890 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@11c9af63] to web application [weaving]. 06-Aug-2024 09:19:09.894 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-38395"] 06-Aug-2024 09:19:09.895 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Aug-2024 09:19:09.896 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-38395"] 06-Aug-2024 09:19:09.897 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-38395"] 06-Aug-2024 09:19:09.901 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 06-Aug-2024 09:19:09.902 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 06-Aug-2024 09:19:09.921 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Aug-2024 09:19:09.922 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Aug-2024 09:19:09.942 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-36305"] 06-Aug-2024 09:19:09.953 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-36305"] 06-Aug-2024 09:19:09.954 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Aug-2024 09:19:09.954 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-36305"] 06-Aug-2024 09:19:09.955 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-36305"] 06-Aug-2024 09:19:09.957 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 06-Aug-2024 09:19:09.958 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 06-Aug-2024 09:19:10.036 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Aug-2024 09:19:10.036 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Aug-2024 09:19:10.044 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33917"] 06-Aug-2024 09:19:10.050 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2525ff7e] to web application [weaving]. 06-Aug-2024 09:19:10.050 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2525ff7e] from web application [weaving]. 06-Aug-2024 09:19:10.053 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33917"] 06-Aug-2024 09:19:10.056 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Aug-2024 09:19:10.056 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33917"] 06-Aug-2024 09:19:10.057 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33917"] 06-Aug-2024 09:19:10.060 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 06-Aug-2024 09:19:10.061 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 06-Aug-2024 09:19:10.087 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Aug-2024 09:19:10.087 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Aug-2024 09:19:10.092 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-37241"] 06-Aug-2024 09:19:10.093 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@29647f75] to web application [weaving]. 06-Aug-2024 09:19:10.093 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3315d2d7] to web application [weaving]. 06-Aug-2024 09:19:10.093 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3315d2d7] from web application [weaving]. 06-Aug-2024 09:19:10.096 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-37241"] 06-Aug-2024 09:19:10.098 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Aug-2024 09:19:10.098 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-37241"] 06-Aug-2024 09:19:10.099 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-37241"] 06-Aug-2024 09:19:10.102 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 06-Aug-2024 09:19:10.104 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 06-Aug-2024 09:19:10.169 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Aug-2024 09:19:10.169 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Aug-2024 09:19:10.176 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-45289"] 06-Aug-2024 09:19:10.177 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4d910fd6] to web application [weaving]. 06-Aug-2024 09:19:10.177 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@26275bef] to web application [weaving]. 06-Aug-2024 09:19:10.177 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@26275bef] from web application [weaving]. 06-Aug-2024 09:19:10.180 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-45289"] 06-Aug-2024 09:19:10.183 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Aug-2024 09:19:10.183 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-45289"] 06-Aug-2024 09:19:10.184 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-45289"] ------------- ---------------- --------------- Testcase: testNoWeaving took 2.182 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.159 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.129 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.146 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.06 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.036 sec Testcase: testAddingNullTransformerThrowsException took 0.056 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.102 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.042 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.084 sec