Testsuite: org.apache.catalina.valves.TestJDBCAccessLogValve Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.895 sec ------------- Standard Error ----------------- 29-Nov-2024 19:22:53.534 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testValve[0: logPattern[common]]] 29-Nov-2024 19:22:54.955 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 29-Nov-2024 19:22:55.060 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:22:55.060 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:22:57.635 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-46487"] 29-Nov-2024 19:22:57.927 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-46487"] 29-Nov-2024 19:22:57.931 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:22:57.954 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-46487"] 29-Nov-2024 19:22:57.978 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-46487"] 29-Nov-2024 19:22:57.986 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testValve[1: logPattern[combined]]] 29-Nov-2024 19:22:57.995 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 29-Nov-2024 19:22:57.996 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Nov-2024 19:22:57.996 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 29-Nov-2024 19:22:58.962 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-33553"] 29-Nov-2024 19:22:59.049 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-33553"] 29-Nov-2024 19:22:59.053 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Nov-2024 19:22:59.060 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-33553"] 29-Nov-2024 19:22:59.063 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-33553"] ------------- ---------------- --------------- Testcase: testValve[0: logPattern[common]] took 4.66 sec Testcase: testValve[1: logPattern[combined]] took 1.084 sec FAILED null junit.framework.AssertionFailedError at org.apache.catalina.valves.TestJDBCAccessLogValve$CustomJDBCAccessLogValve.verify(TestJDBCAccessLogValve.java:116) at org.apache.catalina.valves.TestJDBCAccessLogValve.testValve(TestJDBCAccessLogValve.java:95) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)