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?
Thanks, Eroma On Thu, May 19, 2016 at 4:34 PM, Pratik Patel <[email protected]> wrote: > Hi Suresh, > > Thanks for prompt response. > > I have already added mysql.jar in 'lib' folder. > [image: Inline image 1] > > I have downloaded the jar file from ' > http://dev.mysql.com/downloads/connector/j/'. 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 > airavata-server.properties file? > > Thanks, > Pratik Patel > > On Thu, May 19, 2016 at 4:29 PM, Suresh Marru <[email protected]> wrote: > >> 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 - >> http://airavata.readthedocs.io/en/latest/Airavata-Installation/ >> >> Suresh >> >> On May 19, 2016, at 4:26 PM, Pratik Patel <[email protected]> wrote: >> >> Hi all, >> >> I am trying to start airavata-server. But I am getting following error >> while doing so: >> >> Command Used: >> $ ./airavata-server.sh start >> >> Error: >> >> >> 2016-05-19 16:17:08,225 [main] ERROR >> org.apache.airavata.server.ServerMain - Server Start Error: >> java.lang.RuntimeException: Failed to create database connection pool. >> at >> org.apache.airavata.api.server.util.JdbcStorage.<init>(JdbcStorage.java:47) >> at >> org.apache.airavata.api.server.util.CredentialStoreInitUtil.initializeDB(CredentialStoreInitUtil.java:64) >> at >> org.apache.airavata.api.server.AiravataAPIServer.startAiravataServer(AiravataAPIServer.java:74) >> at >> org.apache.airavata.api.server.AiravataAPIServer.start(AiravataAPIServer.java:202) >> at >> org.apache.airavata.server.ServerMain.startAllServers(ServerMain.java:292) >> at >> org.apache.airavata.server.ServerMain.performServerStart(ServerMain.java:141) >> at org.apache.airavata.server.ServerMain.main(ServerMain.java:124) >> Caused by: java.sql.SQLException: Can't find class for driver: >> at >> org.apache.airavata.api.server.util.ConnectionPool.makeNewConnection(ConnectionPool.java:200) >> at >> org.apache.airavata.api.server.util.ConnectionPool.initialize(ConnectionPool.java:127) >> at >> org.apache.airavata.api.server.util.ConnectionPool.<init>(ConnectionPool.java:90) >> at >> org.apache.airavata.api.server.util.JdbcStorage.<init>(JdbcStorage.java:41) >> ... 6 more >> >> >> >> -------------------------------------------------------------------------------------------------------------- >> >> >> >> I have attached log file in this email. Could someone point out where I >> am going wrong? >> >> <airavata.log> >> >> >> > -- Thank You, Best Regards, Eroma
