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 49E1011E6D for ; Tue, 23 Sep 2014 13:13:17 +0000 (UTC) Received: (qmail 73001 invoked by uid 500); 23 Sep 2014 13:13:16 -0000 Delivered-To: apmail-airavata-dev-archive@airavata.apache.org Received: (qmail 72901 invoked by uid 500); 23 Sep 2014 13:13:16 -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 72879 invoked by uid 99); 23 Sep 2014 13:13:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Sep 2014 13:13:16 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kamalasini@gmail.com designates 209.85.217.181 as permitted sender) Received: from [209.85.217.181] (HELO mail-lb0-f181.google.com) (209.85.217.181) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Sep 2014 13:12:50 +0000 Received: by mail-lb0-f181.google.com with SMTP id b6so3395066lbj.26 for ; Tue, 23 Sep 2014 06:12:49 -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 :cc:content-type; bh=AzmDo8WmdK89FVdfBwSJD/RxdtXdFjM30XcmZMx8L6A=; b=oN3DhXPUCEyKqBcXNB45QGLJBHit4JfMHEv1HXWj3cL5PQ/yxrPKkYHmS7bpiwxwE9 eFeZSnXCinzJd97pfCYyEd7JmKPLt5+CXN41K8DmYT7Q5fUJnjd63orlNT93Rvy1S1LY hvBriGvRNO0Puq4+fwxiuQrJFbskJYCbKlKjhJ/6C4SS8hkm3ViY65LIbWYkrFcrqjao bNm2tm56UZMSwDF0Q+sngguW6l8mQizxT1fw3aImBDgZ5e9Tlb6x4Sucd7RP9DrrAG9L UUUypJQUTeJkEjFTn0JbGQxs9FX1yA1V+s2cbnglO0LA/CfN8JJJlMc5kxd/8QOcqN+d qFlQ== X-Received: by 10.112.53.230 with SMTP id e6mr2956839lbp.100.1411477969499; Tue, 23 Sep 2014 06:12:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.188.72 with HTTP; Tue, 23 Sep 2014 06:12:29 -0700 (PDT) In-Reply-To: References: From: Chathuri Wimalasena Date: Tue, 23 Sep 2014 09:12:29 -0400 Message-ID: Subject: Re: [Dev] Unable to start Airavata after the source build To: dev@airavata.apache.org Cc: Saminda Wijerathna , Shameera Rathnayaka Content-Type: multipart/alternative; boundary=001a11c3c96cfb0b120503bb521c X-Virus-Checked: Checked by ClamAV on apache.org --001a11c3c96cfb0b120503bb521c Content-Type: text/plain; charset=UTF-8 Hi Ishara, Are you using trunk to run the CreateLaunchExperiment class ? In trunk, we update registerApplication() method to save localhost as well. Here are the steps that you need to do if you are using that class. 1. Start with a fresh airavata database (if you are using derby, remove persistent_data and app_catalog directories from bin folder) 2. Run CreateLaunchExperiment with registerApplications() method only for the first time. Then it will print you compute resource ids, deployement ids and app interface ids. 3. Copy appropriate app-interface ids for the parameters of "echoAppId", "amberAppId" and 'wrfAppId'. Then uncomment createExperimentForLocalHost() method and launchExperiment() method. Now it should run using localhost. Let me know if you face any issues. Thanks. Chathuri On Tue, Sep 23, 2014 at 12:00 AM, ishara premadasa wrote: > Hi Saminda, > > Thanks a lot for the inputs. I have been trying through the suggestions > you have given above however there are still some roadblocks when getting > Airavata samples working back. Here are few of the things i noticed. > > 1. At the time of Airavata server start there are following error log can > be seen several time as 'Address already in use'. But server still starts > fine. > > [INFO] Finished starting ZK: State:CONNECTED Timeout:6000 > sessionid:0x148a04560ce0000 local:/127.0.0.1:57593 remoteserver:localhost/ > 127.0.0.1:2181 lastZxid:22 xid:7 sent:8 recv:7 queuedpkts:0 pendingresp:0 > queuedevents:0 > Mon Sep 22 22:09:37 EDT 2014 : Could not listen on port 1527 on host > 0.0.0.0: > java.net.BindException: Address already in use > [INFO] Database already created for Registry! > > 2. In tutorial it says to load the math-service-workflow from WSDL URI, > but the GUI has no menu option for it. > > 3. Tried to run CreateLaunchExperiment class from IDE and register > applications programmatically, but those are not getting registered under > localhost. I tried with registering echo module under localhost, but got > stuck with the below error in middle. > > InvalidRequestException(message:Experiment > 'echoExperiment_0102904b-7266-4cb5-ad1d-7fa3709393b3' launch failed. Unable > to figureout execution type for application > SimpleEcho3_b81c2559-a088-42a3-84ce-40119d874918) > at > org.apache.airavata.client.samples.CreateLaunchExperiment.launchExperiment(CreateLaunchExperiment.java:824) > at > org.apache.airavata.client.samples.CreateLaunchExperiment.main(CreateLaunchExperiment.java:83) > > I am very happy to contribute in getting the tutorials back to track with > the 0.14 release. Please advice if i need to create a doc JIRA for this. > However as i feel we will have to first fix these issues to get the samples > running. > > Thanks! > Ishara > > > On Wed, Sep 3, 2014 at 12:15 AM, Saminda Wijeratne > wrote: > >> hi Ishara, >> >> The quickstart tutorial is out of date as of last 2 releases. You're >> welcome to create a JIRA to discuss updates to the tutorial. >> >> XBaya as a client was discontinued since 0.12 Airavata release due to >> major architectural and design changes that incurred in the Airavata Server >> (in short the scope of the features, the internal component architecture, >> data models, the API and the service layer for the API changed). >> >> For 0.14 release we are targeting on a minimum functionality XBaya GUI >> client that can compose/register/launch workflows (perhaps more). >> Even-though the XBaya maven module (which you've mentioned) is present in >> the trunk, the actual maven module which creates the XBaya GUI binary >> distribution is not yet present in the trunk. You are welcome to create >> JIRA and provide patches to introduce this module back to the trunk. You >> may refer a previous revision of Airavata source (before 0.12 release). >> >> IMO for the time being simplest solution to run the XBaya GUI is by >> executing the org.apache.airavata.xbaya.XBaya class through the IDE. >> >> >> >> On Tue, Sep 2, 2014 at 10:17 PM, ishara premadasa >> wrote: >> >>> Hi Devs, >>> >>> I have been trying to build Airavata from the source code using git >>> repository [1] and after successfully building i tried to run Airavata >>> server and GUI as mentioned in the tutorial here [2]. The Airavata server >>> starts fine but when going to start Xbaya GUI using 'xbaya-gui.sh' as the >>> tutorial says i could notice that it has not been generated there in >>> Airavata_HOME/modules/xbaya-gui/bin directory. >>> >>> Is there anything missing in the source build (0.14-SNAPSHOT) or am i >>> referring to a wrong location to find this script? May i please know how to >>> overcome this issue and get the GUI running. >>> >>> Thanks! >>> Ishara >>> >>> [1] https://github.com/apache/airavata >>> [2] https://airavata.apache.org/documentation/quickstart-tutorials.html >>> >>> -- >>> *Best Regards.* >>> >>> *Ishara Premadasa,* >>> http://isharapremadasa.blogspot.com >>> >>> >>> >> > > > -- > *Best Regards.* > > *Ishara Premadasa,* > http://isharapremadasa.blogspot.com > > > --001a11c3c96cfb0b120503bb521c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Ishara,=C2=A0

