Error occurred checking if resource [our_table] exists

I have a two-part question. Answers to either part would be helpful.

I am getting an error

  SchemaManager: Error occurred checking if resource [cluster_lock] exists
org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Could not open connection

at the line

List<?> queryResult = txTemplate
                .execute(new TransactionCallback<List<?>>() {
                    @Override
                    public List<?> doInTransaction(TransactionStatus status) {
                        String replaced = COLONS.matcher(sql)
                                .replaceAll(COLON_REPLACEMENT);
                        SQLQuery query = getCurrentSession()
                                .createSQLQuery(replaced);
                        addParamsToQuery(query, paramMap);
                        query.setMaxResults(maxRowCount);
                        return query.list();
                    }

So my questions are:

  1. How do I find the information that is normally in the connect string: Host, etc.

  2. Otherwise, how do I find the cause of the problem?

The same code is working fine for others here.

Just debug the execution and inspect the SQLException. There is going to be a cause or a more detailed info there.

If it works for others, maybe you have network connectivity issues due to either faulty drivers or hardware or due to VPN, Proxies, Anti Virus, etc