Thanks Lahiru. Yes that helped. I am not sure the cause of the problem but will investigate. I will continue to verify the release now.
Raminder On Apr 9, 2013, at 2:14 PM, Lahiru Gunathilake wrote: > Hi Raman, > > I've just tested tar.gz and worked fine. I would say try to untar the pack > agian try to start. Seems like an intermittent derby issue. > > Regards > Lahiru > > > On Tue, Apr 9, 2013 at 1:58 PM, Raminder Singh > <[email protected]>wrote: > >> Hi Lahiru, >> >> Thanks for putting this together. I download >> apache-airavata-server-0.7-SNAPSHOT-bin.tar.gz to verify the release and >> get following error on starting the airavata server using >> airavata-server.sh. Any idea what can cause this? I will create a JIRA task >> and attach full stacktrace. >> >> >> >> Caused by: org.apache.derby.client.am.SqlException: DERBY SQL error: >> SQLCODE: -1, SQLSTATE: XJ041, SQLERRMC: Failed to create database >> 'persistent_data', see the next exception for details.::SQLSTATE: XBM0AThe >> database directory >> '/Users/raminder/Documents/work/projects/airavata/apache-airavata-server-0.7-SNAPSHOT/bin/persistent_data' >> exists. However, it does not contain the expected 'service.properties' >> file. Perhaps Derby was brought down in the middle of creating this >> database. You may want to delete this directory and try creating the >> database again. >> at org.apache.derby.client.am.Connection.completeSqlca(Unknown >> Source) >> at >> org.apache.derby.client.net.NetConnectionReply.parseRdbAccessFailed(Unknown >> Source) >> at >> org.apache.derby.client.net.NetConnectionReply.parseAccessRdbError(Unknown >> Source) >> at >> org.apache.derby.client.net.NetConnectionReply.parseACCRDBreply(Unknown >> Source) >> at >> org.apache.derby.client.net.NetConnectionReply.readAccessDatabase(Unknown >> Source) >> at >> org.apache.derby.client.net.NetConnection.readSecurityCheckAndAccessRdb(Unknown >> Source) >> at >> org.apache.derby.client.net.NetConnection.flowSecurityCheckAndAccessRdb(Unknown >> Source) >> at >> org.apache.derby.client.net.NetConnection.flowUSRIDPWDconnect(Unknown >> Source) >> at org.apache.derby.client.net.NetConnection.flowConnect(Unknown >> Source) >> at org.apache.derby.client.net.NetConnection.<init>(Unknown Source) >> at org.apache.derby.client.net.NetConnection40.<init>(Unknown >> Source) >> at >> org.apache.derby.client.net.ClientJDBCObjectFactoryImpl40.newNetConnection(Unknown >> Source) >> ... 38 more >> [ERROR] Error invoking API >> org.apache.airavata.client.api.AiravataAPIInvocationException: Error >> invoking API >> at >> org.apache.airavata.client.AiravataAPIFactory.getAPI(AiravataAPIFactory.java:64) >> at >> org.apache.airavata.client.AiravataAPIFactory.getAPI(AiravataAPIFactory.java:43) >> at >> org.apache.airavata.client.AiravataAPIFactory.getAPI(AiravataAPIFactory.java:39) >> at >> org.apache.airavata.wsmg.msgbox.MsgBoxServiceLifeCycle$1.run(MsgBoxServiceLifeCycle.java:117) >> Caused by: org.apache.airavata.client.api.AiravataAPIInvocationException: >> Error while initializing the Airavata API >> at >> org.apache.airavata.client.AiravataClient.initialize(AiravataClient.java:163) >> at >> org.apache.airavata.client.AiravataAPIFactory.getAPI(AiravataAPIFactory.java:61) >> ... 3 more >> On Apr 5, 2013, at 3:44 PM, Lahiru Gunathilake wrote: >> >>> Following distributions are available [1] for testing, >>> *Server distributions *(both in zip & tar.gz formats) >>> *[Standalone-Server] - *apache-airavata-server-0.7-SNAPSHOT-bin.zip >>> *[Server-As-a-WebApp] - apache-airavata-server-0.7-SNAPSHOT-war.zip* >>> *Client distributions *(both in zip & tar.gz formats) >>> *[API-Client] *- apache-airavata-client-0.7-SNAPSHOT-bin.zip >>> *[GUI-Client] *- apache-airavata-xbaya-gui-0.7-SNAPSHOT-bin.zip >>> *[GUI-Client] - *apache-airavata-xbaya-gui-0.7-SNAPSHOT-jnlp.zip >>> *Source pack* >>> apache-airavata-0.7-SNAPSHOT-src.zip >>> >>> *Here are some pointers for testing* >>> - Verify the fixed issue for this release [2] >>> - Verify the basic workflow composition/execution/monitoring scenarios >> from >>> Airavata 5 & 10 min tutorials [3],[4] >>> - Verify basic use-cases for Airavata API [5] are working >>> - Verify client usecases relating to Paramberoo & ODI >>> - Verify the stability with derby & mysql backend databases >>> - Verify that the XBaya JNLP distribution works (we need documentation on >>> how to deploy it) >>> - Verify deploying Airavata server in a tomcat distribution (we need >>> documentation on how to deploy it) >>> - Verify that the unit tests & integration tests in the source pack >>> >>> [1]https://dist.apache.org/repos/dist/dev/airavata/0.7/RC5/ >>> [2] >>> >> https://issues.apache.org/jira/issues/?jql=project%20%3D%20AIRAVATA%20AND%20resolution%20%3D%20Fixed%20AND%20fixVersion%20%3D%20%220.7%22%20ORDER%20BY%20status%20DESC%2C%20priority%20DESC >>> [3] >>> >> http://airavata.apache.org/documentation/tutorials/airavata-in-5-minutes.html >>> [4] >>> >> http://airavata.apache.org/documentation/tutorials/airavata-in-10-minutes.html >>> [5] >>> >> https://cwiki.apache.org/confluence/display/AIRAVATA/Gateway+Developer+Guide >>> >>> Regards >>> Lahiru >>> >>> >>> -- >>> System Analyst Programmer >>> PTI Lab >>> Indiana University >> >> > > > -- > System Analyst Programmer > PTI Lab > Indiana University
