Return-Path: X-Original-To: apmail-airavata-dev-archive@www.apache.org Delivered-To: apmail-airavata-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DEF05187C1 for ; Tue, 26 May 2015 18:23:46 +0000 (UTC) Received: (qmail 77799 invoked by uid 500); 26 May 2015 18:23:46 -0000 Delivered-To: apmail-airavata-dev-archive@airavata.apache.org Received: (qmail 77748 invoked by uid 500); 26 May 2015 18:23:46 -0000 Mailing-List: contact dev-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list dev@airavata.apache.org Received: (qmail 77733 invoked by uid 99); 26 May 2015 18:23:46 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 May 2015 18:23:46 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 18F011A3448 for ; Tue, 26 May 2015 18:23:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.9 X-Spam-Level: *** X-Spam-Status: No, score=3.9 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, KAM_LIVE=1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 256_ij2v1VxD for ; Tue, 26 May 2015 18:23:37 +0000 (UTC) Received: from mail-ob0-f174.google.com (mail-ob0-f174.google.com [209.85.214.174]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 16E3620FEE for ; Tue, 26 May 2015 18:23:36 +0000 (UTC) Received: by obew15 with SMTP id w15so19647568obe.1 for ; Tue, 26 May 2015 11:22:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=/Hh07QEflucWDhzr99XdG96cc2n++E27Gfw9IQTo/PU=; b=LtV8xGmcrXjLFIUsLxrcq9okrbHG6HJ+ZivNgG8ggIBx+ZAONI3tpolIoaAtLzCjMs d8NAaz9KziWCRlJrWjF9SJ0WGps6TQtUDe1JGlDdJ3ftZVTqE73pt+/cW55pSEZowOBo iOdnEOA2Jh2HRAG/bM46sSI8oPkror72r4fzg5e5G0EdW5PGxlmtTuF1x/ReMfjeJF65 1EOdYAs1wcSQTnI0ApTmk1JRyDGdkyHEvJI7wcL8gueot/GhMI3duuCzwiN1Zxl/8wmj Q93fiWxn5317U7UJ4Cc1J1nEqKC72Rh+J5+XnhhQChdLAk8syBh3JQ4iOyLqoYFWtJWb hiow== X-Received: by 10.60.147.194 with SMTP id tm2mr22761780oeb.75.1432664570017; Tue, 26 May 2015 11:22:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.178.198 with HTTP; Tue, 26 May 2015 11:22:29 -0700 (PDT) In-Reply-To: References: From: Shameera Rathnayaka Date: Tue, 26 May 2015 14:22:29 -0400 Message-ID: Subject: Re: Running an XBaya experiment issue (api - 0.15.0) To: dev Content-Type: multipart/alternative; boundary=047d7b4184abc73daf0517003666 --047d7b4184abc73daf0517003666 Content-Type: text/plain; charset=UTF-8 Hi Mevan, With the latest improvements, XBaya is in out of date, We put some effort to get it back in action but again we lost XBaya compatibility with rapid code changes in latest trunk. If you like to try XBaya I would suggest try with Airavata 0.14 release code. here is the doc https://cwiki.apache.org/confluence/display/AIRAVATA/Tutorial+07+-+XBAYA+Quick-Start We removed wsdl functionality from XBaya because now airavata server doesn't have that functionality. The reason for "gateway ID sample is not exist", in samples we are registering applications under gateway id "sample" and that is the default gateway configured in $AIRAVATA_HOME/bin/airavata-server.properties file. Every request should associate with a valid gateway Id. When absent of gateway Id we use this default gateway Id. Above mentioned tutorials are now outdated. Those are not working with latest trunk. Thanks, Shameera. On Mon, May 25, 2015 at 12:39 PM, Mevan Alles wrote: > Hi Devs, > Need small help with few things. > > 1. > Submitting an XBaya experiment in local environment. > > For setting up the project I've referred to the tutorials found here [1], > [2] and the documents found on old email thread [3]. and I'm unable to > import a service wsdl as explained in there as I do not see an option in > XBaya UI to import a service from WSDL. Are the instructions different for > the newest build ? > > 2. > Using airavata-client-sdk/java-client-samples to launch an experiment > locally > > When setting up the registry from XBaya I used to see an error in server > console similar to > "gateway ID sample is not exist". > For the gateway ID error I've been playing around with java-client-samples > module in airavata-client-sdks and used createGateway() method to make a > gateway named "sample" and the error went away. > However createAndLaunchExp() method gives an error as follows. > > *[ERROR] Error while connecting with server* > *AiravataSystemException(airavataErrorType:INTERNAL_ERROR, message:Error > while saving compute resource. More info : > javax.persistence.NoResultException: Query "SELECT p FROM > ApplicationInterface p WHERE p.interfaceID =:param0" selected no result, > but expected unique result.)* > * at > org.apache.airavata.client.samples.CreateLaunchExperiment.createExperimentEchoForLocalHost(CreateLaunchExperiment.java:920)* > * at > org.apache.airavata.client.samples.CreateLaunchExperiment.createAndLaunchExp(CreateLaunchExperiment.java:180)* > * at > org.apache.airavata.client.samples.CreateLaunchExperiment.main(CreateLaunchExperiment.java:100)* > * at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)* > * at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)* > * at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)* > * at java.lang.reflect.Method.invoke(Method.java:497)* > * at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)* > > Prior to this I executed registerApplications() and copied over the > echoAppId from output of this when running createAndLaunchExp() > > Can somebody point me to the right direction ? > > My airavata-api server (p:8930) and rabbitmq-server (p:default) are > running locally and I'm using the latest code for build [commit - 86994f6]. > The only error in api-server console I see is > > *[ERROR] The Credential Store Server did not start!!!* > > > [1] - > https://airavata.apache.org/documentation/tutorials/airavata-in-10-minutes.html > > [2] - > https://airavata.apache.org/documentation/tutorials/airavata-in-5-minutes.html > > [3] - http://markmail.org/message/oklijjqipwzaepjh > > > Thanks, > Mevan > -- Best Regards, Shameera Rathnayaka. email: shameera AT apache.org , shameerainfo AT gmail.com Blog : http://shameerarathnayaka.blogspot.com/ --047d7b4184abc73daf0517003666 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi = Mevan,=C2=A0
With the lat= est improvements, XBaya is in out of date, We put some effort to get it bac= k in action but again we lost XBaya compatibility with rapid code changes i= n latest trunk. If you like to try XBaya I would suggest try with Airavata = 0.14 release code. here is the doc=C2=A0https://cwiki= .apache.org/confluence/display/AIRAVATA/Tutorial+07+-+XBAYA+Quick-Start=

We removed wsdl function= ality from XBaya because now airavata server doesn't have that function= ality.=C2=A0
The reason f= or "gateway ID sample is = not exist", in samples we are registering applications under gateway i= d "sample" and that is the default gateway configured in $AIRAVAT= A_HOME/bin/airavata-server.properties file. Every request should associate = with a valid gateway Id. When absent of gateway Id we use this default gate= way Id.=C2=A0

Abov= e mentioned tutorials are now outdated. Those are not working with latest t= runk.

Thanks,
Shameera.


On Mon, May 25, 2015 at 12:39 PM, Mev= an Alles <mevan.alles@gmail.com> wrote:
Hi Devs,=C2=A0
Need small help with few things.

1.=C2=A0
Submitting an XBaya experiment in= local environment.=C2=A0

For setting up the proje= ct I've referred to the tutorials found here [1], [2] and the documents= found on old email thread [3]. and I'm unable to import a service wsdl= as explained in there as I do not see an option in XBaya UI to import a se= rvice from WSDL.=C2=A0Are the instructions different for the newest build ?= =C2=A0=C2=A0

2.
Using airavata-client-sd= k/java-client-samples to launch an experiment locally

<= div>When setting up the registry from XBaya I used to see an error in serve= r console similar to
"gateway ID sample is not exist".= =C2=A0
For the gateway ID error I've been playing around= with java-client-samples module in airavata-client-sdks and used=C2=A0crea= teGateway() method to make a gateway named "sample" and the error= went away. However=C2=A0createAndLaunchExp() method gives an error as foll= ows.

AiravataSystemException(airavataErrorType:= INTERNAL_ERROR, message:Error while saving compute resource. More info : ja= vax.persistence.NoResultException: Query "SELECT p FROM ApplicationInt= erface p WHERE p.interfaceID =3D:param0" selected no result, but expec= ted unique result.)
at org.apache.airavata.cl= ient.samples.CreateLaunchExperiment.createExperimentEchoForLocalHost(Create= LaunchExperiment.java:920)
at org.apache.aira= vata.client.samples.CreateLaunchExperiment.createAndLaunchExp(CreateLaunchE= xperiment.java:180)
at org.apache.airavata.cl= ient.samples.CreateLaunchExperiment.main(CreateLaunchExperiment.java:100)
at sun.reflect.NativeMethodAccessorImpl.invoke= 0(Native Method)
<= b> at sun.reflect.NativeMethodA= ccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
<= font face=3D"monospace, monospace">= at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod= AccessorImpl.java:43)
at java.lang.reflect.Me= thod.invoke(Method.java:497)
at com.intellij.= rt.execution.application.AppMain.main(AppMain.java:140)

Prior to this I executed registerApplications() and = copied over the echoAppId from output of this when running createAndLaunchE= xp()=C2=A0

Can somebody point me to the right dire= ction ?=C2=A0

My airavata-api server (p:8930) and = rabbitmq-server (p:default) are running locally and I'm using the lates= t code for build [commit -=C2=A086994f6]. The only error in api-server co= nsole I see is=C2=A0

[ERROR] The Credential Store Server did not start!!!




Th= anks,
Mevan=C2=A0



--
Best Regards,
Shameera Rathnayaka.

email: shameera AT apache.org , shameerainfo AT gmail.com
Blog : http://shameerarathnayaka.blogspot.com/
--047d7b4184abc73daf0517003666--