Failed to obtain JDBC Connection when using spring with jndi on liberty
问题 When running load-test when running the application on liberty, and getting the datasource from liberty via JNDI, the test fails after a minute or so with the exception: Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLTransientConnectionException: J2CA0045E: Connection not available while invoking method createOrWaitForConnection for resource jdbc/MY_JNDI_NAME. Timed out waiting for 30,000 millisecond(s)