Are you using trunk to= run the CreateLaunchExperiment class ? In trunk, we update registerApplica= tion() method to save localhost as well. Here are the steps that you need t= o do if you are using that class.=C2=A0

1. Start w= ith a fresh airavata database (if you are using derby, remove persistent_da= ta and app_catalog directories from bin folder)
2. Run CreateLaun= chExperiment with registerApplications() method only for the first time. Th= en it will print you compute resource ids, deployement ids and app interfac= e ids.=C2=A0
3. Copy appropriate app-interface ids for the parame= ters of "echoAppId", "amberAppId" and 'wrfAppId'= ;. Then uncomment createExperimentForLocalHost() method and=C2=A0launchExpe= riment() method. Now it should run using localhost.=C2=A0

Let me know if you face any issues.=C2=A0

= Thanks.
Chathuri

On Tue, Sep 23, 2014 at 12:00 AM, ishara premadasa <idpremadasa@gmail.com> wrote:
Hi Saminda,
Thanks a lot for the inputs. I have been trying through the suggest= ions you have given above however there are still some roadblocks when gett= ing Airavata samples working back. Here are few of the things i noticed.
1. At the time of Airavata server start there are following erro= r log can be seen several time as 'Address already in use'. But ser= ver still starts fine.

[INFO] Finished starting ZK: State:CONNECTED = Timeout:6000 sessionid:0x148a04560ce0000 local:/127.0.0.1:57593 remoteserver:localhost/127.0.0.1:2181 lastZxid:2= 2 xid:7 sent:8 recv:7 queuedpkts:0 pendingresp:0 queuedevents:0
Mon Sep = 22 22:09:37 EDT 2014 : Could not listen on port 1527 on host 0.0.0.0:
=C2=A0java.net.BindException= : Address already in use
[INFO] Database already created for Registry!
2. In tutorial it says to load the math-service-workflow from W= SDL URI, but the GUI has no menu option for it.

