Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.161 sec ------------- Standard Error ----------------- 23-Aug-2024 10:57:26.259 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 23-Aug-2024 10:57:27.377 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 23-Aug-2024 10:57:27.530 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Aug-2024 10:57:27.530 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 23-Aug-2024 10:57:27.804 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-38763"] 23-Aug-2024 10:57:27.847 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-38763"] 23-Aug-2024 10:57:27.871 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Aug-2024 10:57:27.873 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-38763"] 23-Aug-2024 10:57:27.876 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-38763"] 23-Aug-2024 10:57:27.886 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 23-Aug-2024 10:57:27.895 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 23-Aug-2024 10:57:28.020 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Aug-2024 10:57:28.020 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 23-Aug-2024 10:57:28.030 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-38499"] 23-Aug-2024 10:57:28.036 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@5c671d7f] to web application [weaving]. 23-Aug-2024 10:57:28.040 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-38499"] 23-Aug-2024 10:57:28.041 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Aug-2024 10:57:28.042 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-38499"] 23-Aug-2024 10:57:28.043 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-38499"] 23-Aug-2024 10:57:28.052 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 23-Aug-2024 10:57:28.076 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 23-Aug-2024 10:57:28.193 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Aug-2024 10:57:28.194 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 23-Aug-2024 10:57:28.215 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-43583"] 23-Aug-2024 10:57:28.227 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@63070bab] to web application [weaving]. 23-Aug-2024 10:57:28.232 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-43583"] 23-Aug-2024 10:57:28.235 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Aug-2024 10:57:28.236 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-43583"] 23-Aug-2024 10:57:28.236 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-43583"] 23-Aug-2024 10:57:28.239 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 23-Aug-2024 10:57:28.240 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 23-Aug-2024 10:57:28.335 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Aug-2024 10:57:28.336 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 23-Aug-2024 10:57:28.353 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44695"] 23-Aug-2024 10:57:28.358 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@2638011] to web application [weaving]. 23-Aug-2024 10:57:28.358 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@6ff29830] to web application [weaving]. 23-Aug-2024 10:57:28.364 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44695"] 23-Aug-2024 10:57:28.365 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Aug-2024 10:57:28.365 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44695"] 23-Aug-2024 10:57:28.366 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44695"] 23-Aug-2024 10:57:28.372 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 23-Aug-2024 10:57:28.373 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 23-Aug-2024 10:57:28.469 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Aug-2024 10:57:28.469 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 23-Aug-2024 10:57:28.488 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-44805"] 23-Aug-2024 10:57:28.493 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@fd07cbb] to web application [weaving]. 23-Aug-2024 10:57:28.493 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3571b748] to web application [weaving]. 23-Aug-2024 10:57:28.499 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-44805"] 23-Aug-2024 10:57:28.500 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Aug-2024 10:57:28.500 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-44805"] 23-Aug-2024 10:57:28.507 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-44805"] 23-Aug-2024 10:57:28.522 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 23-Aug-2024 10:57:28.527 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 23-Aug-2024 10:57:28.575 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Aug-2024 10:57:28.576 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 23-Aug-2024 10:57:28.584 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40399"] 23-Aug-2024 10:57:28.585 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@11c9af63] to web application [weaving]. 23-Aug-2024 10:57:28.586 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@757acd7b] to web application [weaving]. 23-Aug-2024 10:57:28.592 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40399"] 23-Aug-2024 10:57:28.594 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Aug-2024 10:57:28.594 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40399"] 23-Aug-2024 10:57:28.595 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40399"] 23-Aug-2024 10:57:28.599 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 23-Aug-2024 10:57:28.602 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 23-Aug-2024 10:57:28.691 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Aug-2024 10:57:28.691 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 23-Aug-2024 10:57:28.703 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-45219"] 23-Aug-2024 10:57:28.720 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-45219"] 23-Aug-2024 10:57:28.721 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Aug-2024 10:57:28.722 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-45219"] 23-Aug-2024 10:57:28.722 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-45219"] 23-Aug-2024 10:57:28.729 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 23-Aug-2024 10:57:28.730 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 23-Aug-2024 10:57:28.798 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Aug-2024 10:57:28.799 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 23-Aug-2024 10:57:28.808 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-35533"] 23-Aug-2024 10:57:28.815 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@524d6d96] to web application [weaving]. 23-Aug-2024 10:57:28.815 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@524d6d96] from web application [weaving]. 23-Aug-2024 10:57:28.819 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-35533"] 23-Aug-2024 10:57:28.820 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Aug-2024 10:57:28.820 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-35533"] 23-Aug-2024 10:57:28.821 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-35533"] 23-Aug-2024 10:57:28.828 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 23-Aug-2024 10:57:28.830 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 23-Aug-2024 10:57:28.900 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Aug-2024 10:57:28.901 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 23-Aug-2024 10:57:28.910 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41049"] 23-Aug-2024 10:57:28.927 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@3315d2d7] to web application [weaving]. 23-Aug-2024 10:57:28.927 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@d6e7bab] to web application [weaving]. 23-Aug-2024 10:57:28.927 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@d6e7bab] from web application [weaving]. 23-Aug-2024 10:57:28.931 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41049"] 23-Aug-2024 10:57:28.932 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Aug-2024 10:57:28.932 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41049"] 23-Aug-2024 10:57:28.933 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41049"] 23-Aug-2024 10:57:28.935 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 23-Aug-2024 10:57:28.936 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 23-Aug-2024 10:57:29.042 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Aug-2024 10:57:29.042 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 23-Aug-2024 10:57:29.059 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-39119"] 23-Aug-2024 10:57:29.075 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@26275bef] to web application [weaving]. 23-Aug-2024 10:57:29.075 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7690781] to web application [weaving]. 23-Aug-2024 10:57:29.076 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7690781] from web application [weaving]. 23-Aug-2024 10:57:29.080 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-39119"] 23-Aug-2024 10:57:29.081 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Aug-2024 10:57:29.081 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-39119"] 23-Aug-2024 10:57:29.082 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-39119"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.817 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.166 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.187 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.133 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.148 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.078 sec Testcase: testAddingNullTransformerThrowsException took 0.126 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.102 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.106 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.153 sec