airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierce, Marlon" <>
Subject Re: java.lang.RuntimeException: Failed to create database connection pool
Date Thu, 19 May 2016 21:05:05 GMT
Pratik, can you confirm that the mysql.jar is correct, uncorrupted, etc?  Use jar –tf or
a similar command to list the contents.


From: Eroma Abeysinghe <>
Reply-To: "" <>
Date: Thursday, May 19, 2016 at 4:51 PM
To: "" <>
Subject: Re: java.lang.RuntimeException: Failed to create database connection pool

Hi Pratik,

What is the version you have copied? I copied version mysql-connector-java-5.1.38-bin.jar
and it worked fine.
Could you try this version?


On Thu, May 19, 2016 at 4:34 PM, Pratik Patel <<>>
Hi Suresh,

Thanks for prompt response.
I have already added mysql.jar in 'lib' folder.
[nline image 1]

I have downloaded the jar file from ''. This link
was provided in instructions. Does it automatically look for this jar file or I have to provide
the complete path of the jar with file name in file?

Pratik Patel

On Thu, May 19, 2016 at 4:29 PM, Suresh Marru <<>>
Hi Pratik,

As you can see from “ Can't find class for driver:” it is looking for the mysql jar which
should be Step 8 in instructions -


On May 19, 2016, at 4:26 PM, Pratik Patel <<>>

Hi all,

I am trying to start airavata-server. But I am getting following error while doing so:

Command Used:
$ ./ start


2016-05-19 16:17:08,225 [main] ERROR org.apache.airavata.server.ServerMain  - Server Start
java.lang.RuntimeException: Failed to create database connection pool.
at org.apache.airavata.api.server.util.JdbcStorage.<init>(
at org.apache.airavata.api.server.util.CredentialStoreInitUtil.initializeDB(
at org.apache.airavata.api.server.AiravataAPIServer.startAiravataServer(
at org.apache.airavata.api.server.AiravataAPIServer.start(
at org.apache.airavata.server.ServerMain.startAllServers(
at org.apache.airavata.server.ServerMain.performServerStart(
at org.apache.airavata.server.ServerMain.main(
Caused by: java.sql.SQLException: Can't find class for driver:
at org.apache.airavata.api.server.util.ConnectionPool.makeNewConnection(
at org.apache.airavata.api.server.util.ConnectionPool.initialize(
at org.apache.airavata.api.server.util.ConnectionPool.<init>(
at org.apache.airavata.api.server.util.JdbcStorage.<init>(
... 6 more


I have attached log file in this email. Could someone point out where I am going wrong?


Thank You,
Best Regards,
View raw message