You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airavata.apache.org by Nadeem Anjum <na...@gmail.com> on 2014/03/05 17:52:43 UTC

Error while building airavata

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

Re: Error while building airavata

Posted by Nadeem Anjum <na...@gmail.com>.
I have been able to successfully build by commenting out integration tests
from the top level pom
Thanks.


On Thu, Mar 6, 2014 at 1:40 AM, Saminda Wijeratne <sa...@gmail.com>wrote:

> The integration tests in the trunk are broken at the moment. We are
> working on fixing them [1].
>
> 1. https://issues.apache.org/jira/browse/AIRAVATA-1053
>
>
> On Wed, Mar 5, 2014 at 1:59 PM, Marlon Pierce <ma...@iu.edu> wrote:
>
>> Clarification: I was able to build 0.11 from source using mvn clean
>> install -o -Dmaven.test.skip=true
>>
>>
>> Marlon
>>
>> On 3/5/14 1:58 PM, Marlon Pierce wrote:
>> > I had no problems with the build with -Dmaven.tests.skip=true but needed
>> > to use the -o flag, as discussed below.  You can skip the integration
>> > tests by commenting this out from the top level pom. Please file a bug
>> > in Jira for this.
>> >
>> > Release 0.11 had some dependencies on optional jars that were downloaded
>> > from an Archiva server (community.ucs.indiana.edu).  This got hacked
>> > because of a security flaw in the Archiva release, so we took it down.
>> > This was bad practice in any case.
>> >
>> > Depending on what you are doing, you may be better off looking at the
>> > trunk.  Release 0.12 is coming.
>> >
>> > Marlon
>> >
>> >
>> > On 3/5/14 1:32 PM, Nadeem Anjum wrote:
>> >> Hi Marlon,
>> >>
>> >> I had built with "mvn clean install -Dmaven.test.skip=true" itself.
>> This
>> >> skips the other tests, but still builds Airavata Integration tests.
>> >>
>> >> Moreover, I am building the 0.11 release, that should not have the
>> recent
>> >> changes right?
>> >>
>> >> Thanks,
>> >> Nadeem
>> >>
>> >>
>> >> On Wed, Mar 5, 2014 at 11:57 PM, Marlon Pierce <ma...@iu.edu>
>> wrote:
>> >>
>> >>> Try "mvn clean install -Dmaven.test.skip=true" to skip the integration
>> >>> tests.  Airavata is undergoing a lot of fundamental changes as we work
>> >>> out the Thrift API, and this has broken many older tests.
>> >>>
>> >>>
>> >>> Marlon
>> >>>
>> >>> On 3/5/14 1:13 PM, Nadeem Anjum wrote:
>> >>>> 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
>> >>>> <su...@gmail.com>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 <
>> nadeem.cs.iit@gmail.com
>> >>>> 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.allwas
>> >>>>>> 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
>> >>>>>
>>
>>
>

Re: Error while building airavata

Posted by Marlon Pierce <ma...@iu.edu>.
+1 for using the trunk if you are interested in development. The 0.11
release is more appropriate for users.  0.12 should hopefully be out in
a couple of weeks.

It is good practice to document the 0.11 problems in Jira so that we
have a record (and so things show up in searches) even though we are not
likely to fix them.

Marlon

