Thanks Supun. I fixed the previous issue with your suggestion. But I am still getting an error towards the end while building Integration Tests. Below are last few lines of the log. Any ideas on how to fix this?
LOG:______________________________________________________________________ [INFO] [talledLocalContainer] ... 29 more [INFO] [talledLocalContainer] Caused by: java.lang.RuntimeException: Database fa ilure [INFO] [talledLocalContainer] at org.apache.airavata.registry.services.Registr yService.initializeDB(RegistryService.java:140) [INFO] [talledLocalContainer] at org.apache.airavata.registry.services.Registr yService.startUp(RegistryService.java:64) [INFO] [talledLocalContainer] at org.apache.axis2.deployment.ServiceBuilder.lo adServiceLifeCycleClass(ServiceBuilder.java:518) [INFO] [talledLocalContainer] ... 30 more [INFO] [talledLocalContainer] [INFO] org.apache.axis2.deployment.DeploymentExcep tion: Database failure [INFO] [talledLocalContainer] [INFO] Deploying Web service: airavata-simple-math -service-0.11.aar - file:/C:/Users/Nadeem/workspace/airavata-airavata-0.11/modul es/integration-tests/target/apache-tomcat-7.0.41/webapps/airavata-server/WEB-INF /services/airavata-simple-math-service-0.11.aar [INFO] [talledLocalContainer] DriverClassName=org.apache.derby.jdbc.ClientDriver ,Url=jdbc:derby://localhost:1527/persistent_data;create=true;user=airavata;passw ord=airavata,Username=airavata,Password=airavata,validationQuery=SELECT 1 from C onfiguration,MaxActive=10,MaxIdle=5,MinIdle=2,MaxWait=60000,testWhileIdle=true,t estOnBorrow=true [INFO] [talledLocalContainer] 1 airavata_data INFO [Thread-6] openjpa.Runtim e - Starting OpenJPA 2.2.0 [INFO] [talledLocalContainer] 27 airavata_data INFO [Thread-6] openjpa.jdbc. JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apa che Derby 10.9.1.0 - (1344872) ,Apache Derby Network Client JDBC Driver 10.9.1.0 - (1344872)). [INFO] [talledLocalContainer] [INFO] Deploying Web service: airavata-xbaya-gui-0 .11.jar - file:/C:/Users/Nadeem/workspace/airavata-airavata-0.11/modules/integra tion-tests/target/apache-tomcat-7.0.41/webapps/airavata-server/WEB-INF/services/ airavata-xbaya-gui-0.11.jar [INFO] [talledLocalContainer] [INFO] Deploying Web service: echo-service-0.11.aa r - file:/C:/Users/Nadeem/workspace/airavata-airavata-0.11/modules/integration-t ests/target/apache-tomcat-7.0.41/webapps/airavata-server/WEB-INF/services/echo-s ervice-0.11.aar [INFO] [talledLocalContainer] [INFO] Deploying Web service: version-1.5.1.aar - file:/C:/Users/Nadeem/workspace/airavata-airavata-0.11/modules/integration-tests /target/apache-tomcat-7.0.41/webapps/airavata-server/WEB-INF/services/version-1. 5.1.aar [INFO] [talledLocalContainer] Mar 05, 2014 11:30:17 PM org.apache.catalina.start up.HostConfig deployWAR [INFO] [talledLocalContainer] INFO: Deploying web application archive C:\Users\N adeem\workspace\airavata-airavata-0.11\modules\integration-tests\target\apache-t omcat-7.0.41\webapps\airavata.war [INFO] [yer.DeployerWatchdog] Deployable [ http://localhost:8080/cargocpc/index.h tml] failed to finish deploying within the timeout period [120000]. The Deployab le state is thus unknown. [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Airavata .......................................... SUCCESS [ 9.553 s] [INFO] Airavata Commons .................................. SUCCESS [ 0.175 s] [INFO] Airavata Common Utilities ......................... SUCCESS [ 11.220 s] [INFO] Airavata GFac Schema Utilities .................... SUCCESS [01:11 min] [INFO] Airavata Registry ................................. SUCCESS [ 0.134 s] [INFO] Airavata Registry API ............................. SUCCESS [ 8.761 s] [INFO] Airavata Workflow Model Parent .................... SUCCESS [ 0.076 s] [INFO] Airavata Workflow Model Core ...................... SUCCESS [ 12.022 s] [INFO] Airavata WS Messenger ............................. SUCCESS [ 0.144 s] [INFO] Airavata Messenger Commons ........................ SUCCESS [ 7.035 s] [INFO] Airavata Messenger Client ......................... SUCCESS [ 7.800 s] [INFO] Airavata WS Monitor ............................... SUCCESS [ 5.838 s] [INFO] Airavata Workflow Execution Context ............... SUCCESS [ 14.451 s] [INFO] Airavata Thrift ................................... SUCCESS [ 0.113 s] [INFO] Airavata Interpreter Service ...................... SUCCESS [ 9.276 s] [INFO] Airavata Interpreter Service Client ............... SUCCESS [ 2.014 s] [INFO] Airavata Client ................................... SUCCESS [ 45.515 s] [INFO] Airavata Workflow Tracking ........................ SUCCESS [ 35.333 s] [INFO] Airavata Credential Store ......................... SUCCESS [ 6.539 s] [INFO] GSISSH Library .................................... SUCCESS [ 20.706 s] [INFO] Airavata GFac ..................................... SUCCESS [ 0.066 s] [INFO] Airavata GFac Core ................................ SUCCESS [ 44.143 s] [INFO] Airavata GFac Core ................................ SUCCESS [ 8.396 s] [INFO] Airavata Message Box .............................. SUCCESS [ 7.185 s] [INFO] Airavata Message Broker ........................... SUCCESS [ 10.017 s] [INFO] Airavata Workflow Component ....................... SUCCESS [ 3.935 s] [INFO] Airavata Workflow Component Node .................. SUCCESS [ 0.939 s] [INFO] Complex Math Service .............................. SUCCESS [ 1.962 s] [INFO] Echo Service ...................................... SUCCESS [ 1.424 s] [INFO] Levenshtein Distance Service ...................... SUCCESS [ 1.563 s] [INFO] Simple Math Service ............................... SUCCESS [ 1.608 s] [INFO] samples ........................................... SUCCESS [ 0.111 s] [INFO] Airavata Samples .................................. SUCCESS [ 3.433 s] [INFO] Airavata JPA Registry ............................. SUCCESS [ 21.636 s] [INFO] Airavata REST ..................................... SUCCESS [ 0.122 s] [INFO] airavata-rest-mappings ............................ SUCCESS [ 6.194 s] [INFO] airavata-rest-client .............................. SUCCESS [ 9.103 s] [INFO] Airavata XBaya .................................... SUCCESS [01:04 min] [INFO] Airavata JSON ..................................... SUCCESS [ 2.264 s] [INFO] Airavata Registry Service ......................... SUCCESS [ 5.493 s] [INFO] Airavata Registry Test ............................ SUCCESS [ 1.690 s] [INFO] Airavata Security Implementation .................. SUCCESS [ 4.300 s] [INFO] airavata-rest-services ............................ SUCCESS [ 8.155 s] [INFO] airavata-rest-service-webapp ...................... SUCCESS [ 18.878 s] [INFO] Airavata Interpreter Service Handler .............. SUCCESS [ 11.737 s] [INFO] Airavata Tools .................................... SUCCESS [ 0.103 s] [INFO] Airavata Phoebus Integration ...................... SUCCESS [ 9.698 s] [INFO] registry-tool ..................................... SUCCESS [ 10.514 s] [INFO] SampleGateway Maven Webapp ........................ SUCCESS [ 18.346 s] [INFO] distribution ...................................... SUCCESS [ 0.122 s] [INFO] Samples - Airavata Client Samples ................. SUCCESS [ 0.111 s] [INFO] Samples - Workflow Create Application ............. SUCCESS [ 5.839 s] [INFO] Samples - Workflow Execution ...................... SUCCESS [ 5.045 s] [INFO] Airavata Embedded Tomcat Implementation ........... SUCCESS [ 4.155 s] [INFO] Airavata Test Suite ............................... SUCCESS [ 4.902 s] [INFO] Airavata server distribution ...................... SUCCESS [02:33 min] [INFO] Airavata client distribution ...................... SUCCESS [ 37.303 s] [INFO] Airavata xbaya-gui distribution ................... SUCCESS [03:45 min] [INFO] Airavata release artifacts ........................ SUCCESS [ 37.635 s] [INFO] Airavata Integration Tests ........................ FAILURE [04:16 min] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 21:20 min [INFO] Finished at: 2014-03-05T23:30:24+05:30 [INFO] Final Memory: 68M/1262M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.cargo:cargo-maven2-plugin:1.3.1:star t (start-container) on project integration-tests: Execution start-container of g oal org.codehaus.cargo:cargo-maven2-plugin:1.3.1:start failed: Failed to start t he Tomcat 7.x container. Deployable [ http://localhost:8080/cargocpc/index.html] failed to finish deploying within the timeout period [120000]. The Deployable st ate is thus unknown. -> [Help 1] ____________________________________________________________________________ Thanks, Nadeem. On Wed, Mar 5, 2014 at 10:34 PM, Supun Nakandala <[email protected]>wrote: > Hi Nadeem, > > I also got this error sometimes. Since I had previously build Airavata > successfully in my local machine I used the maven offline build (mvn -o > clean install) so that the dependencies are not downloaded again from > remote sites. > > Regards > Supun > > > > On Wed, Mar 5, 2014 at 10:22 PM, Nadeem Anjum <[email protected]>wrote: > >> Hi all, >> >> I am getting the following error while building airavata from source >> (0.11 release): >> ______________________________________________________________________ >> >> Downloading: >> http://community.ucs.indiana.edu:9090/archiva/repository/ogce.m2.all/de/fzj/unicore/jsdl-xmlbeans/2.1.1-SNAPSHOT/maven-metadata.xml >> [WARNING] Could not transfer metadata >> de.fzj.unicore:jsdl-xmlbeans:2.1.1-SNAPSHOT/maven-metadata.xml from/to >> ogce.m2.all ( >> http://community.ucs.indiana.edu:9090/archiva/repository/ogce.m2.all): >> community.ucs.indiana.edu >> [WARNING] Failure to transfer >> de.fzj.unicore:jsdl-xmlbeans:2.1.1-SNAPSHOT/maven-metadata.xml from >> http://community.ucs.indiana.edu:9090/archiva/repository/ogce.m2.all was >> cached in the local repository, resolution will not be reattempted until >> the update interval of ogce.m2.all has elapsed or updates are forced. >> Original error: Could not transfer metadata >> de.fzj.unicore:jsdl-xmlbeans:2.1.1-SNAPSHOT/maven-metadata.xml from/to >> ogce.m2.all ( >> http://community.ucs.indiana.edu:9090/archiva/repository/ogce.m2.all): >> community.ucs.indiana.edu >> >> [ERROR] Failed to execute goal on project airavata-gfac-core: Could not >> resolve dependencies for project >> org.apache.airavata:airavata-gfac-core:jar:0.11: Failed to collect >> dependencies at eu.unicore:ogsabes-client:jar:1.7.0-rc -> >> eu.unicore:uas-client:jar:1.7.0-rc -> >> eu.unicore.services:use-wsrfclient:jar:3.0.0-rc -> >> org.apache.xmlbeans:xmlbeans-xpath:jar:2.6.0 -> net.sf.saxon:saxon:jar:9: >> Failed to read artifact descriptor for net.sf.saxon:saxon:jar:9: Could not >> transfer artifact net.sf.saxon:saxon:pom:9 from/to ogce.m2.all ( >> http://community.ucs.indiana.edu:9090/archiva/repository/ogce.m2.all): >> community.ucs.indiana.edu: Unknown host community.ucs.indiana.edu -> >> [Help 1] >> >> __________________________________________________________________________________________________ >> >> Apparently, >> http://community.ucs.indiana.edu:9090/archiva/repository/ogce.m2.all >> is'nt accessible over browser as well. >> >> Could anyone suggest a possible solution? >> >> Thanks, >> Nadeem >> > > > > -- > Thank you > Supun Nakandala > Dept. Computer Science and Engineering > University of Moratuwa >