3. Tried to ru= n CreateLaunchExperiment class from IDE and register applications programma= tically, but those are not getting registered under localhost. I tried with= registering echo module under localhost, but got stuck with the below erro= r in middle.

InvalidRequestException(message:Experiment 'echoExp= eriment_0102904b-7266-4cb5-ad1d-7fa3709393b3' launch failed. Unable to = figureout execution type for application SimpleEcho3_b81c2559-a088-42a3-84c= e-40119d874918)
=C2=A0=C2=A0=C2=A0 at org.apache.airavata.client.samples= .CreateLaunchExperiment.launchExperiment(CreateLaunchExperiment.java:824)=C2=A0=C2=A0=C2=A0 at org.apache.airavata.client.samples.CreateLaunchExpe= riment.main(CreateLaunchExperiment.java:83)

I am very happy to= contribute in getting the tutorials back to track with the 0.14 release. P= lease advice if i need to create a doc JIRA for this. However as i feel we = will have to first fix these issues to get the samples running.

Thanks!
<= /div>Ishara


On Wed, Sep 3, 2014 at 12:15 AM, Saminda Wijeratne <samind= aw@gmail.com> wrote:
hi Ishara,

The quickstart tutor= ial is out of date as of last 2 releases. You're welcome to create a JI= RA to discuss updates to the tutorial.

XBaya as a client was discontinued since 0.12 Airavata release du= e to major architectural and design changes that incurred in the Airavata S= erver (in short the scope of the features, the internal component architect= ure, data models, the API and the service layer for the API changed).

For 0.14 release we are targeting on a minimum functionality XBay= a GUI client that can compose/register/launch workflows (perhaps more). Eve= n-though the XBaya maven module (which you've mentioned) is present in = the trunk, the actual maven module which creates the XBaya GUI binary distr= ibution is not yet present in the trunk. You are welcome to create JIRA and= provide patches to introduce this module back to the trunk. You may refer = a previous revision of Airavata source (before 0.12 release).

IMO for the time being simplest solution to run the XBaya GUI is = by executing=C2=A0 the org.apache.airavata.xbaya.XBaya class through the I= DE.



On Tue, Sep 2, 2014 at 10:17 PM, ishara premadasa <idpremadasa@gmail.c= om> wrote:
Hi Devs,

I have been trying to build Airavata from the sourc= e code using git repository [1] and after successfully building i tried to = run Airavata server and GUI as mentioned in the tutorial here [2]. The Aira= vata server starts fine but when going to start Xbaya GUI using 'xbaya-= gui.sh' as the tutorial says i could notice that it has not been genera= ted there in Airavata_HOME/modules/xbaya-gui/bin directory.

Is there anything missing in the source build (0.14-SNAPSHOT) or = am i referring to a wrong location to find this script? May i please know h= ow to overcome this issue and get the GUI running.




--
Best Regards.<= /div>

Isha= ra Premadasa,




--001a11c3c96cfb0b120503bb521c--