On 3/5/14 11:35 PM, Lahiru Gunathilake wrote:
> Hi Nadeem,
>
> Actually we haven't tested the build on Windows, I think thats is the
> issue, otherwise I don't think the build will fail in a release (including
> tests and integration tests).
>
> And we are not thoroughly testing on windows. Please report any issues you
> find in trunk mostly because 0.11 release is almost obsolete due to drastic
> changes we've done last couple of weeks.
>
> Regards
> Lahiru
>
>
> On Wed, Mar 5, 2014 at 3:10 PM, Saminda Wijeratne <sa...@gmail.com>wrote:
>
>> The integration tests in the trunk are broken at the moment. We are
>> working on fixing them [1].
>>
>> 1. https://issues.apache.org/jira/browse/AIRAVATA-1053
>>
>>
>> On Wed, Mar 5, 2014 at 1:59 PM, Marlon Pierce <ma...@iu.edu> wrote:
>>
>>> Clarification: I was able to build 0.11 from source using mvn clean
>>> install -o -Dmaven.test.skip=true
>>>
>>>
>>> Marlon
>>>
>>> On 3/5/14 1:58 PM, Marlon Pierce wrote:
>>>> I had no problems with the build with -Dmaven.tests.skip=true but needed
>>>> to use the -o flag, as discussed below.  You can skip the integration
>>>> tests by commenting this out from the top level pom. Please file a bug
>>>> in Jira for this.
>>>>
>>>> Release 0.11 had some dependencies on optional jars that were downloaded
>>>> from an Archiva server (community.ucs.indiana.edu).  This got hacked
>>>> because of a security flaw in the Archiva release, so we took it down.
>>>> This was bad practice in any case.
>>>>
>>>> Depending on what you are doing, you may be better off looking at the
>>>> trunk.  Release 0.12 is coming.
>>>>
>>>> Marlon
>>>>
>>>>
>>>> On 3/5/14 1:32 PM, Nadeem Anjum wrote:
>>>>> Hi Marlon,
>>>>>
>>>>> I had built with "mvn clean install -Dmaven.test.skip=true" itself.
>>> This
>>>>> skips the other tests, but still builds Airavata Integration tests.
>>>>>
>>>>> Moreover, I am building the 0.11 release, that should not have the
>>> recent
>>>>> changes right?
>>>>>
>>>>> Thanks,
>>>>> Nadeem
>>>>>
>>>>>
>>>>> On Wed, Mar 5, 2014 at 11:57 PM, Marlon Pierce <ma...@iu.edu>
>>> wrote:
>>>>>> Try "mvn clean install -Dmaven.test.skip=true" to skip the integration
>>>>>> tests.  Airavata is undergoing a lot of fundamental changes as we work
>>>>>> out the Thrift API, and this has broken many older tests.
>>>>>>
>>>>>>
>>>>>> Marlon
>>>>>>
>>>>>> On 3/5/14 1:13 PM, Nadeem Anjum wrote:
>>>>>>> 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
>>>>>>> <su...@gmail.com>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 <
>>> nadeem.cs.iit@gmail.com
>>>>>>> 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.allwas
>>>>>>>>> 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
>>>>>>>>
>>>
>


Re: Error while building airavata

Posted by Danushka Menikkumbura <da...@gmail.com>.
Well I have had no issue in building on Windows. Anyway there were issues
pertaining to running the server (like in start up scripts, etc) for which
I have submitted patches. I think those patches were applied by Suresh.

Danushka


On Thu, Mar 6, 2014 at 10:05 AM, Lahiru Gunathilake <gl...@gmail.com>wrote:

> Hi Nadeem,
>
> Actually we haven't tested the build on Windows, I think thats is the
> issue, otherwise I don't think the build will fail in a release (including
> tests and integration tests).
>
> And we are not thoroughly testing on windows. Please report any issues you
> find in trunk mostly because 0.11 release is almost obsolete due to drastic
> changes we've done last couple of weeks.
>
> Regards
> Lahiru
>
>
> On Wed, Mar 5, 2014 at 3:10 PM, Saminda Wijeratne <sa...@gmail.com>wrote:
>
>> The integration tests in the trunk are broken at the moment. We are
>> working on fixing them [1].
>>
>> 1. https://issues.apache.org/jira/browse/AIRAVATA-1053
>>
>>
>> On Wed, Mar 5, 2014 at 1:59 PM, Marlon Pierce <ma...@iu.edu> wrote:
>>
>>> Clarification: I was able to build 0.11 from source using mvn clean
>>> install -o -Dmaven.test.skip=true
>>>
>>>
>>> Marlon
>>>
>>> On 3/5/14 1:58 PM, Marlon Pierce wrote:
>>> > I had no problems with the build with -Dmaven.tests.skip=true but
>>> needed
>>> > to use the -o flag, as discussed below.  You can skip the integration
>>> > tests by commenting this out from the top level pom. Please file a bug
>>> > in Jira for this.
>>> >
>>> > Release 0.11 had some dependencies on optional jars that were
>>> downloaded
>>> > from an Archiva server (community.ucs.indiana.edu).  This got hacked
>>> > because of a security flaw in the Archiva release, so we took it down.
>>> > This was bad practice in any case.
>>> >
>>> > Depending on what you are doing, you may be better off looking at the
>>> > trunk.  Release 0.12 is coming.
>>> >
>>> > Marlon
>>> >
>>> >
>>> > On 3/5/14 1:32 PM, Nadeem Anjum wrote:
>>> >> Hi Marlon,
>>> >>
>>> >> I had built with "mvn clean install -Dmaven.test.skip=true" itself.
>>> This
>>> >> skips the other tests, but still builds Airavata Integration tests.
>>> >>
>>> >> Moreover, I am building the 0.11 release, that should not have the
>>> recent
>>> >> changes right?
>>> >>
>>> >> Thanks,
>>> >> Nadeem
>>> >>
>>> >>
>>> >> On Wed, Mar 5, 2014 at 11:57 PM, Marlon Pierce <ma...@iu.edu>
>>> wrote:
>>> >>
>>> >>> Try "mvn clean install -Dmaven.test.skip=true" to skip the
>>> integration
>>> >>> tests.  Airavata is undergoing a lot of fundamental changes as we
>>> work
>>> >>> out the Thrift API, and this has broken many older tests.
>>> >>>
>>> >>>
>>> >>> Marlon
>>> >>>
>>> >>> On 3/5/14 1:13 PM, Nadeem Anjum wrote:
>>> >>>> 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
>>> >>>> <su...@gmail.com>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 <
>>> nadeem.cs.iit@gmail.com
>>> >>>> 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.allwas
>>> >>>>>> 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
>>> >>>>>
>>>
>>>
>>
>
>
> --
> System Analyst Programmer
> PTI Lab
> Indiana University
>

