java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.sql.SQLException: Unable to connect to database

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by sundeepkmr
, 1 year ago
java.lang.RuntimeException: java.sql.SQLException: Unable to connect to database
via GitHub by samuraraujo
, 1 year ago
java.lang.RuntimeException: java.sql.SQLException: Unable to connect to specified elasticsearch host(s)
via GitHub by samuraraujo
, 1 year ago
java.lang.RuntimeException: java.sql.SQLException: Unable to connect to specified elasticsearch host(s)
via mapr.com by Unknown author, 1 year ago
java.lang.RuntimeException: java.sql.SQLException: Failure while attempting to connect to Drill.
via Stack Overflow by lcazarre
, 1 year ago
java.lang.RuntimeException: java.sql.SQLException: Unable to create connection. Check your URL.
via Stack Overflow by ratsstack
, 1 year ago
java.lang.RuntimeException: java.sql.SQLException: Unable to create connection. Check your URL.
java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.sql.SQLException: Unable to connect to database
at org.elasticsearch.threadpool.ThreadPool.(ThreadPool.java:190)
at nl.anchormen.sql4es.jdbc.ESConnection.buildClient(ESConnection.java:108)
at nl.anchormen.sql4es.jdbc.ESConnection.(ESConnection.java:78)
at nl.anchormen.sql4es.jdbc.ESDriver.connect(ESDriver.java:46)
at net.sourceforge.squirrel_sql.fw.sql.SQLDriverManager.getConnection(SQLDriverManager.java:133)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.executeConnect(OpenConnectionCommand.java:167)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.access$000(OpenConnectionCommand.java:45)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand$1.run(OpenConnectionCommand.java:104)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
10 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.