Testsuite: org.apache.catalina.loader.TestWebappClassLoaderWeaving Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.639 sec ------------- Standard Error ----------------- 13-Dec-2024 18:51:06.476 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoWeaving] 13-Dec-2024 18:51:07.445 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 13-Dec-2024 18:51:07.509 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 18:51:07.509 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 13-Dec-2024 18:51:07.614 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33367"] 13-Dec-2024 18:51:07.640 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33367"] 13-Dec-2024 18:51:07.646 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 18:51:07.647 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33367"] 13-Dec-2024 18:51:07.649 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33367"] 13-Dec-2024 18:51:07.658 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass1] 13-Dec-2024 18:51:07.660 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 13-Dec-2024 18:51:07.679 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 18:51:07.679 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 13-Dec-2024 18:51:07.692 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-34219"] 13-Dec-2024 18:51:07.699 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@7a419da4] to web application [weaving]. 13-Dec-2024 18:51:07.703 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-34219"] 13-Dec-2024 18:51:07.706 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 18:51:07.706 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-34219"] 13-Dec-2024 18:51:07.707 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-34219"] 13-Dec-2024 18:51:07.714 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddedTransformerInstrumentsClass2] 13-Dec-2024 18:51:07.717 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 13-Dec-2024 18:51:07.723 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 18:51:07.724 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 13-Dec-2024 18:51:07.729 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-38581"] 13-Dec-2024 18:51:07.729 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@76c3e77a] to web application [weaving]. 13-Dec-2024 18:51:07.732 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-38581"] 13-Dec-2024 18:51:07.733 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 18:51:07.733 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-38581"] 13-Dec-2024 18:51:07.734 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-38581"] 13-Dec-2024 18:51:07.736 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testCopiedClassLoaderExcludesResourcesAndTransformers] 13-Dec-2024 18:51:07.740 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 13-Dec-2024 18:51:07.743 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 18:51:07.743 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 13-Dec-2024 18:51:07.746 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41723"] 13-Dec-2024 18:51:07.747 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@32ee6fee] to web application [weaving]. 13-Dec-2024 18:51:07.747 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4d0f2471] to web application [weaving]. 13-Dec-2024 18:51:07.752 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41723"] 13-Dec-2024 18:51:07.755 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 18:51:07.756 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41723"] 13-Dec-2024 18:51:07.757 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41723"] 13-Dec-2024 18:51:07.759 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded1] 13-Dec-2024 18:51:07.761 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 13-Dec-2024 18:51:07.773 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 18:51:07.773 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 13-Dec-2024 18:51:07.777 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42587"] 13-Dec-2024 18:51:07.778 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@a530d0a] to web application [weaving]. 13-Dec-2024 18:51:07.778 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@1a18644] to web application [weaving]. 13-Dec-2024 18:51:07.784 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42587"] 13-Dec-2024 18:51:07.785 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 18:51:07.785 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42587"] 13-Dec-2024 18:51:07.786 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42587"] 13-Dec-2024 18:51:07.789 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTransformersExecuteInOrderAdded2] 13-Dec-2024 18:51:07.791 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 13-Dec-2024 18:51:07.793 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 18:51:07.793 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 13-Dec-2024 18:51:07.797 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-44963"] 13-Dec-2024 18:51:07.797 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@74751b3] to web application [weaving]. 13-Dec-2024 18:51:07.797 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@741a8937] to web application [weaving]. 13-Dec-2024 18:51:07.802 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-44963"] 13-Dec-2024 18:51:07.802 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 18:51:07.802 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-44963"] 13-Dec-2024 18:51:07.803 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-44963"] 13-Dec-2024 18:51:07.805 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testAddingNullTransformerThrowsException] 13-Dec-2024 18:51:07.806 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 13-Dec-2024 18:51:07.808 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 18:51:07.808 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 13-Dec-2024 18:51:07.811 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-39271"] 13-Dec-2024 18:51:07.814 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-39271"] 13-Dec-2024 18:51:07.814 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 18:51:07.815 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-39271"] 13-Dec-2024 18:51:07.815 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-39271"] 13-Dec-2024 18:51:07.817 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments1] 13-Dec-2024 18:51:07.818 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 13-Dec-2024 18:51:07.826 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 18:51:07.827 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 13-Dec-2024 18:51:07.831 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33397"] 13-Dec-2024 18:51:07.831 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4dbb42b7] to web application [weaving]. 13-Dec-2024 18:51:07.831 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4dbb42b7] from web application [weaving]. 13-Dec-2024 18:51:07.835 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33397"] 13-Dec-2024 18:51:07.838 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 18:51:07.838 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33397"] 13-Dec-2024 18:51:07.839 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33397"] 13-Dec-2024 18:51:07.841 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments2] 13-Dec-2024 18:51:07.843 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 13-Dec-2024 18:51:07.853 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 18:51:07.853 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 13-Dec-2024 18:51:07.863 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41581"] 13-Dec-2024 18:51:07.864 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@4310d43] to web application [weaving]. 13-Dec-2024 18:51:07.864 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@54a7079e] to web application [weaving]. 13-Dec-2024 18:51:07.864 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@54a7079e] from web application [weaving]. 13-Dec-2024 18:51:07.867 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41581"] 13-Dec-2024 18:51:07.868 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 18:51:07.868 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41581"] 13-Dec-2024 18:51:07.869 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41581"] 13-Dec-2024 18:51:07.874 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testRemovedTransformerNoLongerInstruments3] 13-Dec-2024 18:51:07.876 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 13-Dec-2024 18:51:07.894 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 18:51:07.894 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 13-Dec-2024 18:51:07.910 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-33169"] 13-Dec-2024 18:51:07.916 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@54e1c68b] to web application [weaving]. 13-Dec-2024 18:51:07.916 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.addTransformer Added class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@53aac487] to web application [weaving]. 13-Dec-2024 18:51:07.916 INFO [main] org.apache.catalina.loader.WebappClassLoaderBase.removeTransformer Removed class file transformer [org.apache.catalina.loader.TestWebappClassLoaderWeaving$ReplacementTransformer@53aac487] from web application [weaving]. 13-Dec-2024 18:51:07.930 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-33169"] 13-Dec-2024 18:51:07.931 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 18:51:07.931 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-33169"] 13-Dec-2024 18:51:07.932 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-33169"] ------------- ---------------- --------------- Testcase: testNoWeaving took 1.259 sec Testcase: testAddedTransformerInstrumentsClass1 took 0.054 sec Testcase: testAddedTransformerInstrumentsClass2 took 0.023 sec Testcase: testCopiedClassLoaderExcludesResourcesAndTransformers took 0.023 sec Testcase: testTransformersExecuteInOrderAdded1 took 0.028 sec Testcase: testTransformersExecuteInOrderAdded2 took 0.016 sec Testcase: testAddingNullTransformerThrowsException took 0.012 sec Testcase: testRemovedTransformerNoLongerInstruments1 took 0.024 sec Testcase: testRemovedTransformerNoLongerInstruments2 took 0.033 sec Testcase: testRemovedTransformerNoLongerInstruments3 took 0.061 sec