Re: Error while building airavata

Posted by Lahiru Gunathilake <gl...@gmail.com>.
Hi Nadeem,

Actually we haven't tested the build on Windows, I think thats is the
issue, otherwise I don't think the build will fail in a release (including
tests and integration tests).

And we are not thoroughly testing on windows. Please report any issues you
find in trunk mostly because 0.11 release is almost obsolete due to drastic
changes we've done last couple of weeks.

Regards
Lahiru


On Wed, Mar 5, 2014 at 3:10 PM, Saminda Wijeratne <sa...@gmail.com>wrote:

> The integration tests in the trunk are broken at the moment. We are
> working on fixing them [1].
>
> 1. https://issues.apache.org/jira/browse/AIRAVATA-1053
>
>
> On Wed, Mar 5, 2014 at 1:59 PM, Marlon Pierce <ma...@iu.edu> wrote:
>
>> Clarification: I was able to build 0.11 from source using mvn clean
>> install -o -Dmaven.test.skip=true
>>
>>
>> Marlon
>>
>> On 3/5/14 1:58 PM, Marlon Pierce wrote:
>> > I had no problems with the build with -Dmaven.tests.skip=true but needed
>> > to use the -o flag, as discussed below.  You can skip the integration
>> > tests by commenting this out from the top level pom. Please file a bug
>> > in Jira for this.
>> >
>> > Release 0.11 had some dependencies on optional jars that were downloaded
>> > from an Archiva server (community.ucs.indiana.edu).  This got hacked
>> > because of a security flaw in the Archiva release, so we took it down.
>> > This was bad practice in any case.
>> >
>> > Depending on what you are doing, you may be better off looking at the
>> > trunk.  Release 0.12 is coming.
>> >
>> > Marlon
>> >
>> >
>> > On 3/5/14 1:32 PM, Nadeem Anjum wrote:
>> >> Hi Marlon,
>> >>
>> >> I had built with "mvn clean install -Dmaven.test.skip=true" itself.
>> This
>> >> skips the other tests, but still builds Airavata Integration tests.
>> >>
>> >> Moreover, I am building the 0.11 release, that should not have the
>> recent
>> >> changes right?
>> >>
>> >> Thanks,
>> >> Nadeem
>> >>
>> >>
>> >> On Wed, Mar 5, 2014 at 11:57 PM, Marlon Pierce <ma...@iu.edu>
>> wrote:
>> >>
>> >>> Try "mvn clean install -Dmaven.test.skip=true" to skip the integration
>> >>> tests.  Airavata is undergoing a lot of fundamental changes as we work
>> >>> out the Thrift API, and this has broken many older tests.
>> >>>
>> >>>
>> >>> Marlon
>> >>>
>> >>> On 3/5/14 1:13 PM, Nadeem Anjum wrote:
>> >>>> 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
>> >>>> <su...@gmail.com>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 <
>> nadeem.cs.iit@gmail.com
>> >>>> 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.allwas
>> >>>>>> 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
>> >>>>>
>>
>>
>


