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 A4B3F1899F for ; Tue, 26 May 2015 19:02:06 +0000 (UTC) Received: (qmail 13378 invoked by uid 500); 26 May 2015 19:02:03 -0000 Delivered-To: apmail-airavata-dev-archive@airavata.apache.org Received: (qmail 13331 invoked by uid 500); 26 May 2015 19:02:03 -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 13321 invoked by uid 99); 26 May 2015 19:02:03 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 May 2015 19:02:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id D074AC8DB3 for ; Tue, 26 May 2015 19:02:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-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: spamd1-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 (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id p6eSJgf0p_N4 for ; Tue, 26 May 2015 19:01:48 +0000 (UTC) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id C8C5524A5F for ; Tue, 26 May 2015 19:01:47 +0000 (UTC) Received: by wifw1 with SMTP id w1so42126695wif.0 for ; Tue, 26 May 2015 12:01:02 -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=nWg5Xn8YIt33E50XBotoSZ+TNR5ATQX9G0or8DMSt9M=; b=vHU+NDzS3qD294tvqMkLSASgp9D0QuAppnf1aN0JvdTDZvigIaWlgPK7K8Hc2JelRx ICEQ8hgp+JJyrXeWJxtFMHdjyaTmhcDVynrv1uB6wFlvO4tQfycTndyv8nTNY9UrEPFc P4uiO8QATaY6Ny75m0MDnsZBBNTruTms6F3taIDPxauy0V9/ROGK9cnfbGDApc6H/qrX Qew0K80jVOkh3o9GGjNbeKp5cijoFOhRbeiehfVTZ8pVXXzKVACy708mfdLR5X0L8865 RVaeqRKwrQUV4BbqNky4o4Ev/VvVRi/8G4CyuV832NtXfh186uX0L6vHej7AAGnJFRKf lcGw== X-Received: by 10.194.77.211 with SMTP id u19mr6175916wjw.19.1432666862496; Tue, 26 May 2015 12:01:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.214.200 with HTTP; Tue, 26 May 2015 12:00:41 -0700 (PDT) In-Reply-To: <816DB786-6E99-4C94-A774-77345BDC61CE@apache.org> References: <5D8EAB79-5A3E-4125-ACE1-3DA192799C71@iu.edu> <816DB786-6E99-4C94-A774-77345BDC61CE@apache.org> From: Eroma Abeysinghe Date: Tue, 26 May 2015 15:00:41 -0400 Message-ID: Subject: Re: Running an XBaya experiment issue (api - 0.15.0) To: dev@airavata.apache.org Content-Type: multipart/alternative; boundary=047d7bf0c5986bb106051700bfff --047d7bf0c5986bb106051700bfff Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi All, Tutorial on using PGA exists in https://cwiki.apache.org/confluence/display/AIRAVATA/Tutorial+06+-+PHP+Refe= rence+Gateway+for+Airavata+-+PGA+User+Guide This tutorial will provide steps to experience PGA in the capacity of a basic gateway user. Thanks, Eroma On Tue, May 26, 2015 at 2:56 PM, Suresh Marru wrote: > Hi All, > > I think we have two topics: > > + 1 on updating the tutorials to use the the web interfaces (PGA). > > On larger issues of XBaya, I will start a discussion of features we need > to support in 1.0, but I think we have to support XBaya as the compositio= n > interface only and use PGA as the launch and monitoring interface. But > given Workflow engine itself has been turbulent, we probably should say > workflow is not production ready and only focus on stabilizing the job > submission API=E2=80=99s and all components for 1.0. But I will hold on d= etails > discussion onto other threads. > > Suresh > > > On May 26, 2015, at 2:45 PM, Shameera Rathnayaka > wrote: > > Hi Sudhakar, > > Our plan is to migrate to a web based GUI instead of updating XBaya(which > requires lot of refactoring) to support latest changes. But it is good to > make XBaya also works for simple applications as develop a new web base G= UI > requires more time. We should discuss and finalize this before our 1.0 > release. > > Thanks, > Shameera. > > > On Tue, May 26, 2015 at 2:30 PM, Pamidighantam, Sudhakar > wrote: > >> Shameera: >> Is there a plan to update XBaya anytime soon to make it compatible with >> Airavata server and update the document accordingly. >> >> Thanks, >> Sudhakar. >> >> On May 26, 2015, at 1:22 PM, Shameera Rathnayaka >> wrote: >> >> 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 wi= th >> 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 defau= lt >> 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 unabl= e to >>> import a service wsdl as explained in there as I do not see an option i= n >>> 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 createGatew= ay() >>> 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:Erro= r >>> while saving compute resource. More info : >>> javax.persistence.NoResultException: Query "SELECT p FROM >>> ApplicationInterface p WHERE p.interfaceID =3D:param0" selected no resu= lt, >>> but expected unique result.)* >>> *at >>> org.apache.airavata.client.samples.CreateLaunchExperiment.createExperim= entEchoForLocalHost(CreateLaunchExperiment.java:920)* >>> *at >>> org.apache.airavata.client.samples.CreateLaunchExperiment.createAndLaun= chExp(CreateLaunchExperiment.java:180)* >>> *at >>> org.apache.airavata.client.samples.CreateLaunchExperiment.main(CreateLa= unchExperiment.java:100)* >>> *at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)* >>> *at >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja= va:62)* >>> *at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso= rImpl.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-minu= tes.html >>> >>> >>> [2] - >>> https://airavata.apache.org/documentation/tutorials/airavata-in-5-minut= es.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/ >> >> >> >> > > > -- > Best Regards, > Shameera Rathnayaka. > > email: shameera AT apache.org , shameerainfo AT gmail.com > Blog : http://shameerarathnayaka.blogspot.com/ > > > --=20 Thank You, Best Regards, Eroma --047d7bf0c5986bb106051700bfff Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi All,

Tutorial on using PGA exists in= =C2=A0

= This tutorial will provide steps to experience PGA in the capacity of a bas= ic gateway user.

Thanks,
Eroma


On Tue,= May 26, 2015 at 2:56 PM, Suresh Marru <smarru@apache.org> w= rote:
Hi All,

I think we have two topics:

+ 1 on updating the tutorials to use the the web interfaces (PGA).

On larger issues of XBaya, I will start a discussion= of features we need to support in 1.0, but I think we have to support XBay= a as the composition interface only and use PGA as the launch and monitorin= g interface. But given Workflow engine itself has been turbulent, we probab= ly should say workflow is not production ready and only focus on stabilizin= g the job submission API=E2=80=99s and all components for 1.0. But I will h= old on details discussion onto other threads.=C2=A0

Suresh
=
=C2=A0
O= n May 26, 2015, at 2:45 PM, Shameera Rathnayaka <shameerainfo@gmail.com> wrote:<= /div>
Hi Sudhakar,=C2=A0

Our plan is to migrate to a web based GUI instead of updating XBaya(wh= ich requires lot of refactoring) to support latest changes. But it is good = to make XBaya also works for simple applications as develop a new web base = GUI requires more time.=C2=A0 We should discuss and finalize this before ou= r 1.0 release.
=
Thanks,
Shameera.


On Tue, May 26, 2015 at 2:3= 0 PM, Pamidighantam, Sudhakar <pamidigs@iu.edu> wrote:
Shameera:
Is there a plan to update XBaya anytime soon to make it compatible with Air= avata server and update the document accordingly.=C2=A0

Thanks,
Sudhakar.

On May 26, 2015, at 1:22 PM, Shameera Rathnayaka <shameerainfo@gmail.com> w= rote:

Hi Mevan,=C2=A0

With the latest improvements, XBaya is in ou= t of date, We put some effort to get it back in action but again we lost XB= aya compatibility with rapid code changes in latest trunk. If you like to t= ry 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 functionality from XBaya bec= ause now airavata server doesn't have that functionality.=C2=A0

The reason for "gateway ID sample is not exist", in samples we a= re registering applications under gateway id "sample" and that is= the default gateway configured in $AIRAVATA_HOME/bin/airavata-server.properties file. Every request should a= ssociate with a valid gateway Id. When absent of gateway Id we use this def= ault gateway Id.=C2=A0

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 <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 project I've referred to the tutorials found he= re [1], [2] and the documents found on old email thread [3]. and I'm un= able to import a service wsdl as explained in there as I do not see an opti= on in XBaya UI to import a service from WSDL.=C2=A0Are the instructions different for the newest build ?=C2=A0=C2= =A0

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 serv= er 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=A0createGateway() metho= d to make a gateway named "sample" and the error went away. Howev= er=C2=A0createAndLaunchExp() method gives an error as follows.

[ERROR] Error while connecting = with server
AiravataSystemException(airavat= aErrorType:INTERNAL_ERROR, message:Error while saving compute resource. Mor= e info : javax.persistence.NoResultException: Query "SELECT p FROM App= licationInterface p WHERE p.interfaceID =3D:param0" selected no result, but expected unique result.)
at org.apache.airavata.client.samples.CreateLaunchExperiment.c= reateExperimentEchoForLocalHost(CreateLaunchExperiment.java:920)=
at org.apache.airavata.client.samples.CreateLaunchExperiment.c= reateAndLaunchExp(CreateLaunchExperiment.java:180)
at org.apache.airavata.client.samples.CreateLaunchExperiment.m= ain(CreateLaunchExperiment.java:100)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)=
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcc= essorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingM= ethodAccessorImpl.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 ec= hoAppId from output of this when running createAndLaunchExp()=C2=A0

Can somebody point me to the right direction ?=C2=A0

My airavata-api server (p:8930) and rabbitmq-server (p:default) are ru= nning locally and I'm using the latest code for build [commit -=C2=A086994f6]. The onl= y error in api-server console I see is=C2=A0

[ERROR] The Credential Store Se= rver did not start!!!




Thanks,
Mevan=C2=A0



--
Best Re= gards,
Shameera Rat= hnayaka.

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




--
Best Re= gards,
Sha= meera Rathnayaka.

email: shameera AT apache.org , shameerainfo AT gmail.com
Bl= og : http://sham= eerarathnayaka.blogspot.com/



--
Thank You= ,
Best Regards,
Eroma
--047d7bf0c5986bb106051700bfff--