-- 
System Analyst Programmer
PTI Lab
Indiana University

Re: Error while building airavata

Posted by Saminda Wijeratne <sa...@gmail.com>.
The integration tests in the trunk are broken at the moment. We are working
on fixing them [1].

1. https://issues.apache.org/jira/browse/AIRAVATA-1053


On Wed, Mar 5, 2014 at 1:59 PM, Marlon Pierce <ma...@iu.edu> wrote:

> Clarification: I was able to build 0.11 from source using mvn clean
> install -o -Dmaven.test.skip=true
>
>
> Marlon
>
> On 3/5/14 1:58 PM, Marlon Pierce wrote:
> > I had no problems with the build with -Dmaven.tests.skip=true but needed
> > to use the -o flag, as discussed below.  You can skip the integration
> > tests by commenting this out from the top level pom. Please file a bug
> > in Jira for this.
> >
> > Release 0.11 had some dependencies on optional jars that were downloaded
> > from an Archiva server (community.ucs.indiana.edu).  This got hacked
> > because of a security flaw in the Archiva release, so we took it down.
> > This was bad practice in any case.
> >
> > Depending on what you are doing, you may be better off looking at the
> > trunk.  Release 0.12 is coming.
> >
> > Marlon
> >
> >
> > On 3/5/14 1:32 PM, Nadeem Anjum wrote:
> >> Hi Marlon,
> >>
> >> I had built with "mvn clean install -Dmaven.test.skip=true" itself. This
> >> skips the other tests, but still builds Airavata Integration tests.
> >>
> >> Moreover, I am building the 0.11 release, that should not have the
> recent
> >> changes right?
> >>
> >> Thanks,
> >> Nadeem
> >>
> >>
> >> On Wed, Mar 5, 2014 at 11:57 PM, Marlon Pierce <ma...@iu.edu> wrote:
> >>
> >>> Try "mvn clean install -Dmaven.test.skip=true" to skip the integration
> >>> tests.  Airavata is undergoing a lot of fundamental changes as we work
> >>> out the Thrift API, and this has broken many older tests.
> >>>
> >>>
> >>> Marlon
> >>>
> >>> On 3/5/14 1:13 PM, Nadeem Anjum wrote:
> >>>> 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
> >>>> <su...@gmail.com>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 <
> nadeem.cs.iit@gmail.com
> >>>> 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.allwas
> >>>>>> 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
> >>>>>
>
>

Re: Error while building airavata

Posted by Marlon Pierce <ma...@iu.edu>.
Clarification: I was able to build 0.11 from source using mvn clean
install -o -Dmaven.test.skip=true


Marlon

On 3/5/14 1:58 PM, Marlon Pierce wrote:
> I had no problems with the build with -Dmaven.tests.skip=true but needed
> to use the -o flag, as discussed below.  You can skip the integration
> tests by commenting this out from the top level pom. Please file a bug
> in Jira for this. 
>
> Release 0.11 had some dependencies on optional jars that were downloaded
> from an Archiva server (community.ucs.indiana.edu).  This got hacked
> because of a security flaw in the Archiva release, so we took it down. 
> This was bad practice in any case.
>
> Depending on what you are doing, you may be better off looking at the
> trunk.  Release 0.12 is coming.
>
> Marlon
>
>
> On 3/5/14 1:32 PM, Nadeem Anjum wrote:
>> Hi Marlon,
>>
>> I had built with "mvn clean install -Dmaven.test.skip=true" itself. This
>> skips the other tests, but still builds Airavata Integration tests.
>>
>> Moreover, I am building the 0.11 release, that should not have the recent
>> changes right?
>>
>> Thanks,
>> Nadeem
>>
>>
>> On Wed, Mar 5, 2014 at 11:57 PM, Marlon Pierce <ma...@iu.edu> wrote:
>>
>>> Try "mvn clean install -Dmaven.test.skip=true" to skip the integration
>>> tests.  Airavata is undergoing a lot of fundamental changes as we work
>>> out the Thrift API, and this has broken many older tests.
>>>
>>>
>>> Marlon
>>>
>>> On 3/5/14 1:13 PM, Nadeem Anjum wrote:
>>>> 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
>>>> <su...@gmail.com>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 <nadeem.cs.iit@gmail.com
>>>> 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.allwas
>>>>>> 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
>>>>>


Re: Error while building airavata

Posted by Marlon Pierce <ma...@iu.edu>.
I had no problems with the build with -Dmaven.tests.skip=true but needed
to use the -o flag, as discussed below.  You can skip the integration
tests by commenting this out from the top level pom. Please file a bug
in Jira for this. 

Release 0.11 had some dependencies on optional jars that were downloaded
from an Archiva server (community.ucs.indiana.edu).  This got hacked
because of a security flaw in the Archiva release, so we took it down. 
This was bad practice in any case.

Depending on what you are doing, you may be better off looking at the
trunk.  Release 0.12 is coming.

Marlon


On 3/5/14 1:32 PM, Nadeem Anjum wrote:
> Hi Marlon,
>
> I had built with "mvn clean install -Dmaven.test.skip=true" itself. This
> skips the other tests, but still builds Airavata Integration tests.
>
> Moreover, I am building the 0.11 release, that should not have the recent
> changes right?
>
> Thanks,
> Nadeem
>
>
> On Wed, Mar 5, 2014 at 11:57 PM, Marlon Pierce <ma...@iu.edu> wrote:
>
>> Try "mvn clean install -Dmaven.test.skip=true" to skip the integration
>> tests.  Airavata is undergoing a lot of fundamental changes as we work
>> out the Thrift API, and this has broken many older tests.
>>
>>
>> Marlon
>>
>> On 3/5/14 1:13 PM, Nadeem Anjum wrote:
>>> 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
>>> <su...@gmail.com>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 <nadeem.cs.iit@gmail.com
>>> 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.allwas
>>>>> 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
>>>>
>>


Re: Error while building airavata

Posted by Marlon Pierce <ma...@iu.edu>.
I built from trunk, not 0.11.  Not sure why 0.11 would fail here. 


Marlon

On 3/5/14 1:32 PM, Nadeem Anjum wrote:
> Hi Marlon,
>
> I had built with "mvn clean install -Dmaven.test.skip=true" itself. This
> skips the other tests, but still builds Airavata Integration tests.
>
> Moreover, I am building the 0.11 release, that should not have the recent
> changes right?
>
> Thanks,
> Nadeem
>
>
> On Wed, Mar 5, 2014 at 11:57 PM, Marlon Pierce <ma...@iu.edu> wrote:
>
>> Try "mvn clean install -Dmaven.test.skip=true" to skip the integration
>> tests.  Airavata is undergoing a lot of fundamental changes as we work
>> out the Thrift API, and this has broken many older tests.
>>
>>
>> Marlon
>>
>> On 3/5/14 1:13 PM, Nadeem Anjum wrote:
>>> 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
>>> <su...@gmail.com>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 <nadeem.cs.iit@gmail.com
>>> 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.allwas
>>>>> 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
>>>>
>>


Re: Error while building airavata

Posted by Nadeem Anjum <na...@gmail.com>.
Hi Marlon,

I had built with "mvn clean install -Dmaven.test.skip=true" itself. This
skips the other tests, but still builds Airavata Integration tests.

Moreover, I am building the 0.11 release, that should not have the recent
changes right?

Thanks,
Nadeem


On Wed, Mar 5, 2014 at 11:57 PM, Marlon Pierce <ma...@iu.edu> wrote:

> Try "mvn clean install -Dmaven.test.skip=true" to skip the integration
> tests.  Airavata is undergoing a lot of fundamental changes as we work
> out the Thrift API, and this has broken many older tests.
>
>
> Marlon
>
> On 3/5/14 1:13 PM, Nadeem Anjum wrote:
> > 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
> > <su...@gmail.com>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 <nadeem.cs.iit@gmail.com
> >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.allwas
> >>> 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
> >>
>
>

Re: Error while building airavata

Posted by Marlon Pierce <ma...@iu.edu>.
Try "mvn clean install -Dmaven.test.skip=true" to skip the integration
tests.  Airavata is undergoing a lot of fundamental changes as we work
out the Thrift API, and this has broken many older tests.


Marlon

On 3/5/14 1:13 PM, Nadeem Anjum wrote:
> 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
> <su...@gmail.com>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 <na...@gmail.com>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
>>


Re: Error while building airavata

Posted by Nadeem Anjum <na...@gmail.com>.
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
<su...@gmail.com>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 <na...@gmail.com>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
>

Re: Error while building airavata

Posted by Supun Nakandala <su...@gmail.com>.
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 <na...@gmail.com>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